1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
212 #define SWIGTYPE_p_wxRealPoint swig_types[1]
213 #define SWIGTYPE_p_wxSizerItem swig_types[2]
214 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
215 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
216 #define SWIGTYPE_p_wxEventLoop swig_types[5]
217 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
218 #define SWIGTYPE_p_wxSizer swig_types[7]
219 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
220 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
221 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
222 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
223 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
224 #define SWIGTYPE_p_wxMenu swig_types[13]
225 #define SWIGTYPE_p_wxEvent swig_types[14]
226 #define SWIGTYPE_p_wxGridSizer swig_types[15]
227 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
228 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
229 #define SWIGTYPE_p_wxItemContainer swig_types[18]
230 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
231 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
232 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
233 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
234 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
235 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
236 #define SWIGTYPE_p_wxControl swig_types[25]
237 #define SWIGTYPE_p_wxFont swig_types[26]
238 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
239 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
240 #define SWIGTYPE_p_wxFSFile swig_types[29]
241 #define SWIGTYPE_p_wxCaret swig_types[30]
242 #define SWIGTYPE_p_wxRegion swig_types[31]
243 #define SWIGTYPE_p_wxPoint2D swig_types[32]
244 #define SWIGTYPE_p_int swig_types[33]
245 #define SWIGTYPE_p_wxSize swig_types[34]
246 #define SWIGTYPE_p_wxDC swig_types[35]
247 #define SWIGTYPE_p_wxPySizer swig_types[36]
248 #define SWIGTYPE_p_wxVisualAttributes swig_types[37]
249 #define SWIGTYPE_p_wxNotifyEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyEvent swig_types[39]
251 #define SWIGTYPE_p_wxPropagationDisabler swig_types[40]
252 #define SWIGTYPE_p_wxAppTraits swig_types[41]
253 #define SWIGTYPE_p_wxArrayString swig_types[42]
254 #define SWIGTYPE_p_wxShowEvent swig_types[43]
255 #define SWIGTYPE_p_wxToolTip swig_types[44]
256 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
257 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
258 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
259 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
260 #define SWIGTYPE_p_wxMaximizeEvent swig_types[49]
261 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[50]
262 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[51]
263 #define SWIGTYPE_p_wxIdleEvent swig_types[52]
264 #define SWIGTYPE_p_wxMenuItem swig_types[53]
265 #define SWIGTYPE_p_wxStaticBox swig_types[54]
266 #define SWIGTYPE_p_long swig_types[55]
267 #define SWIGTYPE_p_wxTIFFHandler swig_types[56]
268 #define SWIGTYPE_p_wxXPMHandler swig_types[57]
269 #define SWIGTYPE_p_wxPNMHandler swig_types[58]
270 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
271 #define SWIGTYPE_p_wxPCXHandler swig_types[60]
272 #define SWIGTYPE_p_wxGIFHandler swig_types[61]
273 #define SWIGTYPE_p_wxPNGHandler swig_types[62]
274 #define SWIGTYPE_p_wxANIHandler swig_types[63]
275 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[64]
276 #define SWIGTYPE_p_wxEvtHandler swig_types[65]
277 #define SWIGTYPE_p_wxCURHandler swig_types[66]
278 #define SWIGTYPE_p_wxICOHandler swig_types[67]
279 #define SWIGTYPE_p_wxBMPHandler swig_types[68]
280 #define SWIGTYPE_p_wxImageHandler swig_types[69]
281 #define SWIGTYPE_p_wxFileSystemHandler swig_types[70]
282 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
283 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
284 #define SWIGTYPE_p_wxZipFSHandler swig_types[73]
285 #define SWIGTYPE_p_wxRect swig_types[74]
286 #define SWIGTYPE_p_wxGBSpan swig_types[75]
287 #define SWIGTYPE_p_wxPropagateOnce swig_types[76]
288 #define SWIGTYPE_p_wxAcceleratorTable swig_types[77]
289 #define SWIGTYPE_p_char swig_types[78]
290 #define SWIGTYPE_p_wxGBPosition swig_types[79]
291 #define SWIGTYPE_p_wxImage swig_types[80]
292 #define SWIGTYPE_p_wxFrame swig_types[81]
293 #define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
294 #define SWIGTYPE_p_wxImageHistogram swig_types[83]
295 #define SWIGTYPE_p_byte swig_types[84]
296 #define SWIGTYPE_p_wxPoint swig_types[85]
297 #define SWIGTYPE_p_wxCursor swig_types[86]
298 #define SWIGTYPE_p_wxObject swig_types[87]
299 #define SWIGTYPE_p_wxPyInputStream swig_types[88]
300 #define SWIGTYPE_p_wxOutputStream swig_types[89]
301 #define SWIGTYPE_p_wxInputStream swig_types[90]
302 #define SWIGTYPE_p_wxDateTime swig_types[91]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
304 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
305 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[94]
306 #define SWIGTYPE_p_wxWindow swig_types[95]
307 #define SWIGTYPE_p_wxMenuBar swig_types[96]
308 #define SWIGTYPE_p_wxFileSystem swig_types[97]
309 #define SWIGTYPE_p_wxBitmap swig_types[98]
310 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
311 #define SWIGTYPE_p_wxContextMenuEvent swig_types[100]
312 #define SWIGTYPE_p_unsigned_char swig_types[101]
313 #define SWIGTYPE_p_wxCloseEvent swig_types[102]
314 #define SWIGTYPE_p_wxEraseEvent swig_types[103]
315 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
316 #define SWIGTYPE_p_wxPyApp swig_types[105]
317 #define SWIGTYPE_p_wxCommandEvent swig_types[106]
318 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
319 #define SWIGTYPE_p_wxPyDropTarget swig_types[108]
320 #define SWIGTYPE_p_wxQuantize swig_types[109]
321 #define SWIGTYPE_p_wxChildFocusEvent swig_types[110]
322 #define SWIGTYPE_p_wxFocusEvent swig_types[111]
323 #define SWIGTYPE_p_wxDropFilesEvent swig_types[112]
324 #define SWIGTYPE_p_wxControlWithItems swig_types[113]
325 #define SWIGTYPE_p_wxColour swig_types[114]
326 #define SWIGTYPE_p_wxValidator swig_types[115]
327 #define SWIGTYPE_p_wxPyValidator swig_types[116]
328 static swig_type_info
*swig_types
[118];
330 /* -------- TYPES TABLE (END) -------- */
333 /*-----------------------------------------------
334 @(target):= _core_.so
335 ------------------------------------------------*/
336 #define SWIG_init init_core_
338 #define SWIG_name "_core_"
340 /* Auxiliar swig macros that appear in the header */
342 #define SWIG_OLDOBJ 1
343 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
344 #define SWIG_PYSTR SWIG_NEWOBJ + 1
347 #define SWIGSTATICINLINE(a) static inline a
348 #define SWIGSTATIC(a) static a
349 #define swig_new_array(size,Type) (new Type[(size)])
350 #define swig_delete(cptr) delete cptr
351 #define swig_delete_array(cptr) delete[] cptr
352 #define swig_const_cast(a,Type) const_cast<Type >(a)
353 #define swig_static_cast(a,Type) static_cast<Type >(a)
354 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
355 #define swig_new_copy(ptr,Type) (new Type(*ptr))
356 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
360 #define SWIGSTATICINLINE(a) static a
361 #define SWIGSTATIC(a) static a
362 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
363 #define swig_delete(cptr) free((char*)cptr)
364 #define swig_delete_array(cptr) free((char*)cptr)
365 #define swig_const_cast(a,Type) (Type)(a)
366 #define swig_static_cast(a,Type) (Type)(a)
367 #define swig_reinterpret_cast(a,Type) (Type)(a)
368 #define swig_numeric_cast(a,Type) (Type)(a)
369 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
371 #endif /* __cplusplus */
374 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
375 #define SWIG_From_signed_SS_char PyInt_FromLong
377 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
378 #define SWIG_From_unsigned_SS_char PyInt_FromLong
380 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
381 #define SWIG_From_short PyInt_FromLong
383 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
384 #define SWIG_From_unsigned_SS_short PyInt_FromLong
386 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
387 #define SWIG_From_int PyInt_FromLong
389 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
390 #define SWIG_From_long PyInt_FromLong
392 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
393 #define SWIG_From_float PyFloat_FromDouble
395 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
396 #define SWIG_From_double PyFloat_FromDouble
400 #include "wx/wxPython/wxPython_int.h"
401 #include "wx/wxPython/pyclasses.h"
404 #ifndef wxPyUSE_EXPORT
405 // Helper functions for dealing with SWIG objects and such. These are
406 // located here so they know about the SWIG types and functions declared
407 // in the wrapper code.
409 #include <wx/hashmap.h>
410 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
413 // Maintains a hashmap of className to swig_type_info pointers. Given the
414 // name of a class either looks up the type info in the cache, or scans the
415 // SWIG tables for it.
416 extern PyObject
* wxPyPtrTypeMap
;
418 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
420 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
422 if (typeInfoCache
== NULL
)
423 typeInfoCache
= new wxPyTypeInfoHashMap
;
425 wxString
name(className
);
426 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
429 // it wasn't in the cache, so look it up from SWIG
430 name
.Append(wxT(" *"));
431 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
433 // if it still wasn't found, try looking for a mapped name
438 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
439 (char*)(const char*)name
.mbc_str())) != NULL
) {
440 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
441 name
.Append(wxT(" *"));
442 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
446 // and add it to the map if found
447 (*typeInfoCache
)[className
] = swigType
;
454 // Check if a class name is a type known to SWIG
455 bool wxPyCheckSwigType(const wxChar
* className
) {
457 swig_type_info
* swigType
= wxPyFindSwigType(className
);
458 return swigType
!= NULL
;
462 // Given a pointer to a C++ object and a class name, construct a Python proxy
464 PyObject
* wxPyConstructObject(void* ptr
,
465 const wxChar
* className
,
468 swig_type_info
* swigType
= wxPyFindSwigType(className
);
469 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
471 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
475 // Extract a pointer to the wrapped C++ object from a Python proxy object.
476 // Ensures that the proxy object is of the specified (or derived) type. If
477 // not able to perform the conversion then a Python exception is set and the
478 // error should be handled properly in the caller. Returns True on success.
479 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
480 const wxChar
* className
) {
482 swig_type_info
* swigType
= wxPyFindSwigType(className
);
483 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
485 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
489 // Make a SWIGified pointer object suitable for a .this attribute
490 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
492 PyObject
* robj
= NULL
;
494 swig_type_info
* swigType
= wxPyFindSwigType(className
);
495 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
497 #ifdef SWIG_COBJECT_TYPES
498 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
504 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
505 strcpy(r
, swigType
->name
);
506 robj
= PyString_FromString(result
);
516 // Export a C API in a struct. Other modules will be able to load this from
517 // the wx._core_ module and will then have safe access to these functions,
518 // even if they are located in another shared library.
519 static wxPyCoreAPI API
= {
521 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
522 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
523 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
524 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
525 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
526 (p_SWIG_Python_TypePrettyName_t
)SWIG_Python_TypePrettyName
,
527 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
528 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
529 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
530 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
531 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
532 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
533 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
534 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
535 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
536 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
537 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
538 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
545 wxPyBeginAllowThreads
,
547 wxPyBeginBlockThreads
,
561 wxBitmap_LIST_helper
,
562 wxString_LIST_helper
,
563 wxAcceleratorEntry_LIST_helper
,
572 wxPySimple_typecheck
,
575 wxPyCBH_setCallbackInfo
,
576 wxPyCBH_findCallback
,
577 wxPyCBH_callCallback
,
578 wxPyCBH_callCallbackObj
,
586 wxArrayString2PyList_helper
,
587 wxArrayInt2PyList_helper
,
591 wxPyOORClientData_dtor
,
593 wxPyCBInputStream_create
,
596 wxPySwigInstance_Check
,
606 enum wxHotkeyModifier
614 #define wxEVT_HOTKEY 9999
617 static const wxString
wxPyEmptyString(wxEmptyString
);
618 wxString
wxObject_GetClassName(wxObject
*self
){
619 return self
->GetClassInfo()->GetClassName();
621 void wxObject_Destroy(wxObject
*self
){
626 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
633 SWIGSTATICINLINE(int)
634 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
637 if (value
< min_value
) {
639 PyErr_Format(PyExc_OverflowError
,
640 "value %ld is less than '%s' minimum %ld",
641 value
, errmsg
, min_value
);
644 } else if (value
> max_value
) {
646 PyErr_Format(PyExc_OverflowError
,
647 "value %ld is greater than '%s' maximum %ld",
648 value
, errmsg
, max_value
);
656 // See my_fragments.i
657 SWIGSTATICINLINE(int)
658 SWIG_AsVal_long(PyObject
* obj
, long* val
)
660 if (PyNumber_Check(obj
)) {
661 if (val
) *val
= PyInt_AsLong(obj
);
665 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
666 obj
->ob_type
->tp_name
);
667 PyErr_SetObject(PyExc_TypeError
, errmsg
);
674 #if INT_MAX != LONG_MAX
675 SWIGSTATICINLINE(int)
676 SWIG_AsVal_int(PyObject
*obj
, int *val
)
678 const char* errmsg
= val
? "int" : 0;
680 if (SWIG_AsVal_long(obj
, &v
)) {
681 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
682 if (val
) *val
= swig_numeric_cast(v
, int);
691 PyErr_SetString(PyExc_TypeError
, "an int is expected");
696 SWIGSTATICINLINE(int)
697 SWIG_AsVal_int(PyObject
*obj
, int *val
)
699 return SWIG_AsVal_long(obj
,(long*)val
);
704 SWIGSTATICINLINE(int)
705 SWIG_As_int(PyObject
* obj
)
708 if (!SWIG_AsVal_int(obj
, &v
)) {
710 this is needed to make valgrind/purify happier. the other
711 solution is throw an exception, but since this code should work
714 memset((void*)&v
, 0, sizeof(int));
720 SWIGSTATICINLINE(int)
721 SWIG_Check_int(PyObject
* obj
)
723 return SWIG_AsVal_int(obj
, (int*)0);
726 PyObject
*wxSize_Get(wxSize
*self
){
727 bool blocked
= wxPyBeginBlockThreads();
728 PyObject
* tup
= PyTuple_New(2);
729 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
730 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
731 wxPyEndBlockThreads(blocked
);
735 // See my_fragments.i
736 SWIGSTATICINLINE(int)
737 SWIG_AsVal_double(PyObject
*obj
, double* val
)
739 if (PyNumber_Check(obj
)) {
740 if (val
) *val
= PyFloat_AsDouble(obj
);
744 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
745 obj
->ob_type
->tp_name
);
746 PyErr_SetObject(PyExc_TypeError
, errmsg
);
753 SWIGSTATICINLINE(double)
754 SWIG_As_double(PyObject
* obj
)
757 if (!SWIG_AsVal_double(obj
, &v
)) {
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
763 memset((void*)&v
, 0, sizeof(double));
769 SWIGSTATICINLINE(int)
770 SWIG_Check_double(PyObject
* obj
)
772 return SWIG_AsVal_double(obj
, (double*)0);
775 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
779 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
780 bool blocked
= wxPyBeginBlockThreads();
781 PyObject
* tup
= PyTuple_New(2);
782 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
783 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
784 wxPyEndBlockThreads(blocked
);
788 SWIGSTATICINLINE(long)
789 SWIG_As_long(PyObject
* obj
)
792 if (!SWIG_AsVal_long(obj
, &v
)) {
794 this is needed to make valgrind/purify happier. the other
795 solution is throw an exception, but since this code should work
798 memset((void*)&v
, 0, sizeof(long));
804 SWIGSTATICINLINE(int)
805 SWIG_Check_long(PyObject
* obj
)
807 return SWIG_AsVal_long(obj
, (long*)0);
810 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
814 PyObject
*wxPoint_Get(wxPoint
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
818 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
819 wxPyEndBlockThreads(blocked
);
822 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
826 self
->height
= height
;
828 PyObject
*wxRect_Get(wxRect
*self
){
829 bool blocked
= wxPyBeginBlockThreads();
830 PyObject
* tup
= PyTuple_New(4);
831 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
832 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
833 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
834 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
835 wxPyEndBlockThreads(blocked
);
839 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
842 wxRect
dest(0,0,0,0);
845 reg1
.Intersect(reg2
);
846 dest
= reg1
.GetBox();
848 if (dest
!= wxRect(0,0,0,0)) {
849 bool blocked
= wxPyBeginBlockThreads();
850 wxRect
* newRect
= new wxRect(dest
);
851 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
852 wxPyEndBlockThreads(blocked
);
860 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
866 } else if (target
== Py_None
) {
870 if (!PyTuple_Check(target
)) {
872 target
= PyTuple_New(1);
873 PyTuple_SetItem(target
, 0, o2
);
876 PyTuple_SetItem(o3
, 0, o
);
879 target
= PySequence_Concat(o2
, o3
);
887 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
891 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
892 bool blocked
= wxPyBeginBlockThreads();
893 PyObject
* tup
= PyTuple_New(2);
894 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
895 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
896 wxPyEndBlockThreads(blocked
);
900 #include "wx/wxPython/pyistream.h"
902 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
903 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
905 return new wxPyInputStream(wxis
);
910 SWIGSTATICINLINE(PyObject
*)
911 SWIG_From_char(char c
)
913 return PyString_FromStringAndSize(&c
,1);
917 SWIGSTATICINLINE(PyObject
* )
918 SWIG_From_unsigned_SS_long(unsigned long value
)
920 return (value
> LONG_MAX
) ?
921 PyLong_FromUnsignedLong(value
)
922 : PyInt_FromLong(swig_numeric_cast(value
,long));
926 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
928 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
930 static swig_type_info
* pchar_info
= 0;
932 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
933 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
934 if (cptr
) *cptr
= vptr
;
935 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
938 if (PyString_Check(obj
)) {
940 *cptr
= PyString_AS_STRING(obj
);
942 *psize
= PyString_GET_SIZE(obj
) + 1;
949 PyErr_SetString(PyExc_TypeError
, "a string is expected");
956 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
958 char* cptr
; size_t csize
;
959 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
964 ie, assing the array using an extra '0' char.
966 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
969 if (csize
) memcpy(val
, cptr
, csize
);
970 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
976 PyErr_Format(PyExc_TypeError
,
977 "a char array of maximum size %ld is expected",
984 SWIGSTATICINLINE(int)
985 SWIG_AsVal_char(PyObject
*obj
, char *val
)
987 const char* errmsg
= val
? "char" : 0;
989 if (SWIG_AsVal_long(obj
, &v
)) {
990 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
998 return SWIG_AsCharArray(obj
, val
, 1);
1003 SWIGSTATICINLINE(char)
1004 SWIG_As_char(PyObject
* obj
)
1007 if (!SWIG_AsVal_char(obj
, &v
)) {
1009 this is needed to make valgrind/purify happier. the other
1010 solution is throw an exception, but since this code should work
1013 memset((void*)&v
, 0, sizeof(char));
1019 SWIGSTATICINLINE(int)
1020 SWIG_Check_char(PyObject
* obj
)
1022 return SWIG_AsVal_char(obj
, (char*)0);
1025 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
1026 // We use only strings for the streams, not unicode
1027 PyObject
* str
= PyObject_Str(obj
);
1029 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
1032 self
->Write(PyString_AS_STRING(str
),
1033 PyString_GET_SIZE(str
));
1037 #include "wx/wxPython/pyistream.h"
1040 class wxPyFileSystemHandler
: public wxFileSystemHandler
1043 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1045 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
1046 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
1047 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
1048 DEC_PYCALLBACK_STRING__pure(FindNext
);
1050 wxString
GetProtocol(const wxString
& location
) {
1051 return wxFileSystemHandler::GetProtocol(location
);
1054 wxString
GetLeftLocation(const wxString
& location
) {
1055 return wxFileSystemHandler::GetLeftLocation(location
);
1058 wxString
GetAnchor(const wxString
& location
) {
1059 return wxFileSystemHandler::GetAnchor(location
);
1062 wxString
GetRightLocation(const wxString
& location
) {
1063 return wxFileSystemHandler::GetRightLocation(location
);
1066 wxString
GetMimeTypeFromExt(const wxString
& location
) {
1067 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
1074 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
1075 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
1076 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
1077 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
1080 SWIGSTATICINLINE(int)
1081 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1083 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1084 if (obj
== Py_True
) {
1085 if (val
) *val
= true;
1088 if (obj
== Py_False
) {
1089 if (val
) *val
= false;
1093 if (SWIG_AsVal_int(obj
, &res
)) {
1094 if (val
) *val
= (bool)res
;
1098 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
1104 SWIGSTATICINLINE(bool)
1105 SWIG_As_bool(PyObject
* obj
)
1108 if (!SWIG_AsVal_bool(obj
, &v
)) {
1110 this is needed to make valgrind/purify happier. the other
1111 solution is throw an exception, but since this code should work
1114 memset((void*)&v
, 0, sizeof(bool));
1120 SWIGSTATICINLINE(int)
1121 SWIG_Check_bool(PyObject
* obj
)
1123 return SWIG_AsVal_bool(obj
, (bool*)0);
1126 wxString
FileSystem_URLToFileName(wxString
const &url
){
1127 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1128 return fname
.GetFullPath();
1131 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1134 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1137 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1138 const wxBitmap
& bitmap
,
1140 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1143 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1145 if (! PyString_Check(data
)) {
1146 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1147 "Expected string object"));
1151 bool blocked
= wxPyBeginBlockThreads();
1152 void* ptr
= (void*)PyString_AsString(data
);
1153 size_t size
= PyString_Size(data
);
1154 wxPyEndBlockThreads(blocked
);
1156 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
1160 #include "wx/wxPython/pyistream.h"
1163 // See my_fragments.i
1164 SWIGSTATICINLINE(int)
1165 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1168 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1169 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1173 *val
= (unsigned long)v
;
1178 SWIGSTATICINLINE(int)
1179 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1180 unsigned long max_value
,
1183 if (value
> max_value
) {
1185 PyErr_Format(PyExc_OverflowError
,
1186 "value %ld is greater than '%s' minimum %ld",
1187 value
, errmsg
, max_value
);
1195 SWIGSTATICINLINE(int)
1196 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1198 const char* errmsg
= val
? "unsigned char" : 0;
1200 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1201 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1202 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
1211 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
1217 SWIGSTATICINLINE(unsigned char)
1218 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1221 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1223 this is needed to make valgrind/purify happier. the other
1224 solution is throw an exception, but since this code should work
1227 memset((void*)&v
, 0, sizeof(unsigned char));
1233 SWIGSTATICINLINE(int)
1234 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1236 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1240 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1241 if (width
> 0 && height
> 0)
1242 return new wxImage(width
, height
, clear
);
1246 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1247 return new wxImage(bitmap
.ConvertToImage());
1249 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1250 // Copy the source data so the wxImage can clean it up later
1251 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1256 memcpy(copy
, data
, width
*height
*3);
1257 return new wxImage(width
, height
, copy
, False
);
1259 wxSize
wxImage_GetSize(wxImage
*self
){
1260 wxSize
size(self
->GetWidth(), self
->GetHeight());
1263 PyObject
*wxImage_GetData(wxImage
*self
){
1264 unsigned char* data
= self
->GetData();
1265 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1267 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1270 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1271 unsigned char* dataPtr
;
1273 if (! PyString_Check(data
)) {
1274 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1275 "Expected string object"));
1279 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1280 dataPtr
= (unsigned char*) malloc(len
);
1281 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1282 self
->SetData(dataPtr
);
1283 // wxImage takes ownership of dataPtr...
1285 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1286 unsigned char* data
= self
->GetData();
1287 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1289 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1292 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1293 unsigned char* buffer
;
1296 bool blocked
= wxPyBeginBlockThreads();
1297 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1300 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1301 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1304 self
->SetData(buffer
);
1306 wxPyEndBlockThreads(blocked
);
1308 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1309 unsigned char* data
= self
->GetAlpha();
1313 int len
= self
->GetWidth() * self
->GetHeight();
1315 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1319 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1320 unsigned char* dataPtr
;
1322 if (! PyString_Check(data
)) {
1323 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1327 size_t len
= self
->GetWidth() * self
->GetHeight();
1328 dataPtr
= (unsigned char*) malloc(len
);
1329 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1330 self
->SetAlpha(dataPtr
);
1331 // wxImage takes ownership of dataPtr...
1333 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1334 unsigned char* data
= self
->GetAlpha();
1335 int len
= self
->GetWidth() * self
->GetHeight();
1337 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1340 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1341 unsigned char* buffer
;
1344 bool blocked
= wxPyBeginBlockThreads();
1345 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1348 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1349 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1352 self
->SetAlpha(buffer
);
1354 wxPyEndBlockThreads(blocked
);
1357 SWIGSTATICINLINE(unsigned long)
1358 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1361 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1363 this is needed to make valgrind/purify happier. the other
1364 solution is throw an exception, but since this code should work
1367 memset((void*)&v
, 0, sizeof(unsigned long));
1373 SWIGSTATICINLINE(int)
1374 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1376 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1379 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
){
1380 wxBitmap
bitmap(*self
, depth
);
1383 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1384 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1385 wxBitmap
bitmap( mono
, 1 );
1388 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1389 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1390 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1391 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1392 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1394 #include <wx/quantize.h>
1396 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1397 return wxQuantize::Quantize(src
, dest
,
1400 NULL
, // eightBitData
1403 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1404 if (PyCallable_Check(func
)) {
1405 self
->Connect(id
, lastId
, eventType
,
1406 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1407 new wxPyCallback(func
));
1409 else if (func
== Py_None
) {
1410 self
->Disconnect(id
, lastId
, eventType
,
1411 (wxObjectEventFunction
)
1412 &wxPyCallback::EventThunker
);
1416 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1419 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1420 return self
->Disconnect(id
, lastId
, eventType
,
1421 (wxObjectEventFunction
)
1422 &wxPyCallback::EventThunker
);
1424 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1425 if (_self
&& _self
!= Py_None
) {
1426 self
->SetClientObject(new wxPyOORClientData(_self
));
1429 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1431 self
->SetClientObject(NULL
); // This will delete it too
1436 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1438 return self
->GetUnicodeKey();
1444 #if UINT_MAX < LONG_MAX
1445 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1446 #define SWIG_From_unsigned_SS_int SWIG_From_long
1449 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1450 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1455 #if UINT_MAX != ULONG_MAX
1456 SWIGSTATICINLINE(int)
1457 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1459 const char* errmsg
= val
? "unsigned int" : 0;
1461 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1462 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1463 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1470 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1475 SWIGSTATICINLINE(unsigned int)
1476 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1478 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1483 SWIGSTATICINLINE(unsigned int)
1484 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1487 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1489 this is needed to make valgrind/purify happier. the other
1490 solution is throw an exception, but since this code should work
1493 memset((void*)&v
, 0, sizeof(unsigned int));
1499 SWIGSTATICINLINE(int)
1500 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1502 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1505 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1506 self
->m_size
= size
;
1508 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1511 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1512 int count
= self
->GetNumberOfFiles();
1513 wxString
* files
= self
->GetFiles();
1514 PyObject
* list
= PyList_New(count
);
1517 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1521 for (int i
=0; i
<count
; i
++) {
1522 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1528 wxPyApp
*new_wxPyApp(){
1529 wxPythonApp
= new wxPyApp();
1532 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1534 void wxApp_CleanUp() {
1539 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1542 #include <wx/evtloop.h>
1546 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1547 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1548 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1549 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1550 wxWindowList
& list
= self
->GetChildren();
1551 return wxPy_ConvertList(&list
);
1553 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1555 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1560 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1567 long wxWindow_GetHandle(wxWindow
*self
){
1568 return wxPyGetWinHandle(self
);
1570 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1571 self
->AssociateHandle((WXWidget
)handle
);
1574 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1575 return wxWindow::FindWindowById(id
, parent
);
1578 wxWindow
* wxFindWindowByName( const wxString
& name
,
1579 const wxWindow
*parent
= NULL
) {
1580 return wxWindow::FindWindowByName(name
, parent
);
1583 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1584 const wxWindow
*parent
= NULL
) {
1585 return wxWindow::FindWindowByLabel(label
, parent
);
1590 #include <wx/msw/private.h> // to get wxGetWindowId
1594 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1596 WXHWND hWnd
= (WXHWND
)_hWnd
;
1597 long id
= wxGetWindowId(hWnd
);
1598 wxWindow
* win
= new wxWindow
;
1599 parent
->AddChild(win
);
1600 win
->SetEventHandler(win
);
1603 win
->SubclassWin(hWnd
);
1604 win
->AdoptAttributesFromHWND();
1605 win
->SetupColours();
1608 wxPyRaiseNotImplemented();
1614 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1615 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1616 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1618 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1620 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1621 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1622 wxMenuItemList
& list
= self
->GetMenuItems();
1623 return wxPy_ConvertList(&list
);
1625 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1626 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1627 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1629 wxPyClientData
* data
= new wxPyClientData(clientData
);
1630 return self
->Append(item
, data
);
1632 return self
->Append(item
);
1634 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1636 wxPyClientData
* data
= new wxPyClientData(clientData
);
1637 return self
->Insert(item
, pos
, data
);
1639 return self
->Insert(item
, pos
);
1641 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1642 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1644 Py_INCREF(data
->m_obj
);
1651 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1652 wxPyClientData
* data
= new wxPyClientData(clientData
);
1653 self
->SetClientObject(n
, data
);
1657 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1658 wxPyUserData
* data
= NULL
;
1660 bool blocked
= wxPyBeginBlockThreads();
1661 data
= new wxPyUserData(userData
);
1662 wxPyEndBlockThreads(blocked
);
1664 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1666 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1667 wxPyUserData
* data
= NULL
;
1669 bool blocked
= wxPyBeginBlockThreads();
1670 data
= new wxPyUserData(userData
);
1671 wxPyEndBlockThreads(blocked
);
1673 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1675 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,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(sizer
, proportion
, flag
, border
, data
);
1686 SWIGSTATICINLINE(int)
1687 SWIG_CheckDoubleInRange(double value
, double min_value
,
1688 double max_value
, const char* errmsg
)
1690 if (value
< min_value
) {
1692 PyErr_Format(PyExc_OverflowError
,
1693 "value %g is less than %s minimum %g",
1694 value
, errmsg
, min_value
);
1697 } else if (value
> max_value
) {
1699 PyErr_Format(PyExc_OverflowError
,
1700 "value %g is greater than %s maximum %g",
1701 value
, errmsg
, max_value
);
1709 SWIGSTATICINLINE(int)
1710 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1712 const char* errmsg
= val
? "float" : 0;
1714 if (SWIG_AsVal_double(obj
, &v
)) {
1715 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1725 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1731 SWIGSTATICINLINE(float)
1732 SWIG_As_float(PyObject
* obj
)
1735 if (!SWIG_AsVal_float(obj
, &v
)) {
1737 this is needed to make valgrind/purify happier. the other
1738 solution is throw an exception, but since this code should work
1741 memset((void*)&v
, 0, sizeof(float));
1747 SWIGSTATICINLINE(int)
1748 SWIG_Check_float(PyObject
* obj
)
1750 return SWIG_AsVal_float(obj
, (float*)0);
1753 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1754 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1756 Py_INCREF(data
->m_obj
);
1764 // Figure out the type of the sizer item
1766 struct wxPySizerItemInfo
{
1768 : window(NULL
), sizer(NULL
), gotSize(False
),
1769 size(wxDefaultSize
), gotPos(False
), pos(-1)
1780 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1782 wxPySizerItemInfo info
;
1784 wxSize
* sizePtr
= &size
;
1786 // Find out what the type of the item is
1788 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1793 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1797 // try wxSize or (w,h)
1798 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1799 info
.size
= *sizePtr
;
1800 info
.gotSize
= True
;
1804 if (checkIdx
&& PyInt_Check(item
)) {
1805 info
.pos
= PyInt_AsLong(item
);
1811 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1812 // no expected type, figure out what kind of error message to generate
1813 if ( !checkSize
&& !checkIdx
)
1814 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1815 else if ( checkSize
&& !checkIdx
)
1816 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1817 else if ( !checkSize
&& checkIdx
)
1818 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1820 // can this one happen?
1821 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1827 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1828 if (!self
->GetClientObject())
1829 self
->SetClientObject(new wxPyOORClientData(_self
));
1831 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1833 wxPyUserData
* data
= NULL
;
1834 bool blocked
= wxPyBeginBlockThreads();
1835 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1836 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1837 data
= new wxPyUserData(userData
);
1838 wxPyEndBlockThreads(blocked
);
1840 // Now call the real Add method if a valid item type was found
1842 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1843 else if ( info
.sizer
)
1844 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1845 else if (info
.gotSize
)
1846 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1847 proportion
, flag
, border
, data
);
1849 void wxSizer_Insert(wxSizer
*self
,int before
,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 Insert method if a valid item type was found
1860 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1861 else if ( info
.sizer
)
1862 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1863 else if (info
.gotSize
)
1864 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1865 proportion
, flag
, border
, data
);
1867 void wxSizer_Prepend(wxSizer
*self
,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 Prepend method if a valid item type was found
1878 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1879 else if ( info
.sizer
)
1880 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1881 else if (info
.gotSize
)
1882 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1883 proportion
, flag
, border
, data
);
1885 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1886 bool blocked
= wxPyBeginBlockThreads();
1887 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1888 wxPyEndBlockThreads(blocked
);
1890 return self
->Remove(info
.window
);
1891 else if ( info
.sizer
)
1892 return self
->Remove(info
.sizer
);
1893 else if ( info
.gotPos
)
1894 return self
->Remove(info
.pos
);
1898 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1899 bool blocked
= wxPyBeginBlockThreads();
1900 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1901 wxPyEndBlockThreads(blocked
);
1903 return self
->Detach(info
.window
);
1904 else if ( info
.sizer
)
1905 return self
->Detach(info
.sizer
);
1906 else if ( info
.gotPos
)
1907 return self
->Detach(info
.pos
);
1911 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1912 bool blocked
= wxPyBeginBlockThreads();
1913 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1914 wxPyEndBlockThreads(blocked
);
1916 self
->SetItemMinSize(info
.window
, size
);
1917 else if ( info
.sizer
)
1918 self
->SetItemMinSize(info
.sizer
, size
);
1919 else if ( info
.gotPos
)
1920 self
->SetItemMinSize(info
.pos
, size
);
1922 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1923 wxSizerItemList
& list
= self
->GetChildren();
1924 return wxPy_ConvertList(&list
);
1926 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1927 bool blocked
= wxPyBeginBlockThreads();
1928 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1929 wxPyEndBlockThreads(blocked
);
1931 return self
->Show(info
.window
, show
, recursive
);
1932 else if ( info
.sizer
)
1933 return self
->Show(info
.sizer
, show
, recursive
);
1934 else if ( info
.gotPos
)
1935 return self
->Show(info
.pos
, show
);
1937 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1938 bool blocked
= wxPyBeginBlockThreads();
1939 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1940 wxPyEndBlockThreads(blocked
);
1942 return self
->IsShown(info
.window
);
1943 else if ( info
.sizer
)
1944 return self
->IsShown(info
.sizer
);
1945 else if ( info
.gotPos
)
1946 return self
->IsShown(info
.pos
);
1952 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1953 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1954 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1959 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1961 if (source
== Py_None
) {
1962 **obj
= wxGBPosition(-1,-1);
1965 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1968 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1970 if (source
== Py_None
) {
1971 **obj
= wxGBSpan(-1,-1);
1974 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1978 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1982 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1983 bool blocked
= wxPyBeginBlockThreads();
1984 PyObject
* tup
= PyTuple_New(2);
1985 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1986 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1987 wxPyEndBlockThreads(blocked
);
1990 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1991 self
->SetRowspan(rowspan
);
1992 self
->SetColspan(colspan
);
1994 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1995 bool blocked
= wxPyBeginBlockThreads();
1996 PyObject
* tup
= PyTuple_New(2);
1997 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1998 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1999 wxPyEndBlockThreads(blocked
);
2002 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2003 wxPyUserData
* data
= NULL
;
2005 bool blocked
= wxPyBeginBlockThreads();
2006 data
= new wxPyUserData(userData
);
2007 wxPyEndBlockThreads(blocked
);
2009 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2011 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2012 wxPyUserData
* data
= NULL
;
2014 bool blocked
= wxPyBeginBlockThreads();
2015 data
= new wxPyUserData(userData
);
2016 wxPyEndBlockThreads(blocked
);
2018 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2020 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2021 wxPyUserData
* data
= NULL
;
2023 bool blocked
= wxPyBeginBlockThreads();
2024 data
= new wxPyUserData(userData
);
2025 wxPyEndBlockThreads(blocked
);
2027 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2029 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2031 self
->GetEndPos(row
, col
);
2032 return wxGBPosition(row
, col
);
2034 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2036 wxPyUserData
* data
= NULL
;
2037 bool blocked
= wxPyBeginBlockThreads();
2038 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
2039 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2040 data
= new wxPyUserData(userData
);
2041 wxPyEndBlockThreads(blocked
);
2043 // Now call the real Add method if a valid item type was found
2045 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2046 else if ( info
.sizer
)
2047 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2048 else if (info
.gotSize
)
2049 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2050 pos
, span
, flag
, border
, data
);
2058 static int _wrap_EmptyString_set(PyObject
*) {
2059 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2064 static PyObject
*_wrap_EmptyString_get() {
2069 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2071 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2078 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
*resultobj
;
2080 wxObject
*arg1
= (wxObject
*) 0 ;
2082 PyObject
* obj0
= 0 ;
2084 (char *) "self", NULL
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 result
= wxObject_GetClassName(arg1
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2110 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
*resultobj
;
2112 wxObject
*arg1
= (wxObject
*) 0 ;
2113 PyObject
* obj0
= 0 ;
2115 (char *) "self", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 wxObject_Destroy(arg1
);
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) SWIG_fail
;
2128 Py_INCREF(Py_None
); resultobj
= Py_None
;
2135 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2138 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2140 return Py_BuildValue((char *)"");
2142 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2144 wxSize
*arg1
= (wxSize
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2147 PyObject
* obj1
= 0 ;
2149 (char *) "self",(char *) "x", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2155 arg2
= (int)SWIG_As_int(obj1
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2157 if (arg1
) (arg1
)->x
= arg2
;
2159 Py_INCREF(Py_None
); resultobj
= Py_None
;
2166 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 wxSize
*arg1
= (wxSize
*) 0 ;
2170 PyObject
* obj0
= 0 ;
2172 (char *) "self", NULL
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2178 result
= (int) ((arg1
)->x
);
2180 resultobj
= SWIG_From_int((int)result
);
2187 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
*resultobj
;
2189 wxSize
*arg1
= (wxSize
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2192 PyObject
* obj1
= 0 ;
2194 (char *) "self",(char *) "y", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 arg2
= (int)SWIG_As_int(obj1
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2202 if (arg1
) (arg1
)->y
= arg2
;
2204 Py_INCREF(Py_None
); resultobj
= Py_None
;
2211 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 wxSize
*arg1
= (wxSize
*) 0 ;
2215 PyObject
* obj0
= 0 ;
2217 (char *) "self", NULL
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2223 result
= (int) ((arg1
)->y
);
2225 resultobj
= SWIG_From_int((int)result
);
2232 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2234 int arg1
= (int) 0 ;
2235 int arg2
= (int) 0 ;
2237 PyObject
* obj0
= 0 ;
2238 PyObject
* obj1
= 0 ;
2240 (char *) "w",(char *) "h", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2245 arg1
= (int)SWIG_As_int(obj0
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2249 arg2
= (int)SWIG_As_int(obj1
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2266 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
*resultobj
;
2268 wxSize
*arg1
= (wxSize
*) 0 ;
2269 PyObject
* obj0
= 0 ;
2271 (char *) "self", NULL
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 Py_INCREF(Py_None
); resultobj
= Py_None
;
2291 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxSize
*arg1
= (wxSize
*) 0 ;
2297 PyObject
* obj0
= 0 ;
2298 PyObject
* obj1
= 0 ;
2300 (char *) "self",(char *) "sz", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2308 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2326 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 wxSize
*arg1
= (wxSize
*) 0 ;
2332 PyObject
* obj0
= 0 ;
2333 PyObject
* obj1
= 0 ;
2335 (char *) "self",(char *) "sz", NULL
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2343 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2361 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
*resultobj
;
2363 wxSize
*arg1
= (wxSize
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2368 PyObject
* obj1
= 0 ;
2370 (char *) "self",(char *) "sz", NULL
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2389 resultptr
= new wxSize((wxSize
&) result
);
2390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2398 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
*resultobj
;
2400 wxSize
*arg1
= (wxSize
*) 0 ;
2404 PyObject
* obj0
= 0 ;
2405 PyObject
* obj1
= 0 ;
2407 (char *) "self",(char *) "sz", NULL
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2415 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2419 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2421 wxPyEndAllowThreads(__tstate
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2426 resultptr
= new wxSize((wxSize
&) result
);
2427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2435 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
*resultobj
;
2437 wxSize
*arg1
= (wxSize
*) 0 ;
2440 PyObject
* obj0
= 0 ;
2441 PyObject
* obj1
= 0 ;
2443 (char *) "self",(char *) "sz", NULL
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2451 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 (arg1
)->IncTo((wxSize
const &)*arg2
);
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2460 Py_INCREF(Py_None
); resultobj
= Py_None
;
2467 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
*resultobj
;
2469 wxSize
*arg1
= (wxSize
*) 0 ;
2472 PyObject
* obj0
= 0 ;
2473 PyObject
* obj1
= 0 ;
2475 (char *) "self",(char *) "sz", NULL
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2483 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 (arg1
)->DecTo((wxSize
const &)*arg2
);
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2492 Py_INCREF(Py_None
); resultobj
= Py_None
;
2499 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
*resultobj
;
2501 wxSize
*arg1
= (wxSize
*) 0 ;
2504 PyObject
* obj0
= 0 ;
2505 PyObject
* obj1
= 0 ;
2506 PyObject
* obj2
= 0 ;
2508 (char *) "self",(char *) "w",(char *) "h", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2514 arg2
= (int)SWIG_As_int(obj1
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2516 arg3
= (int)SWIG_As_int(obj2
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 (arg1
)->Set(arg2
,arg3
);
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2525 Py_INCREF(Py_None
); resultobj
= Py_None
;
2532 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 wxSize
*arg1
= (wxSize
*) 0 ;
2536 PyObject
* obj0
= 0 ;
2537 PyObject
* obj1
= 0 ;
2539 (char *) "self",(char *) "w", NULL
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2545 arg2
= (int)SWIG_As_int(obj1
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 (arg1
)->SetWidth(arg2
);
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2554 Py_INCREF(Py_None
); resultobj
= Py_None
;
2561 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxSize
*arg1
= (wxSize
*) 0 ;
2565 PyObject
* obj0
= 0 ;
2566 PyObject
* obj1
= 0 ;
2568 (char *) "self",(char *) "h", NULL
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2574 arg2
= (int)SWIG_As_int(obj1
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 (arg1
)->SetHeight(arg2
);
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 Py_INCREF(Py_None
); resultobj
= Py_None
;
2590 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxSize
*arg1
= (wxSize
*) 0 ;
2594 PyObject
* obj0
= 0 ;
2596 (char *) "self", NULL
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2609 resultobj
= SWIG_From_int((int)result
);
2616 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
*resultobj
;
2618 wxSize
*arg1
= (wxSize
*) 0 ;
2620 PyObject
* obj0
= 0 ;
2622 (char *) "self", NULL
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2635 resultobj
= SWIG_From_int((int)result
);
2642 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxSize
*arg1
= (wxSize
*) 0 ;
2646 PyObject
* obj0
= 0 ;
2648 (char *) "self", NULL
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2670 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
*resultobj
;
2672 wxSize
*arg1
= (wxSize
*) 0 ;
2675 PyObject
* obj0
= 0 ;
2676 PyObject
* obj1
= 0 ;
2678 (char *) "self",(char *) "size", NULL
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2686 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 Py_INCREF(Py_None
); resultobj
= Py_None
;
2702 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxSize
*arg1
= (wxSize
*) 0 ;
2706 PyObject
* obj0
= 0 ;
2708 (char *) "self", NULL
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 result
= (PyObject
*)wxSize_Get(arg1
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2728 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2731 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2733 return Py_BuildValue((char *)"");
2735 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
*resultobj
;
2737 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2739 PyObject
* obj0
= 0 ;
2740 PyObject
* obj1
= 0 ;
2742 (char *) "self",(char *) "x", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2748 arg2
= (double)SWIG_As_double(obj1
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2750 if (arg1
) (arg1
)->x
= arg2
;
2752 Py_INCREF(Py_None
); resultobj
= Py_None
;
2759 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2763 PyObject
* obj0
= 0 ;
2765 (char *) "self", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2771 result
= (double) ((arg1
)->x
);
2773 resultobj
= SWIG_From_double((double)result
);
2780 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2784 PyObject
* obj0
= 0 ;
2785 PyObject
* obj1
= 0 ;
2787 (char *) "self",(char *) "y", NULL
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2793 arg2
= (double)SWIG_As_double(obj1
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2795 if (arg1
) (arg1
)->y
= arg2
;
2797 Py_INCREF(Py_None
); resultobj
= Py_None
;
2804 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
*resultobj
;
2806 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2808 PyObject
* obj0
= 0 ;
2810 (char *) "self", NULL
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2816 result
= (double) ((arg1
)->y
);
2818 resultobj
= SWIG_From_double((double)result
);
2825 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
*resultobj
;
2827 double arg1
= (double) 0.0 ;
2828 double arg2
= (double) 0.0 ;
2829 wxRealPoint
*result
;
2830 PyObject
* obj0
= 0 ;
2831 PyObject
* obj1
= 0 ;
2833 (char *) "x",(char *) "y", NULL
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2838 arg1
= (double)SWIG_As_double(obj0
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2842 arg2
= (double)SWIG_As_double(obj1
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2859 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
*resultobj
;
2861 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2862 PyObject
* obj0
= 0 ;
2864 (char *) "self", NULL
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) SWIG_fail
;
2877 Py_INCREF(Py_None
); resultobj
= Py_None
;
2884 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
*resultobj
;
2886 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2887 wxRealPoint
*arg2
= 0 ;
2890 PyObject
* obj0
= 0 ;
2891 PyObject
* obj1
= 0 ;
2893 (char *) "self",(char *) "pt", NULL
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2901 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2919 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2921 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2922 wxRealPoint
*arg2
= 0 ;
2925 PyObject
* obj0
= 0 ;
2926 PyObject
* obj1
= 0 ;
2928 (char *) "self",(char *) "pt", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2936 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2954 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2957 wxRealPoint
*arg2
= 0 ;
2960 PyObject
* obj0
= 0 ;
2961 PyObject
* obj1
= 0 ;
2963 (char *) "self",(char *) "pt", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2971 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2981 wxRealPoint
* resultptr
;
2982 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2991 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2994 wxRealPoint
*arg2
= 0 ;
2997 PyObject
* obj0
= 0 ;
2998 PyObject
* obj1
= 0 ;
3000 (char *) "self",(char *) "pt", NULL
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3008 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3018 wxRealPoint
* resultptr
;
3019 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3028 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3033 PyObject
* obj0
= 0 ;
3034 PyObject
* obj1
= 0 ;
3035 PyObject
* obj2
= 0 ;
3037 (char *) "self",(char *) "x",(char *) "y", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3043 arg2
= (double)SWIG_As_double(obj1
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3045 arg3
= (double)SWIG_As_double(obj2
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 wxRealPoint_Set(arg1
,arg2
,arg3
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 Py_INCREF(Py_None
); resultobj
= Py_None
;
3061 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3065 PyObject
* obj0
= 0 ;
3067 (char *) "self", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3087 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3090 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3092 return Py_BuildValue((char *)"");
3094 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxPoint
*arg1
= (wxPoint
*) 0 ;
3098 PyObject
* obj0
= 0 ;
3099 PyObject
* obj1
= 0 ;
3101 (char *) "self",(char *) "x", NULL
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3107 arg2
= (int)SWIG_As_int(obj1
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3109 if (arg1
) (arg1
)->x
= arg2
;
3111 Py_INCREF(Py_None
); resultobj
= Py_None
;
3118 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
*resultobj
;
3120 wxPoint
*arg1
= (wxPoint
*) 0 ;
3122 PyObject
* obj0
= 0 ;
3124 (char *) "self", NULL
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 result
= (int) ((arg1
)->x
);
3132 resultobj
= SWIG_From_int((int)result
);
3139 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxPoint
*arg1
= (wxPoint
*) 0 ;
3143 PyObject
* obj0
= 0 ;
3144 PyObject
* obj1
= 0 ;
3146 (char *) "self",(char *) "y", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3152 arg2
= (int)SWIG_As_int(obj1
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3154 if (arg1
) (arg1
)->y
= arg2
;
3156 Py_INCREF(Py_None
); resultobj
= Py_None
;
3163 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxPoint
*arg1
= (wxPoint
*) 0 ;
3167 PyObject
* obj0
= 0 ;
3169 (char *) "self", NULL
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3175 result
= (int) ((arg1
)->y
);
3177 resultobj
= SWIG_From_int((int)result
);
3184 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
*resultobj
;
3186 int arg1
= (int) 0 ;
3187 int arg2
= (int) 0 ;
3189 PyObject
* obj0
= 0 ;
3190 PyObject
* obj1
= 0 ;
3192 (char *) "x",(char *) "y", NULL
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3197 arg1
= (int)SWIG_As_int(obj0
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3201 arg2
= (int)SWIG_As_int(obj1
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3218 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3220 wxPoint
*arg1
= (wxPoint
*) 0 ;
3221 PyObject
* obj0
= 0 ;
3223 (char *) "self", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3236 Py_INCREF(Py_None
); resultobj
= Py_None
;
3243 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxPoint
*arg1
= (wxPoint
*) 0 ;
3249 PyObject
* obj0
= 0 ;
3250 PyObject
* obj1
= 0 ;
3252 (char *) "self",(char *) "pt", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3278 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 wxPoint
*arg1
= (wxPoint
*) 0 ;
3284 PyObject
* obj0
= 0 ;
3285 PyObject
* obj1
= 0 ;
3287 (char *) "self",(char *) "pt", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3295 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3313 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxPoint
*arg1
= (wxPoint
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3320 PyObject
* obj1
= 0 ;
3322 (char *) "self",(char *) "pt", NULL
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3340 wxPoint
* resultptr
;
3341 resultptr
= new wxPoint((wxPoint
&) result
);
3342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3350 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxPoint
*arg1
= (wxPoint
*) 0 ;
3356 PyObject
* obj0
= 0 ;
3357 PyObject
* obj1
= 0 ;
3359 (char *) "self",(char *) "pt", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3367 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3377 wxPoint
* resultptr
;
3378 resultptr
= new wxPoint((wxPoint
&) result
);
3379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3387 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
*resultobj
;
3389 wxPoint
*arg1
= (wxPoint
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3394 PyObject
* obj1
= 0 ;
3396 (char *) "self",(char *) "pt", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3401 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3404 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3410 result
= (wxPoint
*) &_result_ref
;
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3423 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxPoint
*arg1
= (wxPoint
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3432 (char *) "self",(char *) "pt", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3437 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3446 result
= (wxPoint
*) &_result_ref
;
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3459 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxPoint
*arg1
= (wxPoint
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3465 PyObject
* obj1
= 0 ;
3466 PyObject
* obj2
= 0 ;
3468 (char *) "self",(char *) "x",(char *) "y", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 arg2
= (long)SWIG_As_long(obj1
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3476 arg3
= (long)SWIG_As_long(obj2
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 wxPoint_Set(arg1
,arg2
,arg3
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 Py_INCREF(Py_None
); resultobj
= Py_None
;
3492 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3494 wxPoint
*arg1
= (wxPoint
*) 0 ;
3496 PyObject
* obj0
= 0 ;
3498 (char *) "self", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= (PyObject
*)wxPoint_Get(arg1
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3518 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3521 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3523 return Py_BuildValue((char *)"");
3525 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3527 int arg1
= (int) 0 ;
3528 int arg2
= (int) 0 ;
3529 int arg3
= (int) 0 ;
3530 int arg4
= (int) 0 ;
3532 PyObject
* obj0
= 0 ;
3533 PyObject
* obj1
= 0 ;
3534 PyObject
* obj2
= 0 ;
3535 PyObject
* obj3
= 0 ;
3537 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3542 arg1
= (int)SWIG_As_int(obj0
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3546 arg2
= (int)SWIG_As_int(obj1
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3550 arg3
= (int)SWIG_As_int(obj2
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3554 arg4
= (int)SWIG_As_int(obj3
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3571 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3581 (char *) "topLeft",(char *) "bottomRight", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3587 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3591 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3607 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3617 (char *) "pos",(char *) "size", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3623 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3627 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3643 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 wxRect
*arg1
= (wxRect
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3648 (char *) "self", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3661 Py_INCREF(Py_None
); resultobj
= Py_None
;
3668 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
*resultobj
;
3670 wxRect
*arg1
= (wxRect
*) 0 ;
3672 PyObject
* obj0
= 0 ;
3674 (char *) "self", NULL
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 result
= (int)((wxRect
const *)arg1
)->GetX();
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 resultobj
= SWIG_From_int((int)result
);
3694 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
;
3696 wxRect
*arg1
= (wxRect
*) 0 ;
3698 PyObject
* obj0
= 0 ;
3699 PyObject
* obj1
= 0 ;
3701 (char *) "self",(char *) "x", NULL
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3707 arg2
= (int)SWIG_As_int(obj1
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 Py_INCREF(Py_None
); resultobj
= Py_None
;
3723 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
;
3725 wxRect
*arg1
= (wxRect
*) 0 ;
3727 PyObject
* obj0
= 0 ;
3729 (char *) "self", NULL
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= (int)(arg1
)->GetY();
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3742 resultobj
= SWIG_From_int((int)result
);
3749 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxRect
*arg1
= (wxRect
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3754 PyObject
* obj1
= 0 ;
3756 (char *) "self",(char *) "y", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3762 arg2
= (int)SWIG_As_int(obj1
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxRect
*arg1
= (wxRect
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_From_int((int)result
);
3804 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxRect
*arg1
= (wxRect
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3811 (char *) "self",(char *) "w", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 arg2
= (int)SWIG_As_int(obj1
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 (arg1
)->SetWidth(arg2
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 Py_INCREF(Py_None
); resultobj
= Py_None
;
3833 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxRect
*arg1
= (wxRect
*) 0 ;
3837 PyObject
* obj0
= 0 ;
3839 (char *) "self", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_From_int((int)result
);
3859 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxRect
*arg1
= (wxRect
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3864 PyObject
* obj1
= 0 ;
3866 (char *) "self",(char *) "h", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 arg2
= (int)SWIG_As_int(obj1
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 (arg1
)->SetHeight(arg2
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 Py_INCREF(Py_None
); resultobj
= Py_None
;
3888 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 wxRect
*arg1
= (wxRect
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3894 (char *) "self", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= ((wxRect
const *)arg1
)->GetPosition();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3908 wxPoint
* resultptr
;
3909 resultptr
= new wxPoint((wxPoint
&) result
);
3910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3918 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxRect
*arg1
= (wxRect
*) 0 ;
3923 PyObject
* obj0
= 0 ;
3924 PyObject
* obj1
= 0 ;
3926 (char *) "self",(char *) "p", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 Py_INCREF(Py_None
); resultobj
= Py_None
;
3950 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3952 wxRect
*arg1
= (wxRect
*) 0 ;
3954 PyObject
* obj0
= 0 ;
3956 (char *) "self", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= ((wxRect
const *)arg1
)->GetSize();
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3971 resultptr
= new wxSize((wxSize
&) result
);
3972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3980 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
;
3982 wxRect
*arg1
= (wxRect
*) 0 ;
3985 PyObject
* obj0
= 0 ;
3986 PyObject
* obj1
= 0 ;
3988 (char *) "self",(char *) "s", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3996 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 (arg1
)->SetSize((wxSize
const &)*arg2
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4005 Py_INCREF(Py_None
); resultobj
= Py_None
;
4012 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxRect
*arg1
= (wxRect
*) 0 ;
4016 PyObject
* obj0
= 0 ;
4018 (char *) "self", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4032 wxPoint
* resultptr
;
4033 resultptr
= new wxPoint((wxPoint
&) result
);
4034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4042 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
;
4044 wxRect
*arg1
= (wxRect
*) 0 ;
4047 PyObject
* obj0
= 0 ;
4048 PyObject
* obj1
= 0 ;
4050 (char *) "self",(char *) "p", NULL
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 Py_INCREF(Py_None
); resultobj
= Py_None
;
4074 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
*resultobj
;
4076 wxRect
*arg1
= (wxRect
*) 0 ;
4078 PyObject
* obj0
= 0 ;
4080 (char *) "self", NULL
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4094 wxPoint
* resultptr
;
4095 resultptr
= new wxPoint((wxPoint
&) result
);
4096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4104 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxRect
*arg1
= (wxRect
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4112 (char *) "self",(char *) "p", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxRect
*arg1
= (wxRect
*) 0 ;
4140 PyObject
* obj0
= 0 ;
4142 (char *) "self", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_From_int((int)result
);
4162 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4164 wxRect
*arg1
= (wxRect
*) 0 ;
4166 PyObject
* obj0
= 0 ;
4168 (char *) "self", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 result
= (int)((wxRect
const *)arg1
)->GetTop();
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= SWIG_From_int((int)result
);
4188 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxRect
*arg1
= (wxRect
*) 0 ;
4192 PyObject
* obj0
= 0 ;
4194 (char *) "self", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 resultobj
= SWIG_From_int((int)result
);
4214 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxRect
*arg1
= (wxRect
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4220 (char *) "self", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (int)((wxRect
const *)arg1
)->GetRight();
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_From_int((int)result
);
4240 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxRect
*arg1
= (wxRect
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4247 (char *) "self",(char *) "left", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4253 arg2
= (int)SWIG_As_int(obj1
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 (arg1
)->SetLeft(arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 Py_INCREF(Py_None
); resultobj
= Py_None
;
4269 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxRect
*arg1
= (wxRect
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4276 (char *) "self",(char *) "right", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4282 arg2
= (int)SWIG_As_int(obj1
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 (arg1
)->SetRight(arg2
);
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 Py_INCREF(Py_None
); resultobj
= Py_None
;
4298 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 wxRect
*arg1
= (wxRect
*) 0 ;
4302 PyObject
* obj0
= 0 ;
4303 PyObject
* obj1
= 0 ;
4305 (char *) "self",(char *) "top", NULL
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4311 arg2
= (int)SWIG_As_int(obj1
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 (arg1
)->SetTop(arg2
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 Py_INCREF(Py_None
); resultobj
= Py_None
;
4327 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxRect
*arg1
= (wxRect
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4334 (char *) "self",(char *) "bottom", NULL
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4340 arg2
= (int)SWIG_As_int(obj1
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 (arg1
)->SetBottom(arg2
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 Py_INCREF(Py_None
); resultobj
= Py_None
;
4356 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 wxRect
*arg1
= (wxRect
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4363 PyObject
* obj1
= 0 ;
4364 PyObject
* obj2
= 0 ;
4366 (char *) "self",(char *) "dx",(char *) "dy", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4372 arg2
= (int)SWIG_As_int(obj1
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4374 arg3
= (int)SWIG_As_int(obj2
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4380 result
= (wxRect
*) &_result_ref
;
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4393 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4395 wxRect
*arg1
= (wxRect
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4400 PyObject
* obj1
= 0 ;
4401 PyObject
* obj2
= 0 ;
4403 (char *) "self",(char *) "dx",(char *) "dy", NULL
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4409 arg2
= (int)SWIG_As_int(obj1
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4411 arg3
= (int)SWIG_As_int(obj2
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4417 result
= (wxRect
*) &_result_ref
;
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4430 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxRect
*arg1
= (wxRect
*) 0 ;
4435 PyObject
* obj0
= 0 ;
4436 PyObject
* obj1
= 0 ;
4437 PyObject
* obj2
= 0 ;
4439 (char *) "self",(char *) "dx",(char *) "dy", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4445 arg2
= (int)SWIG_As_int(obj1
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4447 arg3
= (int)SWIG_As_int(obj2
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 (arg1
)->Offset(arg2
,arg3
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 Py_INCREF(Py_None
); resultobj
= Py_None
;
4463 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxRect
*arg1
= (wxRect
*) 0 ;
4468 PyObject
* obj0
= 0 ;
4469 PyObject
* obj1
= 0 ;
4471 (char *) "self",(char *) "pt", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 (arg1
)->Offset((wxPoint
const &)*arg2
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 Py_INCREF(Py_None
); resultobj
= Py_None
;
4495 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4497 wxRect
*arg1
= (wxRect
*) 0 ;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4504 (char *) "self",(char *) "rect", NULL
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4512 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4518 result
= (wxRect
*) &_result_ref
;
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4531 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxRect
*arg1
= (wxRect
*) 0 ;
4537 PyObject
* obj0
= 0 ;
4538 PyObject
* obj1
= 0 ;
4540 (char *) "self",(char *) "rect", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4548 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4559 resultptr
= new wxRect((wxRect
&) result
);
4560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4568 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxRect
*arg1
= (wxRect
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4575 PyObject
* obj1
= 0 ;
4577 (char *) "self",(char *) "rect", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4582 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4585 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4591 result
= (wxRect
*) &_result_ref
;
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4604 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 wxRect
*arg1
= (wxRect
*) 0 ;
4610 PyObject
* obj0
= 0 ;
4611 PyObject
* obj1
= 0 ;
4613 (char *) "self",(char *) "rect", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4621 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4639 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4641 wxRect
*arg1
= (wxRect
*) 0 ;
4645 PyObject
* obj0
= 0 ;
4646 PyObject
* obj1
= 0 ;
4648 (char *) "self",(char *) "rect", NULL
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4656 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4674 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxRect
*arg1
= (wxRect
*) 0 ;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4682 PyObject
* obj2
= 0 ;
4684 (char *) "self",(char *) "x",(char *) "y", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4690 arg2
= (int)SWIG_As_int(obj1
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4692 arg3
= (int)SWIG_As_int(obj2
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4710 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxRect
*arg1
= (wxRect
*) 0 ;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj1
= 0 ;
4719 (char *) "self",(char *) "pt", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4745 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxRect
*arg1
= (wxRect
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4754 (char *) "self",(char *) "rect", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4762 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4780 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxRect
*arg1
= (wxRect
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4785 PyObject
* obj1
= 0 ;
4787 (char *) "self",(char *) "x", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4793 arg2
= (int)SWIG_As_int(obj1
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4795 if (arg1
) (arg1
)->x
= arg2
;
4797 Py_INCREF(Py_None
); resultobj
= Py_None
;
4804 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxRect
*arg1
= (wxRect
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4810 (char *) "self", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4816 result
= (int) ((arg1
)->x
);
4818 resultobj
= SWIG_From_int((int)result
);
4825 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxRect
*arg1
= (wxRect
*) 0 ;
4829 PyObject
* obj0
= 0 ;
4830 PyObject
* obj1
= 0 ;
4832 (char *) "self",(char *) "y", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4838 arg2
= (int)SWIG_As_int(obj1
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4840 if (arg1
) (arg1
)->y
= arg2
;
4842 Py_INCREF(Py_None
); resultobj
= Py_None
;
4849 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxRect
*arg1
= (wxRect
*) 0 ;
4853 PyObject
* obj0
= 0 ;
4855 (char *) "self", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 result
= (int) ((arg1
)->y
);
4863 resultobj
= SWIG_From_int((int)result
);
4870 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxRect
*arg1
= (wxRect
*) 0 ;
4874 PyObject
* obj0
= 0 ;
4875 PyObject
* obj1
= 0 ;
4877 (char *) "self",(char *) "width", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4883 arg2
= (int)SWIG_As_int(obj1
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4885 if (arg1
) (arg1
)->width
= arg2
;
4887 Py_INCREF(Py_None
); resultobj
= Py_None
;
4894 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxRect
*arg1
= (wxRect
*) 0 ;
4898 PyObject
* obj0
= 0 ;
4900 (char *) "self", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4906 result
= (int) ((arg1
)->width
);
4908 resultobj
= SWIG_From_int((int)result
);
4915 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxRect
*arg1
= (wxRect
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4922 (char *) "self",(char *) "height", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 arg2
= (int)SWIG_As_int(obj1
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4930 if (arg1
) (arg1
)->height
= arg2
;
4932 Py_INCREF(Py_None
); resultobj
= Py_None
;
4939 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxRect
*arg1
= (wxRect
*) 0 ;
4943 PyObject
* obj0
= 0 ;
4945 (char *) "self", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4951 result
= (int) ((arg1
)->height
);
4953 resultobj
= SWIG_From_int((int)result
);
4960 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxRect
*arg1
= (wxRect
*) 0 ;
4963 int arg2
= (int) 0 ;
4964 int arg3
= (int) 0 ;
4965 int arg4
= (int) 0 ;
4966 int arg5
= (int) 0 ;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4969 PyObject
* obj2
= 0 ;
4970 PyObject
* obj3
= 0 ;
4971 PyObject
* obj4
= 0 ;
4973 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4980 arg2
= (int)SWIG_As_int(obj1
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4984 arg3
= (int)SWIG_As_int(obj2
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4988 arg4
= (int)SWIG_As_int(obj3
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4992 arg5
= (int)SWIG_As_int(obj4
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 Py_INCREF(Py_None
); resultobj
= Py_None
;
5009 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxRect
*arg1
= (wxRect
*) 0 ;
5013 PyObject
* obj0
= 0 ;
5015 (char *) "self", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 result
= (PyObject
*)wxRect_Get(arg1
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5035 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5038 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5040 return Py_BuildValue((char *)"");
5042 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
;
5044 wxRect
*arg1
= (wxRect
*) 0 ;
5045 wxRect
*arg2
= (wxRect
*) 0 ;
5047 PyObject
* obj0
= 0 ;
5048 PyObject
* obj1
= 0 ;
5050 (char *) "r1",(char *) "r2", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 if (!wxPyCheckForApp()) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5073 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 double arg1
= (double) 0.0 ;
5076 double arg2
= (double) 0.0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5081 (char *) "x",(char *) "y", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5086 arg1
= (double)SWIG_As_double(obj0
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5090 arg2
= (double)SWIG_As_double(obj1
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5107 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
;
5109 wxPoint2D
*arg1
= 0 ;
5112 PyObject
* obj0
= 0 ;
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5120 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5136 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5141 PyObject
* obj0
= 0 ;
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5149 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5165 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5168 int *arg2
= (int *) 0 ;
5169 int *arg3
= (int *) 0 ;
5174 PyObject
* obj0
= 0 ;
5176 (char *) "self", NULL
5179 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5180 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 Py_INCREF(Py_None
); resultobj
= Py_None
;
5192 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5193 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5194 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5195 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5202 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5205 int *arg2
= (int *) 0 ;
5206 int *arg3
= (int *) 0 ;
5211 PyObject
* obj0
= 0 ;
5213 (char *) "self", NULL
5216 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5217 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 Py_INCREF(Py_None
); resultobj
= Py_None
;
5229 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5230 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5231 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5232 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5239 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5243 PyObject
* obj0
= 0 ;
5245 (char *) "self", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= SWIG_From_double((double)result
);
5265 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5269 PyObject
* obj0
= 0 ;
5271 (char *) "self", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5284 resultobj
= SWIG_From_double((double)result
);
5291 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5298 (char *) "self",(char *) "length", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5304 arg2
= (double)SWIG_As_double(obj1
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 (arg1
)->SetVectorLength(arg2
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 Py_INCREF(Py_None
); resultobj
= Py_None
;
5320 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5325 PyObject
* obj1
= 0 ;
5327 (char *) "self",(char *) "degrees", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5333 arg2
= (double)SWIG_As_double(obj1
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 (arg1
)->SetVectorAngle(arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5352 wxPoint2D
*arg2
= 0 ;
5355 PyObject
* obj0
= 0 ;
5356 PyObject
* obj1
= 0 ;
5358 (char *) "self",(char *) "pt", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5366 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= SWIG_From_double((double)result
);
5382 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5385 wxPoint2D
*arg2
= 0 ;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5391 (char *) "self",(char *) "pt", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5399 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= SWIG_From_double((double)result
);
5415 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
;
5417 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5418 wxPoint2D
*arg2
= 0 ;
5421 PyObject
* obj0
= 0 ;
5422 PyObject
* obj1
= 0 ;
5424 (char *) "self",(char *) "vec", NULL
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5432 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= SWIG_From_double((double)result
);
5448 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5451 wxPoint2D
*arg2
= 0 ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5457 (char *) "self",(char *) "vec", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5465 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_From_double((double)result
);
5481 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5487 (char *) "self", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (arg1
)->operator -();
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5501 wxPoint2D
* resultptr
;
5502 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5511 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5514 wxPoint2D
*arg2
= 0 ;
5517 PyObject
* obj0
= 0 ;
5518 PyObject
* obj1
= 0 ;
5520 (char *) "self",(char *) "pt", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5525 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5528 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5534 result
= (wxPoint2D
*) &_result_ref
;
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5547 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5550 wxPoint2D
*arg2
= 0 ;
5553 PyObject
* obj0
= 0 ;
5554 PyObject
* obj1
= 0 ;
5556 (char *) "self",(char *) "pt", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5561 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5564 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5570 result
= (wxPoint2D
*) &_result_ref
;
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5583 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
;
5585 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5586 wxPoint2D
*arg2
= 0 ;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5592 (char *) "self",(char *) "pt", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5597 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5600 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5606 result
= (wxPoint2D
*) &_result_ref
;
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5619 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5622 wxPoint2D
*arg2
= 0 ;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5628 (char *) "self",(char *) "pt", NULL
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5633 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5636 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5642 result
= (wxPoint2D
*) &_result_ref
;
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5655 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5658 wxPoint2D
*arg2
= 0 ;
5661 PyObject
* obj0
= 0 ;
5662 PyObject
* obj1
= 0 ;
5664 (char *) "self",(char *) "pt", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5672 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5690 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5693 wxPoint2D
*arg2
= 0 ;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj1
= 0 ;
5699 (char *) "self",(char *) "pt", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5707 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5725 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5732 (char *) "self",(char *) "m_x", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5738 arg2
= (double)SWIG_As_double(obj1
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5740 if (arg1
) (arg1
)->m_x
= arg2
;
5742 Py_INCREF(Py_None
); resultobj
= Py_None
;
5749 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5753 PyObject
* obj0
= 0 ;
5755 (char *) "self", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5761 result
= (double) ((arg1
)->m_x
);
5763 resultobj
= SWIG_From_double((double)result
);
5770 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5774 PyObject
* obj0
= 0 ;
5775 PyObject
* obj1
= 0 ;
5777 (char *) "self",(char *) "m_y", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 arg2
= (double)SWIG_As_double(obj1
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5785 if (arg1
) (arg1
)->m_y
= arg2
;
5787 Py_INCREF(Py_None
); resultobj
= Py_None
;
5794 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5800 (char *) "self", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5806 result
= (double) ((arg1
)->m_y
);
5808 resultobj
= SWIG_From_double((double)result
);
5815 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5818 double arg2
= (double) 0 ;
5819 double arg3
= (double) 0 ;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5822 PyObject
* obj2
= 0 ;
5824 (char *) "self",(char *) "x",(char *) "y", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 arg2
= (double)SWIG_As_double(obj1
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5835 arg3
= (double)SWIG_As_double(obj2
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 wxPoint2D_Set(arg1
,arg2
,arg3
);
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5845 Py_INCREF(Py_None
); resultobj
= Py_None
;
5852 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
;
5854 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5856 PyObject
* obj0
= 0 ;
5858 (char *) "self", NULL
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5878 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5881 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5883 return Py_BuildValue((char *)"");
5885 static int _wrap_DefaultPosition_set(PyObject
*) {
5886 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5891 static PyObject
*_wrap_DefaultPosition_get() {
5894 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5899 static int _wrap_DefaultSize_set(PyObject
*) {
5900 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5905 static PyObject
*_wrap_DefaultSize_get() {
5908 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5913 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 PyObject
*arg1
= (PyObject
*) 0 ;
5916 wxPyInputStream
*result
;
5917 PyObject
* obj0
= 0 ;
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5938 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
;
5940 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5941 PyObject
* obj0
= 0 ;
5943 (char *) "self", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 Py_INCREF(Py_None
); resultobj
= Py_None
;
5963 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5968 (char *) "self", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 Py_INCREF(Py_None
); resultobj
= Py_None
;
5988 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
;
5990 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5994 (char *) "self", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 result
= (bool)(arg1
)->eof();
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6016 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6019 int arg2
= (int) -1 ;
6021 PyObject
* obj0
= 0 ;
6022 PyObject
* obj1
= 0 ;
6024 (char *) "self",(char *) "size", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6031 arg2
= (int)SWIG_As_int(obj1
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (PyObject
*)(arg1
)->read(arg2
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6048 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6051 int arg2
= (int) -1 ;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6056 (char *) "self",(char *) "size", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6063 arg2
= (int)SWIG_As_int(obj1
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (PyObject
*)(arg1
)->readline(arg2
);
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6080 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6083 int arg2
= (int) -1 ;
6085 PyObject
* obj0
= 0 ;
6086 PyObject
* obj1
= 0 ;
6088 (char *) "self",(char *) "sizehint", NULL
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6095 arg2
= (int)SWIG_As_int(obj1
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6112 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6116 int arg3
= (int) 0 ;
6117 PyObject
* obj0
= 0 ;
6118 PyObject
* obj1
= 0 ;
6119 PyObject
* obj2
= 0 ;
6121 (char *) "self",(char *) "offset",(char *) "whence", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 arg2
= (int)SWIG_As_int(obj1
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 arg3
= (int)SWIG_As_int(obj2
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 (arg1
)->seek(arg2
,arg3
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 Py_INCREF(Py_None
); resultobj
= Py_None
;
6147 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6151 PyObject
* obj0
= 0 ;
6153 (char *) "self", NULL
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 result
= (int)(arg1
)->tell();
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6166 resultobj
= SWIG_From_int((int)result
);
6173 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6179 (char *) "self", NULL
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (char)(arg1
)->Peek();
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= SWIG_From_char((char)result
);
6199 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6205 (char *) "self", NULL
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (char)(arg1
)->GetC();
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= SWIG_From_char((char)result
);
6225 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6229 PyObject
* obj0
= 0 ;
6231 (char *) "self", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (size_t)(arg1
)->LastRead();
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6251 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6255 PyObject
* obj0
= 0 ;
6257 (char *) "self", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 result
= (bool)(arg1
)->CanRead();
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6279 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6285 (char *) "self", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (bool)(arg1
)->Eof();
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6307 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6312 PyObject
* obj0
= 0 ;
6313 PyObject
* obj1
= 0 ;
6315 (char *) "self",(char *) "c", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6321 arg2
= (char)SWIG_As_char(obj1
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 result
= (bool)(arg1
)->Ungetch(arg2
);
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6339 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6343 int arg3
= (int) wxFromStart
;
6345 PyObject
* obj0
= 0 ;
6346 PyObject
* obj1
= 0 ;
6347 PyObject
* obj2
= 0 ;
6349 (char *) "self",(char *) "pos",(char *) "mode", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6355 arg2
= (long)SWIG_As_long(obj1
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 arg3
= (int)SWIG_As_int(obj2
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= SWIG_From_long((long)result
);
6375 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6379 PyObject
* obj0
= 0 ;
6381 (char *) "self", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (long)(arg1
)->TellI();
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= SWIG_From_long((long)result
);
6401 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6404 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6406 return Py_BuildValue((char *)"");
6408 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6411 PyObject
*arg2
= (PyObject
*) 0 ;
6412 PyObject
* obj0
= 0 ;
6413 PyObject
* obj1
= 0 ;
6415 (char *) "self",(char *) "obj", NULL
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 wxOutputStream_write(arg1
,arg2
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6429 Py_INCREF(Py_None
); resultobj
= Py_None
;
6436 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6439 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6441 return Py_BuildValue((char *)"");
6443 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6446 wxString
*arg2
= 0 ;
6447 wxString
*arg3
= 0 ;
6448 wxString
*arg4
= 0 ;
6451 wxPyInputStream
*temp1
;
6453 bool temp2
= False
;
6454 bool temp3
= False
;
6455 bool temp4
= False
;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6459 PyObject
* obj2
= 0 ;
6460 PyObject
* obj3
= 0 ;
6461 PyObject
* obj4
= 0 ;
6463 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6468 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6469 arg1
= temp1
->m_wxis
;
6472 PyErr_Clear(); // clear the failure of the wxPyConvert above
6473 arg1
= wxPyCBInputStream_create(obj0
, False
);
6475 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6482 arg2
= wxString_in_helper(obj1
);
6483 if (arg2
== NULL
) SWIG_fail
;
6487 arg3
= wxString_in_helper(obj2
);
6488 if (arg3
== NULL
) SWIG_fail
;
6492 arg4
= wxString_in_helper(obj3
);
6493 if (arg4
== NULL
) SWIG_fail
;
6496 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6497 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= wxPyMake_wxObject(result
, 1);
6547 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6550 PyObject
* obj0
= 0 ;
6552 (char *) "self", NULL
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 Py_INCREF(Py_None
); resultobj
= Py_None
;
6572 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6575 wxInputStream
*result
;
6576 PyObject
* obj0
= 0 ;
6578 (char *) "self", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (wxInputStream
*)(arg1
)->GetStream();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6592 wxPyInputStream
* _ptr
= NULL
;
6595 _ptr
= new wxPyInputStream(result
);
6597 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6605 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6611 (char *) "self", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6621 result
= (wxString
*) &_result_ref
;
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6631 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6640 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "self", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 wxString
const &_result_ref
= (arg1
)->GetLocation();
6656 result
= (wxString
*) &_result_ref
;
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6666 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6675 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6681 (char *) "self", NULL
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6691 result
= (wxString
*) &_result_ref
;
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6701 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6710 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6716 (char *) "self", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 result
= (arg1
)->GetModificationTime();
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6730 wxDateTime
* resultptr
;
6731 resultptr
= new wxDateTime((wxDateTime
&) result
);
6732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6740 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6743 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6745 return Py_BuildValue((char *)"");
6747 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6750 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6752 return Py_BuildValue((char *)"");
6754 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
;
6756 wxPyFileSystemHandler
*result
;
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6776 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6779 PyObject
*arg2
= (PyObject
*) 0 ;
6780 PyObject
*arg3
= (PyObject
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6783 PyObject
* obj2
= 0 ;
6785 (char *) "self",(char *) "self",(char *) "_class", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 Py_INCREF(Py_None
); resultobj
= Py_None
;
6807 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6810 wxString
*arg2
= 0 ;
6812 bool temp2
= False
;
6813 PyObject
* obj0
= 0 ;
6814 PyObject
* obj1
= 0 ;
6816 (char *) "self",(char *) "location", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6823 arg2
= wxString_in_helper(obj1
);
6824 if (arg2
== NULL
) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6851 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
;
6853 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6854 wxFileSystem
*arg2
= 0 ;
6855 wxString
*arg3
= 0 ;
6857 bool temp3
= False
;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6860 PyObject
* obj2
= 0 ;
6862 (char *) "self",(char *) "fs",(char *) "location", NULL
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6872 PyErr_SetString(PyExc_TypeError
,"null reference");
6876 arg3
= wxString_in_helper(obj2
);
6877 if (arg3
== NULL
) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= wxPyMake_wxObject(result
, 1);
6904 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6907 wxString
*arg2
= 0 ;
6908 int arg3
= (int) 0 ;
6910 bool temp2
= False
;
6911 PyObject
* obj0
= 0 ;
6912 PyObject
* obj1
= 0 ;
6913 PyObject
* obj2
= 0 ;
6915 (char *) "self",(char *) "spec",(char *) "flags", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6922 arg2
= wxString_in_helper(obj1
);
6923 if (arg2
== NULL
) SWIG_fail
;
6927 arg3
= (int)SWIG_As_int(obj2
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6958 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
;
6960 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6964 (char *) "self", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (arg1
)->FindNext();
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6990 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6993 wxString
*arg2
= 0 ;
6995 bool temp2
= False
;
6996 PyObject
* obj0
= 0 ;
6997 PyObject
* obj1
= 0 ;
6999 (char *) "self",(char *) "location", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7006 arg2
= wxString_in_helper(obj1
);
7007 if (arg2
== NULL
) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7038 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7041 wxString
*arg2
= 0 ;
7043 bool temp2
= False
;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7047 (char *) "self",(char *) "location", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 arg2
= wxString_in_helper(obj1
);
7055 if (arg2
== NULL
) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7086 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7089 wxString
*arg2
= 0 ;
7091 bool temp2
= False
;
7092 PyObject
* obj0
= 0 ;
7093 PyObject
* obj1
= 0 ;
7095 (char *) "self",(char *) "location", NULL
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7102 arg2
= wxString_in_helper(obj1
);
7103 if (arg2
== NULL
) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7134 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7137 wxString
*arg2
= 0 ;
7139 bool temp2
= False
;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7143 (char *) "self",(char *) "location", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7150 arg2
= wxString_in_helper(obj1
);
7151 if (arg2
== NULL
) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7182 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
*resultobj
;
7184 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7185 wxString
*arg2
= 0 ;
7187 bool temp2
= False
;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7191 (char *) "self",(char *) "location", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7198 arg2
= wxString_in_helper(obj1
);
7199 if (arg2
== NULL
) SWIG_fail
;
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7230 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7233 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7235 return Py_BuildValue((char *)"");
7237 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
;
7239 wxFileSystem
*result
;
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (wxFileSystem
*)new wxFileSystem();
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= wxPyMake_wxObject(result
, 1);
7261 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7264 PyObject
* obj0
= 0 ;
7266 (char *) "self", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 Py_INCREF(Py_None
); resultobj
= Py_None
;
7286 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7289 wxString
*arg2
= 0 ;
7290 bool arg3
= (bool) False
;
7291 bool temp2
= False
;
7292 PyObject
* obj0
= 0 ;
7293 PyObject
* obj1
= 0 ;
7294 PyObject
* obj2
= 0 ;
7296 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7303 arg2
= wxString_in_helper(obj1
);
7304 if (arg2
== NULL
) SWIG_fail
;
7308 arg3
= (bool)SWIG_As_bool(obj2
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 Py_INCREF(Py_None
); resultobj
= Py_None
;
7333 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7337 PyObject
* obj0
= 0 ;
7339 (char *) "self", NULL
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (arg1
)->GetPath();
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7365 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7368 wxString
*arg2
= 0 ;
7370 bool temp2
= False
;
7371 PyObject
* obj0
= 0 ;
7372 PyObject
* obj1
= 0 ;
7374 (char *) "self",(char *) "location", NULL
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7381 arg2
= wxString_in_helper(obj1
);
7382 if (arg2
== NULL
) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= wxPyMake_wxObject(result
, 1);
7409 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7411 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7412 wxString
*arg2
= 0 ;
7413 int arg3
= (int) 0 ;
7415 bool temp2
= False
;
7416 PyObject
* obj0
= 0 ;
7417 PyObject
* obj1
= 0 ;
7418 PyObject
* obj2
= 0 ;
7420 (char *) "self",(char *) "spec",(char *) "flags", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7427 arg2
= wxString_in_helper(obj1
);
7428 if (arg2
== NULL
) SWIG_fail
;
7432 arg3
= (int)SWIG_As_int(obj2
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7463 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7465 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7467 PyObject
* obj0
= 0 ;
7469 (char *) "self", NULL
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 result
= (arg1
)->FindNext();
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7495 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7498 PyObject
* obj0
= 0 ;
7500 (char *) "handler", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 wxFileSystem::AddHandler(arg1
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 Py_INCREF(Py_None
); resultobj
= Py_None
;
7520 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 wxFileSystem::CleanUpHandlers();
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7534 Py_INCREF(Py_None
); resultobj
= Py_None
;
7541 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxString
*arg1
= 0 ;
7545 bool temp1
= False
;
7546 PyObject
* obj0
= 0 ;
7548 (char *) "filename", NULL
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7553 arg1
= wxString_in_helper(obj0
);
7554 if (arg1
== NULL
) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7585 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxString
*arg1
= 0 ;
7589 bool temp1
= False
;
7590 PyObject
* obj0
= 0 ;
7592 (char *) "url", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7597 arg1
= wxString_in_helper(obj0
);
7598 if (arg1
== NULL
) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7629 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7632 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7634 return Py_BuildValue((char *)"");
7636 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxInternetFSHandler
*result
;
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7658 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7661 wxString
*arg2
= 0 ;
7663 bool temp2
= False
;
7664 PyObject
* obj0
= 0 ;
7665 PyObject
* obj1
= 0 ;
7667 (char *) "self",(char *) "location", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 arg2
= wxString_in_helper(obj1
);
7675 if (arg2
== NULL
) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7702 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7705 wxFileSystem
*arg2
= 0 ;
7706 wxString
*arg3
= 0 ;
7708 bool temp3
= False
;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7711 PyObject
* obj2
= 0 ;
7713 (char *) "self",(char *) "fs",(char *) "location", NULL
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7723 PyErr_SetString(PyExc_TypeError
,"null reference");
7727 arg3
= wxString_in_helper(obj2
);
7728 if (arg3
== NULL
) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= wxPyMake_wxObject(result
, 1);
7755 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7758 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7760 return Py_BuildValue((char *)"");
7762 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxZipFSHandler
*result
;
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7784 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7787 wxString
*arg2
= 0 ;
7789 bool temp2
= False
;
7790 PyObject
* obj0
= 0 ;
7791 PyObject
* obj1
= 0 ;
7793 (char *) "self",(char *) "location", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7800 arg2
= wxString_in_helper(obj1
);
7801 if (arg2
== NULL
) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7828 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
;
7830 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7831 wxFileSystem
*arg2
= 0 ;
7832 wxString
*arg3
= 0 ;
7834 bool temp3
= False
;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7837 PyObject
* obj2
= 0 ;
7839 (char *) "self",(char *) "fs",(char *) "location", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7849 PyErr_SetString(PyExc_TypeError
,"null reference");
7853 arg3
= wxString_in_helper(obj2
);
7854 if (arg3
== NULL
) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= wxPyMake_wxObject(result
, 1);
7881 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
*resultobj
;
7883 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7884 wxString
*arg2
= 0 ;
7885 int arg3
= (int) 0 ;
7887 bool temp2
= False
;
7888 PyObject
* obj0
= 0 ;
7889 PyObject
* obj1
= 0 ;
7890 PyObject
* obj2
= 0 ;
7892 (char *) "self",(char *) "spec",(char *) "flags", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7899 arg2
= wxString_in_helper(obj1
);
7900 if (arg2
== NULL
) SWIG_fail
;
7904 arg3
= (int)SWIG_As_int(obj2
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7935 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
*resultobj
;
7937 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7939 PyObject
* obj0
= 0 ;
7941 (char *) "self", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (arg1
)->FindNext();
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7967 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7970 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7972 return Py_BuildValue((char *)"");
7974 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7976 wxString
*arg1
= 0 ;
7979 bool temp1
= False
;
7980 PyObject
* obj0
= 0 ;
7981 PyObject
* obj1
= 0 ;
7982 PyObject
* obj2
= 0 ;
7984 (char *) "filename",(char *) "image",(char *) "type", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7989 arg1
= wxString_in_helper(obj0
);
7990 if (arg1
== NULL
) SWIG_fail
;
7993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7997 PyErr_SetString(PyExc_TypeError
,"null reference");
8000 arg3
= (long)SWIG_As_long(obj2
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 Py_INCREF(Py_None
); resultobj
= Py_None
;
8024 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxString
*arg1
= 0 ;
8027 wxBitmap
*arg2
= 0 ;
8029 bool temp1
= False
;
8030 PyObject
* obj0
= 0 ;
8031 PyObject
* obj1
= 0 ;
8032 PyObject
* obj2
= 0 ;
8034 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8039 arg1
= wxString_in_helper(obj0
);
8040 if (arg1
== NULL
) SWIG_fail
;
8043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8047 PyErr_SetString(PyExc_TypeError
,"null reference");
8050 arg3
= (long)SWIG_As_long(obj2
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 Py_INCREF(Py_None
); resultobj
= Py_None
;
8074 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxString
*arg1
= 0 ;
8077 PyObject
*arg2
= (PyObject
*) 0 ;
8078 bool temp1
= False
;
8079 PyObject
* obj0
= 0 ;
8080 PyObject
* obj1
= 0 ;
8082 (char *) "filename",(char *) "data", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8087 arg1
= wxString_in_helper(obj0
);
8088 if (arg1
== NULL
) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 Py_INCREF(Py_None
); resultobj
= Py_None
;
8114 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxMemoryFSHandler
*result
;
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8136 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxString
*arg1
= 0 ;
8139 bool temp1
= False
;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "filename", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8147 arg1
= wxString_in_helper(obj0
);
8148 if (arg1
== NULL
) SWIG_fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8158 Py_INCREF(Py_None
); resultobj
= Py_None
;
8173 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
;
8175 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8176 wxString
*arg2
= 0 ;
8178 bool temp2
= False
;
8179 PyObject
* obj0
= 0 ;
8180 PyObject
* obj1
= 0 ;
8182 (char *) "self",(char *) "location", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8189 arg2
= wxString_in_helper(obj1
);
8190 if (arg2
== NULL
) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8217 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8220 wxFileSystem
*arg2
= 0 ;
8221 wxString
*arg3
= 0 ;
8223 bool temp3
= False
;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8226 PyObject
* obj2
= 0 ;
8228 (char *) "self",(char *) "fs",(char *) "location", NULL
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8238 PyErr_SetString(PyExc_TypeError
,"null reference");
8242 arg3
= wxString_in_helper(obj2
);
8243 if (arg3
== NULL
) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8254 resultobj
= wxPyMake_wxObject(result
, 1);
8270 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8272 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8273 wxString
*arg2
= 0 ;
8274 int arg3
= (int) 0 ;
8276 bool temp2
= False
;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8279 PyObject
* obj2
= 0 ;
8281 (char *) "self",(char *) "spec",(char *) "flags", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8288 arg2
= wxString_in_helper(obj1
);
8289 if (arg2
== NULL
) SWIG_fail
;
8293 arg3
= (int)SWIG_As_int(obj2
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8324 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
;
8326 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8328 PyObject
* obj0
= 0 ;
8330 (char *) "self", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 result
= (arg1
)->FindNext();
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8356 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8359 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8361 return Py_BuildValue((char *)"");
8363 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
;
8365 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8367 PyObject
* obj0
= 0 ;
8369 (char *) "self", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 result
= (arg1
)->GetName();
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8395 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8399 PyObject
* obj0
= 0 ;
8401 (char *) "self", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (arg1
)->GetExtension();
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8427 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
;
8429 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8431 PyObject
* obj0
= 0 ;
8433 (char *) "self", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (long)(arg1
)->GetType();
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= SWIG_From_long((long)result
);
8453 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8457 PyObject
* obj0
= 0 ;
8459 (char *) "self", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 result
= (arg1
)->GetMimeType();
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8485 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8488 wxString
*arg2
= 0 ;
8490 bool temp2
= False
;
8491 PyObject
* obj0
= 0 ;
8492 PyObject
* obj1
= 0 ;
8494 (char *) "self",(char *) "name", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 arg2
= wxString_in_helper(obj1
);
8502 if (arg2
== NULL
) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8529 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8532 wxString
*arg2
= 0 ;
8533 bool temp2
= False
;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8537 (char *) "self",(char *) "name", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8544 arg2
= wxString_in_helper(obj1
);
8545 if (arg2
== NULL
) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 (arg1
)->SetName((wxString
const &)*arg2
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 Py_INCREF(Py_None
); resultobj
= Py_None
;
8570 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8573 wxString
*arg2
= 0 ;
8574 bool temp2
= False
;
8575 PyObject
* obj0
= 0 ;
8576 PyObject
* obj1
= 0 ;
8578 (char *) "self",(char *) "extension", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8585 arg2
= wxString_in_helper(obj1
);
8586 if (arg2
== NULL
) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 (arg1
)->SetExtension((wxString
const &)*arg2
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 Py_INCREF(Py_None
); resultobj
= Py_None
;
8611 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8618 (char *) "self",(char *) "type", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8624 arg2
= (long)SWIG_As_long(obj1
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 (arg1
)->SetType(arg2
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 Py_INCREF(Py_None
); resultobj
= Py_None
;
8640 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8643 wxString
*arg2
= 0 ;
8644 bool temp2
= False
;
8645 PyObject
* obj0
= 0 ;
8646 PyObject
* obj1
= 0 ;
8648 (char *) "self",(char *) "mimetype", NULL
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8655 arg2
= wxString_in_helper(obj1
);
8656 if (arg2
== NULL
) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 Py_INCREF(Py_None
); resultobj
= Py_None
;
8681 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8684 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8686 return Py_BuildValue((char *)"");
8688 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxImageHistogram
*result
;
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 result
= (wxImageHistogram
*)new wxImageHistogram();
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8710 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 unsigned char arg1
;
8713 unsigned char arg2
;
8714 unsigned char arg3
;
8715 unsigned long result
;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8718 PyObject
* obj2
= 0 ;
8720 (char *) "r",(char *) "g",(char *) "b", NULL
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8724 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8726 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8728 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8744 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8746 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8747 unsigned char *arg2
= (unsigned char *) 0 ;
8748 unsigned char *arg3
= (unsigned char *) 0 ;
8749 unsigned char *arg4
= (unsigned char *) 0 ;
8750 unsigned char arg5
= (unsigned char) 1 ;
8751 unsigned char arg6
= (unsigned char) 0 ;
8752 unsigned char arg7
= (unsigned char) 0 ;
8754 unsigned char temp2
;
8756 unsigned char temp3
;
8758 unsigned char temp4
;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8762 PyObject
* obj2
= 0 ;
8763 PyObject
* obj3
= 0 ;
8765 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8768 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8769 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8770 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8775 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8779 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8796 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8797 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8798 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8799 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8800 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8801 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8808 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8811 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8813 return Py_BuildValue((char *)"");
8815 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxString
*arg1
= 0 ;
8818 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8819 int arg3
= (int) -1 ;
8821 bool temp1
= False
;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 PyObject
* obj2
= 0 ;
8826 (char *) "name",(char *) "type",(char *) "index", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8831 arg1
= wxString_in_helper(obj0
);
8832 if (arg1
== NULL
) SWIG_fail
;
8836 arg2
= (long)SWIG_As_long(obj1
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8840 arg3
= (int)SWIG_As_int(obj2
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8865 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxImage
*arg1
= (wxImage
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8870 (char *) "self", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 Py_INCREF(Py_None
); resultobj
= Py_None
;
8890 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxString
*arg1
= 0 ;
8893 wxString
*arg2
= 0 ;
8894 int arg3
= (int) -1 ;
8896 bool temp1
= False
;
8897 bool temp2
= False
;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8900 PyObject
* obj2
= 0 ;
8902 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8907 arg1
= wxString_in_helper(obj0
);
8908 if (arg1
== NULL
) SWIG_fail
;
8912 arg2
= wxString_in_helper(obj1
);
8913 if (arg2
== NULL
) SWIG_fail
;
8917 arg3
= (int)SWIG_As_int(obj2
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8950 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8952 wxInputStream
*arg1
= 0 ;
8953 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8954 int arg3
= (int) -1 ;
8956 wxPyInputStream
*temp1
;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8960 PyObject
* obj2
= 0 ;
8962 (char *) "stream",(char *) "type",(char *) "index", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8967 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8968 arg1
= temp1
->m_wxis
;
8971 PyErr_Clear(); // clear the failure of the wxPyConvert above
8972 arg1
= wxPyCBInputStream_create(obj0
, False
);
8974 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8981 arg2
= (long)SWIG_As_long(obj1
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8985 arg3
= (int)SWIG_As_int(obj2
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9010 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxInputStream
*arg1
= 0 ;
9013 wxString
*arg2
= 0 ;
9014 int arg3
= (int) -1 ;
9016 wxPyInputStream
*temp1
;
9018 bool temp2
= False
;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9021 PyObject
* obj2
= 0 ;
9023 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9028 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9029 arg1
= temp1
->m_wxis
;
9032 PyErr_Clear(); // clear the failure of the wxPyConvert above
9033 arg1
= wxPyCBInputStream_create(obj0
, False
);
9035 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9042 arg2
= wxString_in_helper(obj1
);
9043 if (arg2
== NULL
) SWIG_fail
;
9047 arg3
= (int)SWIG_As_int(obj2
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9080 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 int arg1
= (int) 0 ;
9083 int arg2
= (int) 0 ;
9084 bool arg3
= (bool) True
;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9088 PyObject
* obj2
= 0 ;
9090 (char *) "width",(char *) "height",(char *) "clear", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9095 arg1
= (int)SWIG_As_int(obj0
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9099 arg2
= (int)SWIG_As_int(obj1
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9103 arg3
= (bool)SWIG_As_bool(obj2
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9120 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxBitmap
*arg1
= 0 ;
9124 PyObject
* obj0
= 0 ;
9126 (char *) "bitmap", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9134 PyErr_SetString(PyExc_TypeError
,"null reference");
9138 if (!wxPyCheckForApp()) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9152 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9156 unsigned char *arg3
= (unsigned char *) 0 ;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9160 PyObject
* obj2
= 0 ;
9162 (char *) "width",(char *) "height",(char *) "data", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9166 arg1
= (int)SWIG_As_int(obj0
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9168 arg2
= (int)SWIG_As_int(obj1
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9170 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9186 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxImage
*arg1
= (wxImage
*) 0 ;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9193 PyObject
* obj2
= 0 ;
9195 (char *) "self",(char *) "width",(char *) "height", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9201 arg2
= (int)SWIG_As_int(obj1
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9203 arg3
= (int)SWIG_As_int(obj2
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 (arg1
)->Create(arg2
,arg3
);
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 Py_INCREF(Py_None
); resultobj
= Py_None
;
9219 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxImage
*arg1
= (wxImage
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9224 (char *) "self", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 Py_INCREF(Py_None
); resultobj
= Py_None
;
9244 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxImage
*arg1
= (wxImage
*) 0 ;
9249 SwigValueWrapper
< wxImage
> result
;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9252 PyObject
* obj2
= 0 ;
9254 (char *) "self",(char *) "width",(char *) "height", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 arg2
= (int)SWIG_As_int(obj1
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9262 arg3
= (int)SWIG_As_int(obj2
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (arg1
)->Scale(arg2
,arg3
);
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9272 wxImage
* resultptr
;
9273 resultptr
= new wxImage((wxImage
&) result
);
9274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9282 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 wxImage
*arg1
= (wxImage
*) 0 ;
9287 SwigValueWrapper
< wxImage
> result
;
9288 PyObject
* obj0
= 0 ;
9289 PyObject
* obj1
= 0 ;
9290 PyObject
* obj2
= 0 ;
9292 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9298 arg2
= (int)SWIG_As_int(obj1
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9300 arg3
= (int)SWIG_As_int(obj2
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9310 wxImage
* resultptr
;
9311 resultptr
= new wxImage((wxImage
&) result
);
9312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9320 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxImage
*arg1
= (wxImage
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9327 PyObject
* obj1
= 0 ;
9328 PyObject
* obj2
= 0 ;
9330 (char *) "self",(char *) "width",(char *) "height", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9336 arg2
= (int)SWIG_As_int(obj1
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9338 arg3
= (int)SWIG_As_int(obj2
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9344 result
= (wxImage
*) &_result_ref
;
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9357 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxImage
*arg1
= (wxImage
*) 0 ;
9362 unsigned char arg4
;
9363 unsigned char arg5
;
9364 unsigned char arg6
;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9367 PyObject
* obj2
= 0 ;
9368 PyObject
* obj3
= 0 ;
9369 PyObject
* obj4
= 0 ;
9370 PyObject
* obj5
= 0 ;
9372 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9378 arg2
= (int)SWIG_As_int(obj1
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9380 arg3
= (int)SWIG_As_int(obj2
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9382 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9384 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9386 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 Py_INCREF(Py_None
); resultobj
= Py_None
;
9402 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxImage
*arg1
= (wxImage
*) 0 ;
9407 unsigned char result
;
9408 PyObject
* obj0
= 0 ;
9409 PyObject
* obj1
= 0 ;
9410 PyObject
* obj2
= 0 ;
9412 (char *) "self",(char *) "x",(char *) "y", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 arg2
= (int)SWIG_As_int(obj1
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9420 arg3
= (int)SWIG_As_int(obj2
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9436 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxImage
*arg1
= (wxImage
*) 0 ;
9441 unsigned char result
;
9442 PyObject
* obj0
= 0 ;
9443 PyObject
* obj1
= 0 ;
9444 PyObject
* obj2
= 0 ;
9446 (char *) "self",(char *) "x",(char *) "y", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9452 arg2
= (int)SWIG_As_int(obj1
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9454 arg3
= (int)SWIG_As_int(obj2
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9470 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxImage
*arg1
= (wxImage
*) 0 ;
9475 unsigned char result
;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9478 PyObject
* obj2
= 0 ;
9480 (char *) "self",(char *) "x",(char *) "y", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9486 arg2
= (int)SWIG_As_int(obj1
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9488 arg3
= (int)SWIG_As_int(obj2
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9504 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxImage
*arg1
= (wxImage
*) 0 ;
9509 unsigned char arg4
;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9512 PyObject
* obj2
= 0 ;
9513 PyObject
* obj3
= 0 ;
9515 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9521 arg2
= (int)SWIG_As_int(obj1
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9523 arg3
= (int)SWIG_As_int(obj2
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9525 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 Py_INCREF(Py_None
); resultobj
= Py_None
;
9541 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
;
9543 wxImage
*arg1
= (wxImage
*) 0 ;
9546 unsigned char result
;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9549 PyObject
* obj2
= 0 ;
9551 (char *) "self",(char *) "x",(char *) "y", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9557 arg2
= (int)SWIG_As_int(obj1
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9559 arg3
= (int)SWIG_As_int(obj2
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9575 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxImage
*arg1
= (wxImage
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9581 (char *) "self", NULL
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 result
= (bool)(arg1
)->HasAlpha();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9603 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxImage
*arg1
= (wxImage
*) 0 ;
9606 byte
*arg2
= (byte
*) 0 ;
9607 byte
*arg3
= (byte
*) 0 ;
9608 byte
*arg4
= (byte
*) 0 ;
9609 byte arg5
= (byte
) 0 ;
9610 byte arg6
= (byte
) 0 ;
9611 byte arg7
= (byte
) 0 ;
9619 PyObject
* obj0
= 0 ;
9620 PyObject
* obj1
= 0 ;
9621 PyObject
* obj2
= 0 ;
9622 PyObject
* obj3
= 0 ;
9624 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9627 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9628 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9629 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9634 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9638 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9642 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9655 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9656 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9657 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9658 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9659 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9660 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9667 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxImage
*arg1
= (wxImage
*) 0 ;
9670 byte arg2
= (byte
) 128 ;
9672 PyObject
* obj0
= 0 ;
9673 PyObject
* obj1
= 0 ;
9675 (char *) "self",(char *) "threshold", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9682 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9701 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
;
9703 wxImage
*arg1
= (wxImage
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9711 PyObject
* obj2
= 0 ;
9712 PyObject
* obj3
= 0 ;
9713 PyObject
* obj4
= 0 ;
9715 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9725 PyErr_SetString(PyExc_TypeError
,"null reference");
9728 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9730 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9732 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9750 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxString
*arg1
= 0 ;
9754 bool temp1
= False
;
9755 PyObject
* obj0
= 0 ;
9757 (char *) "name", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9762 arg1
= wxString_in_helper(obj0
);
9763 if (arg1
== NULL
) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9790 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxString
*arg1
= 0 ;
9793 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9795 bool temp1
= False
;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9799 (char *) "name",(char *) "type", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9804 arg1
= wxString_in_helper(obj0
);
9805 if (arg1
== NULL
) SWIG_fail
;
9809 arg2
= (long)SWIG_As_long(obj1
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= SWIG_From_int((int)result
);
9834 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxImage
*arg1
= (wxImage
*) 0 ;
9837 wxString
*arg2
= 0 ;
9838 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9839 int arg4
= (int) -1 ;
9841 bool temp2
= False
;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9844 PyObject
* obj2
= 0 ;
9845 PyObject
* obj3
= 0 ;
9847 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9854 arg2
= wxString_in_helper(obj1
);
9855 if (arg2
== NULL
) SWIG_fail
;
9859 arg3
= (long)SWIG_As_long(obj2
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9863 arg4
= (int)SWIG_As_int(obj3
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9890 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxImage
*arg1
= (wxImage
*) 0 ;
9893 wxString
*arg2
= 0 ;
9894 wxString
*arg3
= 0 ;
9895 int arg4
= (int) -1 ;
9897 bool temp2
= False
;
9898 bool temp3
= False
;
9899 PyObject
* obj0
= 0 ;
9900 PyObject
* obj1
= 0 ;
9901 PyObject
* obj2
= 0 ;
9902 PyObject
* obj3
= 0 ;
9904 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9911 arg2
= wxString_in_helper(obj1
);
9912 if (arg2
== NULL
) SWIG_fail
;
9916 arg3
= wxString_in_helper(obj2
);
9917 if (arg3
== NULL
) SWIG_fail
;
9921 arg4
= (int)SWIG_As_int(obj3
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9956 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxImage
*arg1
= (wxImage
*) 0 ;
9959 wxString
*arg2
= 0 ;
9962 bool temp2
= False
;
9963 PyObject
* obj0
= 0 ;
9964 PyObject
* obj1
= 0 ;
9965 PyObject
* obj2
= 0 ;
9967 (char *) "self",(char *) "name",(char *) "type", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9974 arg2
= wxString_in_helper(obj1
);
9975 if (arg2
== NULL
) SWIG_fail
;
9978 arg3
= (int)SWIG_As_int(obj2
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10004 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxImage
*arg1
= (wxImage
*) 0 ;
10007 wxString
*arg2
= 0 ;
10008 wxString
*arg3
= 0 ;
10010 bool temp2
= False
;
10011 bool temp3
= False
;
10012 PyObject
* obj0
= 0 ;
10013 PyObject
* obj1
= 0 ;
10014 PyObject
* obj2
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10023 arg2
= wxString_in_helper(obj1
);
10024 if (arg2
== NULL
) SWIG_fail
;
10028 arg3
= wxString_in_helper(obj2
);
10029 if (arg3
== NULL
) SWIG_fail
;
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10064 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxInputStream
*arg1
= 0 ;
10068 wxPyInputStream
*temp1
;
10070 PyObject
* obj0
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "stream", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10077 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10078 arg1
= temp1
->m_wxis
;
10081 PyErr_Clear(); // clear the failure of the wxPyConvert above
10082 arg1
= wxPyCBInputStream_create(obj0
, False
);
10083 if (arg1
== NULL
) {
10084 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (bool)wxImage::CanRead(*arg1
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10114 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxImage
*arg1
= (wxImage
*) 0 ;
10117 wxInputStream
*arg2
= 0 ;
10118 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10119 int arg4
= (int) -1 ;
10121 wxPyInputStream
*temp2
;
10123 PyObject
* obj0
= 0 ;
10124 PyObject
* obj1
= 0 ;
10125 PyObject
* obj2
= 0 ;
10126 PyObject
* obj3
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10135 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10136 arg2
= temp2
->m_wxis
;
10139 PyErr_Clear(); // clear the failure of the wxPyConvert above
10140 arg2
= wxPyCBInputStream_create(obj1
, False
);
10141 if (arg2
== NULL
) {
10142 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10149 arg3
= (long)SWIG_As_long(obj2
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10153 arg4
= (int)SWIG_As_int(obj3
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10180 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
*resultobj
;
10182 wxImage
*arg1
= (wxImage
*) 0 ;
10183 wxInputStream
*arg2
= 0 ;
10184 wxString
*arg3
= 0 ;
10185 int arg4
= (int) -1 ;
10187 wxPyInputStream
*temp2
;
10189 bool temp3
= False
;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 PyObject
* obj2
= 0 ;
10193 PyObject
* obj3
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10202 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10203 arg2
= temp2
->m_wxis
;
10206 PyErr_Clear(); // clear the failure of the wxPyConvert above
10207 arg2
= wxPyCBInputStream_create(obj1
, False
);
10208 if (arg2
== NULL
) {
10209 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10216 arg3
= wxString_in_helper(obj2
);
10217 if (arg3
== NULL
) SWIG_fail
;
10221 arg4
= (int)SWIG_As_int(obj3
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10256 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxImage
*arg1
= (wxImage
*) 0 ;
10260 PyObject
* obj0
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (bool)(arg1
)->Ok();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10284 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
*resultobj
;
10286 wxImage
*arg1
= (wxImage
*) 0 ;
10288 PyObject
* obj0
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (int)(arg1
)->GetWidth();
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= SWIG_From_int((int)result
);
10310 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxImage
*arg1
= (wxImage
*) 0 ;
10314 PyObject
* obj0
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (int)(arg1
)->GetHeight();
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= SWIG_From_int((int)result
);
10336 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxImage
*arg1
= (wxImage
*) 0 ;
10340 PyObject
* obj0
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= wxImage_GetSize(arg1
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10356 wxSize
* resultptr
;
10357 resultptr
= new wxSize((wxSize
&) result
);
10358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10366 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxImage
*arg1
= (wxImage
*) 0 ;
10370 SwigValueWrapper
< wxImage
> result
;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self",(char *) "rect", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10393 wxImage
* resultptr
;
10394 resultptr
= new wxImage((wxImage
&) result
);
10395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10403 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
;
10405 wxImage
*arg1
= (wxImage
*) 0 ;
10406 SwigValueWrapper
< wxImage
> result
;
10407 PyObject
* obj0
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "self", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (arg1
)->Copy();
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10423 wxImage
* resultptr
;
10424 resultptr
= new wxImage((wxImage
&) result
);
10425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10433 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxImage
*arg1
= (wxImage
*) 0 ;
10436 wxImage
*arg2
= 0 ;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 PyObject
* obj2
= 0 ;
10442 PyObject
* obj3
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10453 if (arg2
== NULL
) {
10454 PyErr_SetString(PyExc_TypeError
,"null reference");
10457 arg3
= (int)SWIG_As_int(obj2
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10459 arg4
= (int)SWIG_As_int(obj3
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 Py_INCREF(Py_None
); resultobj
= Py_None
;
10475 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxImage
*arg1
= (wxImage
*) 0 ;
10479 PyObject
* obj0
= 0 ;
10480 char *kwnames
[] = {
10481 (char *) "self", NULL
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= (PyObject
*)wxImage_GetData(arg1
);
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= result
;
10501 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
;
10503 wxImage
*arg1
= (wxImage
*) 0 ;
10504 PyObject
*arg2
= (PyObject
*) 0 ;
10505 PyObject
* obj0
= 0 ;
10506 PyObject
* obj1
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "data", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 wxImage_SetData(arg1
,arg2
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 Py_INCREF(Py_None
); resultobj
= Py_None
;
10529 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxImage
*arg1
= (wxImage
*) 0 ;
10533 PyObject
* obj0
= 0 ;
10534 char *kwnames
[] = {
10535 (char *) "self", NULL
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= result
;
10555 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
;
10557 wxImage
*arg1
= (wxImage
*) 0 ;
10558 PyObject
*arg2
= (PyObject
*) 0 ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "self",(char *) "data", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 wxImage_SetDataBuffer(arg1
,arg2
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 Py_INCREF(Py_None
); resultobj
= Py_None
;
10583 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 wxImage
*arg1
= (wxImage
*) 0 ;
10587 PyObject
* obj0
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 resultobj
= result
;
10609 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxImage
*arg1
= (wxImage
*) 0 ;
10612 PyObject
*arg2
= (PyObject
*) 0 ;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "self",(char *) "data", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 wxImage_SetAlphaData(arg1
,arg2
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10637 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxImage
*arg1
= (wxImage
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= result
;
10663 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10665 wxImage
*arg1
= (wxImage
*) 0 ;
10666 PyObject
*arg2
= (PyObject
*) 0 ;
10667 PyObject
* obj0
= 0 ;
10668 PyObject
* obj1
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self",(char *) "data", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 wxImage_SetAlphaBuffer(arg1
,arg2
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 Py_INCREF(Py_None
); resultobj
= Py_None
;
10691 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxImage
*arg1
= (wxImage
*) 0 ;
10694 unsigned char arg2
;
10695 unsigned char arg3
;
10696 unsigned char arg4
;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 PyObject
* obj2
= 0 ;
10700 PyObject
* obj3
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10708 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10710 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10712 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 Py_INCREF(Py_None
); resultobj
= Py_None
;
10728 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxImage
*arg1
= (wxImage
*) 0 ;
10731 unsigned char result
;
10732 PyObject
* obj0
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= (unsigned char)(arg1
)->GetMaskRed();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10754 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxImage
*arg1
= (wxImage
*) 0 ;
10757 unsigned char result
;
10758 PyObject
* obj0
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 result
= (unsigned char)(arg1
)->GetMaskGreen();
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10780 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxImage
*arg1
= (wxImage
*) 0 ;
10783 unsigned char result
;
10784 PyObject
* obj0
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 result
= (unsigned char)(arg1
)->GetMaskBlue();
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10799 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10806 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxImage
*arg1
= (wxImage
*) 0 ;
10809 bool arg2
= (bool) True
;
10810 PyObject
* obj0
= 0 ;
10811 PyObject
* obj1
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self",(char *) "mask", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 arg2
= (bool)SWIG_As_bool(obj1
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 (arg1
)->SetMask(arg2
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 Py_INCREF(Py_None
); resultobj
= Py_None
;
10837 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxImage
*arg1
= (wxImage
*) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 result
= (bool)(arg1
)->HasMask();
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10865 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
;
10867 wxImage
*arg1
= (wxImage
*) 0 ;
10869 wxPoint
*arg3
= 0 ;
10870 bool arg4
= (bool) True
;
10871 wxPoint
*arg5
= (wxPoint
*) NULL
;
10872 SwigValueWrapper
< wxImage
> result
;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 PyObject
* obj2
= 0 ;
10877 PyObject
* obj3
= 0 ;
10878 PyObject
* obj4
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10886 arg2
= (double)SWIG_As_double(obj1
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10890 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10893 arg4
= (bool)SWIG_As_bool(obj3
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10897 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10908 wxImage
* resultptr
;
10909 resultptr
= new wxImage((wxImage
&) result
);
10910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10918 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxImage
*arg1
= (wxImage
*) 0 ;
10921 bool arg2
= (bool) True
;
10922 SwigValueWrapper
< wxImage
> result
;
10923 PyObject
* obj0
= 0 ;
10924 PyObject
* obj1
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "self",(char *) "clockwise", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10933 arg2
= (bool)SWIG_As_bool(obj1
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (arg1
)->Rotate90(arg2
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 wxImage
* resultptr
;
10945 resultptr
= new wxImage((wxImage
&) result
);
10946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10954 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxImage
*arg1
= (wxImage
*) 0 ;
10957 bool arg2
= (bool) True
;
10958 SwigValueWrapper
< wxImage
> result
;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self",(char *) "horizontally", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10969 arg2
= (bool)SWIG_As_bool(obj1
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10974 result
= (arg1
)->Mirror(arg2
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10980 wxImage
* resultptr
;
10981 resultptr
= new wxImage((wxImage
&) result
);
10982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10990 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxImage
*arg1
= (wxImage
*) 0 ;
10993 unsigned char arg2
;
10994 unsigned char arg3
;
10995 unsigned char arg4
;
10996 unsigned char arg5
;
10997 unsigned char arg6
;
10998 unsigned char arg7
;
10999 PyObject
* obj0
= 0 ;
11000 PyObject
* obj1
= 0 ;
11001 PyObject
* obj2
= 0 ;
11002 PyObject
* obj3
= 0 ;
11003 PyObject
* obj4
= 0 ;
11004 PyObject
* obj5
= 0 ;
11005 PyObject
* obj6
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11013 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11015 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11017 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11019 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11021 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11023 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 Py_INCREF(Py_None
); resultobj
= Py_None
;
11039 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxImage
*arg1
= (wxImage
*) 0 ;
11042 unsigned char arg2
;
11043 unsigned char arg3
;
11044 unsigned char arg4
;
11045 SwigValueWrapper
< wxImage
> result
;
11046 PyObject
* obj0
= 0 ;
11047 PyObject
* obj1
= 0 ;
11048 PyObject
* obj2
= 0 ;
11049 PyObject
* obj3
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11057 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11059 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11061 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11071 wxImage
* resultptr
;
11072 resultptr
= new wxImage((wxImage
&) result
);
11073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11081 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxImage
*arg1
= (wxImage
*) 0 ;
11084 wxString
*arg2
= 0 ;
11085 wxString
*arg3
= 0 ;
11086 bool temp2
= False
;
11087 bool temp3
= False
;
11088 PyObject
* obj0
= 0 ;
11089 PyObject
* obj1
= 0 ;
11090 PyObject
* obj2
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self",(char *) "name",(char *) "value", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11099 arg2
= wxString_in_helper(obj1
);
11100 if (arg2
== NULL
) SWIG_fail
;
11104 arg3
= wxString_in_helper(obj2
);
11105 if (arg3
== NULL
) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 Py_INCREF(Py_None
); resultobj
= Py_None
;
11138 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxImage
*arg1
= (wxImage
*) 0 ;
11141 wxString
*arg2
= 0 ;
11143 bool temp2
= False
;
11144 PyObject
* obj0
= 0 ;
11145 PyObject
* obj1
= 0 ;
11146 PyObject
* obj2
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self",(char *) "name",(char *) "value", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11155 arg2
= wxString_in_helper(obj1
);
11156 if (arg2
== NULL
) SWIG_fail
;
11159 arg3
= (int)SWIG_As_int(obj2
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11183 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxImage
*arg1
= (wxImage
*) 0 ;
11186 wxString
*arg2
= 0 ;
11188 bool temp2
= False
;
11189 PyObject
* obj0
= 0 ;
11190 PyObject
* obj1
= 0 ;
11191 char *kwnames
[] = {
11192 (char *) "self",(char *) "name", NULL
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11199 arg2
= wxString_in_helper(obj1
);
11200 if (arg2
== NULL
) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11231 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxImage
*arg1
= (wxImage
*) 0 ;
11234 wxString
*arg2
= 0 ;
11236 bool temp2
= False
;
11237 PyObject
* obj0
= 0 ;
11238 PyObject
* obj1
= 0 ;
11239 char *kwnames
[] = {
11240 (char *) "self",(char *) "name", NULL
11243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11247 arg2
= wxString_in_helper(obj1
);
11248 if (arg2
== NULL
) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 resultobj
= SWIG_From_int((int)result
);
11273 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxImage
*arg1
= (wxImage
*) 0 ;
11276 wxString
*arg2
= 0 ;
11278 bool temp2
= False
;
11279 PyObject
* obj0
= 0 ;
11280 PyObject
* obj1
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self",(char *) "name", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11289 arg2
= wxString_in_helper(obj1
);
11290 if (arg2
== NULL
) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11317 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
;
11319 wxImage
*arg1
= (wxImage
*) 0 ;
11320 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11321 unsigned long result
;
11322 PyObject
* obj0
= 0 ;
11323 PyObject
* obj1
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self",(char *) "stopafter", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11332 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11349 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxImage
*arg1
= (wxImage
*) 0 ;
11352 wxImageHistogram
*arg2
= 0 ;
11353 unsigned long result
;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self",(char *) "h", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11366 if (arg2
== NULL
) {
11367 PyErr_SetString(PyExc_TypeError
,"null reference");
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11384 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "handler", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 wxImage::AddHandler(arg1
);
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 Py_INCREF(Py_None
); resultobj
= Py_None
;
11409 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11412 PyObject
* obj0
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "handler", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 wxImage::InsertHandler(arg1
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 Py_INCREF(Py_None
); resultobj
= Py_None
;
11434 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11435 PyObject
*resultobj
;
11436 wxString
*arg1
= 0 ;
11438 bool temp1
= False
;
11439 PyObject
* obj0
= 0 ;
11440 char *kwnames
[] = {
11441 (char *) "name", NULL
11444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11446 arg1
= wxString_in_helper(obj0
);
11447 if (arg1
== NULL
) SWIG_fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11474 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
;
11477 char *kwnames
[] = {
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11484 result
= wxImage::GetImageExtWildcard();
11486 wxPyEndAllowThreads(__tstate
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11502 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxImage
*arg1
= (wxImage
*) 0 ;
11505 int arg2
= (int) -1 ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 char *kwnames
[] = {
11510 (char *) "self",(char *) "depth", NULL
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11517 arg2
= (int)SWIG_As_int(obj1
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 if (!wxPyCheckForApp()) SWIG_fail
;
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11529 wxBitmap
* resultptr
;
11530 resultptr
= new wxBitmap((wxBitmap
&) result
);
11531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11539 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxImage
*arg1
= (wxImage
*) 0 ;
11542 unsigned char arg2
;
11543 unsigned char arg3
;
11544 unsigned char arg4
;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 PyObject
* obj2
= 0 ;
11549 PyObject
* obj3
= 0 ;
11550 char *kwnames
[] = {
11551 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11557 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11559 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11561 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 if (!wxPyCheckForApp()) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11572 wxBitmap
* resultptr
;
11573 resultptr
= new wxBitmap((wxBitmap
&) result
);
11574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11582 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11585 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11587 return Py_BuildValue((char *)"");
11589 static int _wrap_NullImage_set(PyObject
*) {
11590 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11595 static PyObject
*_wrap_NullImage_get() {
11598 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11603 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11604 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11609 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11614 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11616 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11623 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11624 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11629 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11634 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11636 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11643 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11644 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11649 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11654 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11656 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11663 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11664 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11669 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11674 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11676 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11683 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11684 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11689 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11694 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11696 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11703 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxBMPHandler
*result
;
11706 char *kwnames
[] = {
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (wxBMPHandler
*)new wxBMPHandler();
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11725 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11728 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11730 return Py_BuildValue((char *)"");
11732 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxICOHandler
*result
;
11735 char *kwnames
[] = {
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (wxICOHandler
*)new wxICOHandler();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11754 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11757 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11759 return Py_BuildValue((char *)"");
11761 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxCURHandler
*result
;
11764 char *kwnames
[] = {
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (wxCURHandler
*)new wxCURHandler();
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11783 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11786 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11788 return Py_BuildValue((char *)"");
11790 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
;
11792 wxANIHandler
*result
;
11793 char *kwnames
[] = {
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (wxANIHandler
*)new wxANIHandler();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11812 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11815 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11817 return Py_BuildValue((char *)"");
11819 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxPNGHandler
*result
;
11822 char *kwnames
[] = {
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 result
= (wxPNGHandler
*)new wxPNGHandler();
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11841 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11844 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11846 return Py_BuildValue((char *)"");
11848 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxGIFHandler
*result
;
11851 char *kwnames
[] = {
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 result
= (wxGIFHandler
*)new wxGIFHandler();
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11870 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11873 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11875 return Py_BuildValue((char *)"");
11877 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxPCXHandler
*result
;
11880 char *kwnames
[] = {
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 result
= (wxPCXHandler
*)new wxPCXHandler();
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11899 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11902 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11904 return Py_BuildValue((char *)"");
11906 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxJPEGHandler
*result
;
11909 char *kwnames
[] = {
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11928 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11931 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11933 return Py_BuildValue((char *)"");
11935 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxPNMHandler
*result
;
11938 char *kwnames
[] = {
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (wxPNMHandler
*)new wxPNMHandler();
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11957 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11960 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11962 return Py_BuildValue((char *)"");
11964 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxXPMHandler
*result
;
11967 char *kwnames
[] = {
11971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (wxXPMHandler
*)new wxXPMHandler();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11986 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
11988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11989 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11991 return Py_BuildValue((char *)"");
11993 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxTIFFHandler
*result
;
11996 char *kwnames
[] = {
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12015 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12018 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12020 return Py_BuildValue((char *)"");
12022 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxImage
*arg1
= 0 ;
12025 wxImage
*arg2
= 0 ;
12026 int arg3
= (int) 236 ;
12027 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12029 PyObject
* obj0
= 0 ;
12030 PyObject
* obj1
= 0 ;
12031 PyObject
* obj2
= 0 ;
12032 PyObject
* obj3
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12041 if (arg1
== NULL
) {
12042 PyErr_SetString(PyExc_TypeError
,"null reference");
12045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12048 if (arg2
== NULL
) {
12049 PyErr_SetString(PyExc_TypeError
,"null reference");
12053 arg3
= (int)SWIG_As_int(obj2
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 arg4
= (int)SWIG_As_int(obj3
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12076 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12079 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12081 return Py_BuildValue((char *)"");
12083 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxEvtHandler
*result
;
12086 char *kwnames
[] = {
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (wxEvtHandler
*)new wxEvtHandler();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12105 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12108 wxEvtHandler
*result
;
12109 PyObject
* obj0
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= wxPyMake_wxObject(result
, 0);
12133 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12136 wxEvtHandler
*result
;
12137 PyObject
* obj0
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= wxPyMake_wxObject(result
, 0);
12161 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12164 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 PyObject
* obj1
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self",(char *) "handler", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 (arg1
)->SetNextHandler(arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 Py_INCREF(Py_None
); resultobj
= Py_None
;
12190 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12193 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 PyObject
* obj1
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self",(char *) "handler", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 (arg1
)->SetPreviousHandler(arg2
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12247 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 PyObject
* obj1
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self",(char *) "enabled", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12260 arg2
= (bool)SWIG_As_bool(obj1
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 (arg1
)->SetEvtHandlerEnabled(arg2
);
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 Py_INCREF(Py_None
); resultobj
= Py_None
;
12276 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12279 wxEvent
*arg2
= 0 ;
12281 PyObject
* obj0
= 0 ;
12282 PyObject
* obj1
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self",(char *) "event", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12293 if (arg2
== NULL
) {
12294 PyErr_SetString(PyExc_TypeError
,"null reference");
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12313 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12316 wxEvent
*arg2
= 0 ;
12317 PyObject
* obj0
= 0 ;
12318 PyObject
* obj1
= 0 ;
12319 char *kwnames
[] = {
12320 (char *) "self",(char *) "event", NULL
12323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12329 if (arg2
== NULL
) {
12330 PyErr_SetString(PyExc_TypeError
,"null reference");
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 (arg1
)->AddPendingEvent(*arg2
);
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 Py_INCREF(Py_None
); resultobj
= Py_None
;
12347 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12350 PyObject
* obj0
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 (arg1
)->ProcessPendingEvents();
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 Py_INCREF(Py_None
); resultobj
= Py_None
;
12372 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12378 PyObject
*arg5
= (PyObject
*) 0 ;
12379 PyObject
* obj0
= 0 ;
12380 PyObject
* obj1
= 0 ;
12381 PyObject
* obj2
= 0 ;
12382 PyObject
* obj3
= 0 ;
12383 PyObject
* obj4
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12391 arg2
= (int)SWIG_As_int(obj1
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12393 arg3
= (int)SWIG_As_int(obj2
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12395 arg4
= (int)SWIG_As_int(obj3
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 Py_INCREF(Py_None
); resultobj
= Py_None
;
12412 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
;
12414 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12416 int arg3
= (int) -1 ;
12417 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12419 PyObject
* obj0
= 0 ;
12420 PyObject
* obj1
= 0 ;
12421 PyObject
* obj2
= 0 ;
12422 PyObject
* obj3
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12430 arg2
= (int)SWIG_As_int(obj1
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 arg3
= (int)SWIG_As_int(obj2
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12437 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12456 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12459 PyObject
*arg2
= (PyObject
*) 0 ;
12460 PyObject
* obj0
= 0 ;
12461 PyObject
* obj1
= 0 ;
12462 char *kwnames
[] = {
12463 (char *) "self",(char *) "_self", NULL
12466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 wxEvtHandler__setOORInfo(arg1
,arg2
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 Py_INCREF(Py_None
); resultobj
= Py_None
;
12484 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12487 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12489 return Py_BuildValue((char *)"");
12491 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxEventType result
;
12494 char *kwnames
[] = {
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (wxEventType
)wxNewEventType();
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= SWIG_From_int((int)result
);
12513 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
;
12515 wxEvent
*arg1
= (wxEvent
*) 0 ;
12516 PyObject
* obj0
= 0 ;
12517 char *kwnames
[] = {
12518 (char *) "self", NULL
12521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 Py_INCREF(Py_None
); resultobj
= Py_None
;
12538 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxEvent
*arg1
= (wxEvent
*) 0 ;
12542 PyObject
* obj0
= 0 ;
12543 PyObject
* obj1
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self",(char *) "typ", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12551 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 (arg1
)->SetEventType(arg2
);
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12560 Py_INCREF(Py_None
); resultobj
= Py_None
;
12567 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxEvent
*arg1
= (wxEvent
*) 0 ;
12570 wxEventType result
;
12571 PyObject
* obj0
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_From_int((int)result
);
12593 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxEvent
*arg1
= (wxEvent
*) 0 ;
12597 PyObject
* obj0
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= wxPyMake_wxObject(result
, 0);
12621 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxEvent
*arg1
= (wxEvent
*) 0 ;
12624 wxObject
*arg2
= (wxObject
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 PyObject
* obj1
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self",(char *) "obj", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 (arg1
)->SetEventObject(arg2
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxEvent
*arg1
= (wxEvent
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= SWIG_From_long((long)result
);
12676 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxEvent
*arg1
= (wxEvent
*) 0 ;
12679 long arg2
= (long) 0 ;
12680 PyObject
* obj0
= 0 ;
12681 PyObject
* obj1
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self",(char *) "ts", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12690 arg2
= (long)SWIG_As_long(obj1
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->SetTimestamp(arg2
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 Py_INCREF(Py_None
); resultobj
= Py_None
;
12707 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxEvent
*arg1
= (wxEvent
*) 0 ;
12711 PyObject
* obj0
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self", NULL
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (int)((wxEvent
const *)arg1
)->GetId();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= SWIG_From_int((int)result
);
12733 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxEvent
*arg1
= (wxEvent
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 PyObject
* obj1
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self",(char *) "Id", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12746 arg2
= (int)SWIG_As_int(obj1
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 (arg1
)->SetId(arg2
);
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12755 Py_INCREF(Py_None
); resultobj
= Py_None
;
12762 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
;
12764 wxEvent
*arg1
= (wxEvent
*) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 char *kwnames
[] = {
12768 (char *) "self", NULL
12771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12790 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxEvent
*arg1
= (wxEvent
*) 0 ;
12793 bool arg2
= (bool) True
;
12794 PyObject
* obj0
= 0 ;
12795 PyObject
* obj1
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "self",(char *) "skip", NULL
12800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12804 arg2
= (bool)SWIG_As_bool(obj1
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 (arg1
)->Skip(arg2
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 Py_INCREF(Py_None
); resultobj
= Py_None
;
12821 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxEvent
*arg1
= (wxEvent
*) 0 ;
12825 PyObject
* obj0
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12849 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxEvent
*arg1
= (wxEvent
*) 0 ;
12853 PyObject
* obj0
= 0 ;
12854 char *kwnames
[] = {
12855 (char *) "self", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12877 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxEvent
*arg1
= (wxEvent
*) 0 ;
12881 PyObject
* obj0
= 0 ;
12882 char *kwnames
[] = {
12883 (char *) "self", NULL
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 result
= (int)(arg1
)->StopPropagation();
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 resultobj
= SWIG_From_int((int)result
);
12903 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxEvent
*arg1
= (wxEvent
*) 0 ;
12907 PyObject
* obj0
= 0 ;
12908 PyObject
* obj1
= 0 ;
12909 char *kwnames
[] = {
12910 (char *) "self",(char *) "propagationLevel", NULL
12913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12916 arg2
= (int)SWIG_As_int(obj1
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 (arg1
)->ResumePropagation(arg2
);
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12925 Py_INCREF(Py_None
); resultobj
= Py_None
;
12932 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12933 PyObject
*resultobj
;
12934 wxEvent
*arg1
= (wxEvent
*) 0 ;
12936 PyObject
* obj0
= 0 ;
12937 char *kwnames
[] = {
12938 (char *) "self", NULL
12941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 result
= (wxEvent
*)(arg1
)->Clone();
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12958 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12961 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12963 return Py_BuildValue((char *)"");
12965 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxEvent
*arg1
= 0 ;
12968 wxPropagationDisabler
*result
;
12969 PyObject
* obj0
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "event", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12978 if (arg1
== NULL
) {
12979 PyErr_SetString(PyExc_TypeError
,"null reference");
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12996 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 Py_INCREF(Py_None
); resultobj
= Py_None
;
13021 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13024 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13026 return Py_BuildValue((char *)"");
13028 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxEvent
*arg1
= 0 ;
13031 wxPropagateOnce
*result
;
13032 PyObject
* obj0
= 0 ;
13033 char *kwnames
[] = {
13034 (char *) "event", NULL
13037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13041 if (arg1
== NULL
) {
13042 PyErr_SetString(PyExc_TypeError
,"null reference");
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13059 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13062 PyObject
* obj0
= 0 ;
13063 char *kwnames
[] = {
13064 (char *) "self", NULL
13067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13087 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13089 return Py_BuildValue((char *)"");
13091 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13094 int arg2
= (int) 0 ;
13095 wxCommandEvent
*result
;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "commandType",(char *) "winid", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13104 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13108 arg2
= (int)SWIG_As_int(obj1
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13125 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13129 PyObject
* obj0
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= SWIG_From_int((int)result
);
13151 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13154 wxString
*arg2
= 0 ;
13155 bool temp2
= False
;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self",(char *) "s", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13166 arg2
= wxString_in_helper(obj1
);
13167 if (arg2
== NULL
) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 (arg1
)->SetString((wxString
const &)*arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 Py_INCREF(Py_None
); resultobj
= Py_None
;
13192 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "self", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13224 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
;
13226 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13228 PyObject
* obj0
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13252 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
;
13254 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13256 PyObject
* obj0
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13280 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "extraLong", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13293 arg2
= (long)SWIG_As_long(obj1
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 (arg1
)->SetExtraLong(arg2
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 Py_INCREF(Py_None
); resultobj
= Py_None
;
13309 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_From_long((long)result
);
13335 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 char *kwnames
[] = {
13342 (char *) "self",(char *) "i", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13348 arg2
= (int)SWIG_As_int(obj1
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 (arg1
)->SetInt(arg2
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 Py_INCREF(Py_None
); resultobj
= Py_None
;
13364 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_From_long((long)result
);
13390 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13394 PyObject
* obj0
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13416 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13419 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13421 return Py_BuildValue((char *)"");
13423 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13426 int arg2
= (int) 0 ;
13427 wxNotifyEvent
*result
;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "commandType",(char *) "winid", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13436 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13440 arg2
= (int)SWIG_As_int(obj1
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13457 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
;
13459 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13460 PyObject
* obj0
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 Py_INCREF(Py_None
); resultobj
= Py_None
;
13482 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13485 PyObject
* obj0
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 Py_INCREF(Py_None
); resultobj
= Py_None
;
13507 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13511 PyObject
* obj0
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "self", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (bool)(arg1
)->IsAllowed();
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13535 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13538 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13540 return Py_BuildValue((char *)"");
13542 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13545 int arg2
= (int) 0 ;
13546 int arg3
= (int) 0 ;
13547 int arg4
= (int) 0 ;
13548 wxScrollEvent
*result
;
13549 PyObject
* obj0
= 0 ;
13550 PyObject
* obj1
= 0 ;
13551 PyObject
* obj2
= 0 ;
13552 PyObject
* obj3
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13559 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13563 arg2
= (int)SWIG_As_int(obj1
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13567 arg3
= (int)SWIG_As_int(obj2
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13571 arg4
= (int)SWIG_As_int(obj3
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13588 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= SWIG_From_int((int)result
);
13614 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_From_int((int)result
);
13640 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
;
13642 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13644 PyObject
* obj0
= 0 ;
13645 PyObject
* obj1
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self",(char *) "orient", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13653 arg2
= (int)SWIG_As_int(obj1
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 (arg1
)->SetOrientation(arg2
);
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13662 Py_INCREF(Py_None
); resultobj
= Py_None
;
13669 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
;
13671 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13673 PyObject
* obj0
= 0 ;
13674 PyObject
* obj1
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self",(char *) "pos", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13682 arg2
= (int)SWIG_As_int(obj1
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 (arg1
)->SetPosition(arg2
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 Py_INCREF(Py_None
); resultobj
= Py_None
;
13698 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13701 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13703 return Py_BuildValue((char *)"");
13705 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
;
13707 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13708 int arg2
= (int) 0 ;
13709 int arg3
= (int) 0 ;
13710 wxScrollWinEvent
*result
;
13711 PyObject
* obj0
= 0 ;
13712 PyObject
* obj1
= 0 ;
13713 PyObject
* obj2
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13720 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13724 arg2
= (int)SWIG_As_int(obj1
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13728 arg3
= (int)SWIG_As_int(obj2
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13745 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13746 PyObject
*resultobj
;
13747 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13749 PyObject
* obj0
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 resultobj
= SWIG_From_int((int)result
);
13771 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13775 PyObject
* obj0
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "self", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= SWIG_From_int((int)result
);
13797 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
;
13799 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13801 PyObject
* obj0
= 0 ;
13802 PyObject
* obj1
= 0 ;
13803 char *kwnames
[] = {
13804 (char *) "self",(char *) "orient", NULL
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13810 arg2
= (int)SWIG_As_int(obj1
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 (arg1
)->SetOrientation(arg2
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 Py_INCREF(Py_None
); resultobj
= Py_None
;
13826 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13830 PyObject
* obj0
= 0 ;
13831 PyObject
* obj1
= 0 ;
13832 char *kwnames
[] = {
13833 (char *) "self",(char *) "pos", NULL
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13839 arg2
= (int)SWIG_As_int(obj1
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 (arg1
)->SetPosition(arg2
);
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 Py_INCREF(Py_None
); resultobj
= Py_None
;
13855 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13858 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13860 return Py_BuildValue((char *)"");
13862 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
;
13864 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13865 wxMouseEvent
*result
;
13866 PyObject
* obj0
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "mouseType", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13873 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= wxPyMake_wxObject(result
, 1);
13892 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 char *kwnames
[] = {
13898 (char *) "self", NULL
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13920 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
;
13922 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13923 int arg2
= (int) wxMOUSE_BTN_ANY
;
13925 PyObject
* obj0
= 0 ;
13926 PyObject
* obj1
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "self",(char *) "but", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13935 arg2
= (int)SWIG_As_int(obj1
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13954 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13957 int arg2
= (int) wxMOUSE_BTN_ANY
;
13959 PyObject
* obj0
= 0 ;
13960 PyObject
* obj1
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self",(char *) "but", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13969 arg2
= (int)SWIG_As_int(obj1
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13988 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13991 int arg2
= (int) wxMOUSE_BTN_ANY
;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self",(char *) "but", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14003 arg2
= (int)SWIG_As_int(obj1
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14022 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14023 PyObject
*resultobj
;
14024 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self",(char *) "but", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14036 arg2
= (int)SWIG_As_int(obj1
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14054 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14059 PyObject
* obj0
= 0 ;
14060 PyObject
* obj1
= 0 ;
14061 char *kwnames
[] = {
14062 (char *) "self",(char *) "but", NULL
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14068 arg2
= (int)SWIG_As_int(obj1
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14086 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14090 PyObject
* obj0
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "self", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 resultobj
= SWIG_From_int((int)result
);
14112 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14116 PyObject
* obj0
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "self", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14140 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14168 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14196 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14224 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14252 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14280 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14284 PyObject
* obj0
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self", NULL
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14308 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14336 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14340 PyObject
* obj0
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14364 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14368 PyObject
* obj0
= 0 ;
14369 char *kwnames
[] = {
14370 (char *) "self", NULL
14373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14392 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14420 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14448 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
;
14450 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14476 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14480 PyObject
* obj0
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14504 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14508 PyObject
* obj0
= 0 ;
14509 char *kwnames
[] = {
14510 (char *) "self", NULL
14513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (bool)(arg1
)->LeftIsDown();
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14532 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14533 PyObject
*resultobj
;
14534 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14536 PyObject
* obj0
= 0 ;
14537 char *kwnames
[] = {
14538 (char *) "self", NULL
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 result
= (bool)(arg1
)->MiddleIsDown();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14560 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
;
14562 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14564 PyObject
* obj0
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 result
= (bool)(arg1
)->RightIsDown();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14588 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14616 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 char *kwnames
[] = {
14622 (char *) "self", NULL
14625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14644 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14648 PyObject
* obj0
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14672 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14700 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 result
= (arg1
)->GetPosition();
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14720 wxPoint
* resultptr
;
14721 resultptr
= new wxPoint((wxPoint
&) result
);
14722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14730 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14733 long *arg2
= (long *) 0 ;
14734 long *arg3
= (long *) 0 ;
14739 PyObject
* obj0
= 0 ;
14740 char *kwnames
[] = {
14741 (char *) "self", NULL
14744 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14745 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 (arg1
)->GetPosition(arg2
,arg3
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 Py_INCREF(Py_None
); resultobj
= Py_None
;
14757 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14758 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14759 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14760 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14767 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self",(char *) "dc", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14784 if (arg2
== NULL
) {
14785 PyErr_SetString(PyExc_TypeError
,"null reference");
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14796 wxPoint
* resultptr
;
14797 resultptr
= new wxPoint((wxPoint
&) result
);
14798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14806 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
;
14808 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14810 PyObject
* obj0
= 0 ;
14811 char *kwnames
[] = {
14812 (char *) "self", NULL
14815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= SWIG_From_int((int)result
);
14832 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
;
14834 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= SWIG_From_int((int)result
);
14858 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14862 PyObject
* obj0
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_From_int((int)result
);
14884 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 char *kwnames
[] = {
14890 (char *) "self", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= SWIG_From_int((int)result
);
14910 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= SWIG_From_int((int)result
);
14936 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14964 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14968 PyObject
* obj0
= 0 ;
14969 PyObject
* obj1
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "self",(char *) "m_x", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14977 arg2
= (int)SWIG_As_int(obj1
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14979 if (arg1
) (arg1
)->m_x
= arg2
;
14981 Py_INCREF(Py_None
); resultobj
= Py_None
;
14988 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 result
= (int) ((arg1
)->m_x
);
15002 resultobj
= SWIG_From_int((int)result
);
15009 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self",(char *) "m_y", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15022 arg2
= (int)SWIG_As_int(obj1
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15024 if (arg1
) (arg1
)->m_y
= arg2
;
15026 Py_INCREF(Py_None
); resultobj
= Py_None
;
15033 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
;
15035 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15037 PyObject
* obj0
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15045 result
= (int) ((arg1
)->m_y
);
15047 resultobj
= SWIG_From_int((int)result
);
15054 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self",(char *) "m_leftDown", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 arg2
= (bool)SWIG_As_bool(obj1
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15069 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15071 Py_INCREF(Py_None
); resultobj
= Py_None
;
15078 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15090 result
= (bool) ((arg1
)->m_leftDown
);
15093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15101 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15103 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15105 PyObject
* obj0
= 0 ;
15106 PyObject
* obj1
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self",(char *) "m_middleDown", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15114 arg2
= (bool)SWIG_As_bool(obj1
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15116 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15118 Py_INCREF(Py_None
); resultobj
= Py_None
;
15125 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15129 PyObject
* obj0
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15137 result
= (bool) ((arg1
)->m_middleDown
);
15140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15148 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "m_rightDown", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 arg2
= (bool)SWIG_As_bool(obj1
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15163 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15165 Py_INCREF(Py_None
); resultobj
= Py_None
;
15172 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15184 result
= (bool) ((arg1
)->m_rightDown
);
15187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15195 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 PyObject
* obj1
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self",(char *) "m_controlDown", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15208 arg2
= (bool)SWIG_As_bool(obj1
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15210 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15212 Py_INCREF(Py_None
); resultobj
= Py_None
;
15219 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15231 result
= (bool) ((arg1
)->m_controlDown
);
15234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15242 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self",(char *) "m_shiftDown", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15255 arg2
= (bool)SWIG_As_bool(obj1
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15257 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15259 Py_INCREF(Py_None
); resultobj
= Py_None
;
15266 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15278 result
= (bool) ((arg1
)->m_shiftDown
);
15281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15289 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self",(char *) "m_altDown", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 arg2
= (bool)SWIG_As_bool(obj1
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15304 if (arg1
) (arg1
)->m_altDown
= arg2
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15325 result
= (bool) ((arg1
)->m_altDown
);
15328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15336 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self",(char *) "m_metaDown", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 arg2
= (bool)SWIG_As_bool(obj1
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15351 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15353 Py_INCREF(Py_None
); resultobj
= Py_None
;
15360 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15372 result
= (bool) ((arg1
)->m_metaDown
);
15375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15383 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 PyObject
* obj1
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self",(char *) "m_wheelRotation", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15396 arg2
= (int)SWIG_As_int(obj1
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15398 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15400 Py_INCREF(Py_None
); resultobj
= Py_None
;
15407 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
;
15409 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15411 PyObject
* obj0
= 0 ;
15412 char *kwnames
[] = {
15413 (char *) "self", NULL
15416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 result
= (int) ((arg1
)->m_wheelRotation
);
15421 resultobj
= SWIG_From_int((int)result
);
15428 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self",(char *) "m_wheelDelta", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15441 arg2
= (int)SWIG_As_int(obj1
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15443 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15445 Py_INCREF(Py_None
); resultobj
= Py_None
;
15452 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 char *kwnames
[] = {
15458 (char *) "self", NULL
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15464 result
= (int) ((arg1
)->m_wheelDelta
);
15466 resultobj
= SWIG_From_int((int)result
);
15473 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 PyObject
* obj1
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self",(char *) "m_linesPerAction", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15486 arg2
= (int)SWIG_As_int(obj1
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15488 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15490 Py_INCREF(Py_None
); resultobj
= Py_None
;
15497 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15509 result
= (int) ((arg1
)->m_linesPerAction
);
15511 resultobj
= SWIG_From_int((int)result
);
15518 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15521 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15523 return Py_BuildValue((char *)"");
15525 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
;
15527 int arg1
= (int) 0 ;
15528 int arg2
= (int) 0 ;
15529 wxSetCursorEvent
*result
;
15530 PyObject
* obj0
= 0 ;
15531 PyObject
* obj1
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "x",(char *) "y", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15538 arg1
= (int)SWIG_As_int(obj0
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15542 arg2
= (int)SWIG_As_int(obj1
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15559 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15563 PyObject
* obj0
= 0 ;
15564 char *kwnames
[] = {
15565 (char *) "self", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15573 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15578 resultobj
= SWIG_From_int((int)result
);
15585 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15589 PyObject
* obj0
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "self", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= SWIG_From_int((int)result
);
15611 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15613 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15614 wxCursor
*arg2
= 0 ;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "self",(char *) "cursor", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15627 if (arg2
== NULL
) {
15628 PyErr_SetString(PyExc_TypeError
,"null reference");
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 Py_INCREF(Py_None
); resultobj
= Py_None
;
15645 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15649 PyObject
* obj0
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15660 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15661 result
= (wxCursor
*) &_result_ref
;
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15668 wxCursor
* resultptr
= new wxCursor(*result
);
15669 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15677 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "self", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15705 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15708 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15710 return Py_BuildValue((char *)"");
15712 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15715 wxKeyEvent
*result
;
15716 PyObject
* obj0
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "keyType", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15723 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15740 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
;
15742 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15744 PyObject
* obj0
= 0 ;
15745 char *kwnames
[] = {
15746 (char *) "self", NULL
15749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15768 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15796 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15800 PyObject
* obj0
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15824 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15852 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
;
15854 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15880 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15908 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15912 PyObject
* obj0
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= SWIG_From_int((int)result
);
15934 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15953 resultobj
= SWIG_From_int((int)result
);
15960 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15963 unsigned int result
;
15964 PyObject
* obj0
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15979 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15986 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15989 unsigned int result
;
15990 PyObject
* obj0
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16012 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16016 PyObject
* obj0
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (arg1
)->GetPosition();
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 wxPoint
* resultptr
;
16033 resultptr
= new wxPoint((wxPoint
&) result
);
16034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16042 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16045 long *arg2
= (long *) 0 ;
16046 long *arg3
= (long *) 0 ;
16051 PyObject
* obj0
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self", NULL
16056 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16057 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 (arg1
)->GetPosition(arg2
,arg3
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 Py_INCREF(Py_None
); resultobj
= Py_None
;
16069 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16070 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16071 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16072 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16079 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16083 PyObject
* obj0
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= SWIG_From_int((int)result
);
16105 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
;
16107 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16109 PyObject
* obj0
= 0 ;
16110 char *kwnames
[] = {
16111 (char *) "self", NULL
16114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16124 resultobj
= SWIG_From_int((int)result
);
16131 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
;
16133 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16135 PyObject
* obj0
= 0 ;
16136 PyObject
* obj1
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "self",(char *) "m_x", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16144 arg2
= (int)SWIG_As_int(obj1
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16146 if (arg1
) (arg1
)->m_x
= arg2
;
16148 Py_INCREF(Py_None
); resultobj
= Py_None
;
16155 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16159 PyObject
* obj0
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16167 result
= (int) ((arg1
)->m_x
);
16169 resultobj
= SWIG_From_int((int)result
);
16176 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16180 PyObject
* obj0
= 0 ;
16181 PyObject
* obj1
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self",(char *) "m_y", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16189 arg2
= (int)SWIG_As_int(obj1
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16191 if (arg1
) (arg1
)->m_y
= arg2
;
16193 Py_INCREF(Py_None
); resultobj
= Py_None
;
16200 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16212 result
= (int) ((arg1
)->m_y
);
16214 resultobj
= SWIG_From_int((int)result
);
16221 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 PyObject
* obj1
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self",(char *) "m_keyCode", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 arg2
= (long)SWIG_As_long(obj1
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16236 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16238 Py_INCREF(Py_None
); resultobj
= Py_None
;
16245 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16249 PyObject
* obj0
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 result
= (long) ((arg1
)->m_keyCode
);
16259 resultobj
= SWIG_From_long((long)result
);
16266 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
;
16268 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self",(char *) "m_controlDown", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 arg2
= (bool)SWIG_As_bool(obj1
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16281 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16283 Py_INCREF(Py_None
); resultobj
= Py_None
;
16290 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16302 result
= (bool) ((arg1
)->m_controlDown
);
16305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16313 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self",(char *) "m_shiftDown", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 arg2
= (bool)SWIG_As_bool(obj1
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16328 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16330 Py_INCREF(Py_None
); resultobj
= Py_None
;
16337 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16339 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16341 PyObject
* obj0
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16349 result
= (bool) ((arg1
)->m_shiftDown
);
16352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16360 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 PyObject
* obj1
= 0 ;
16366 char *kwnames
[] = {
16367 (char *) "self",(char *) "m_altDown", NULL
16370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16373 arg2
= (bool)SWIG_As_bool(obj1
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16375 if (arg1
) (arg1
)->m_altDown
= arg2
;
16377 Py_INCREF(Py_None
); resultobj
= Py_None
;
16384 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 char *kwnames
[] = {
16390 (char *) "self", NULL
16393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16396 result
= (bool) ((arg1
)->m_altDown
);
16399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16407 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self",(char *) "m_metaDown", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16420 arg2
= (bool)SWIG_As_bool(obj1
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16422 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16424 Py_INCREF(Py_None
); resultobj
= Py_None
;
16431 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16443 result
= (bool) ((arg1
)->m_metaDown
);
16446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16454 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 PyObject
* obj1
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self",(char *) "m_scanCode", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16467 arg2
= (bool)SWIG_As_bool(obj1
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16469 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16471 Py_INCREF(Py_None
); resultobj
= Py_None
;
16478 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16482 PyObject
* obj0
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16490 result
= (bool) ((arg1
)->m_scanCode
);
16493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16501 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16504 unsigned int arg2
;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self",(char *) "m_rawCode", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16516 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16525 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16528 unsigned int result
;
16529 PyObject
* obj0
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "self", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16537 result
= (unsigned int) ((arg1
)->m_rawCode
);
16539 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16546 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16549 unsigned int arg2
;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self",(char *) "m_rawFlags", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16561 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16563 Py_INCREF(Py_None
); resultobj
= Py_None
;
16570 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16573 unsigned int result
;
16574 PyObject
* obj0
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16582 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16584 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16591 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16594 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16596 return Py_BuildValue((char *)"");
16598 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
;
16600 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16601 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16602 int arg2
= (int) 0 ;
16603 wxSizeEvent
*result
;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "sz",(char *) "winid", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16615 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16619 arg2
= (int)SWIG_As_int(obj1
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16636 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16656 wxSize
* resultptr
;
16657 resultptr
= new wxSize((wxSize
&) result
);
16658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16666 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16670 PyObject
* obj0
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "self", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16686 wxRect
* resultptr
;
16687 resultptr
= new wxRect((wxRect
&) result
);
16688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16696 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16701 PyObject
* obj0
= 0 ;
16702 PyObject
* obj1
= 0 ;
16703 char *kwnames
[] = {
16704 (char *) "self",(char *) "rect", NULL
16707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16710 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16711 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 (arg1
)->SetRect(arg2
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 Py_INCREF(Py_None
); resultobj
= Py_None
;
16727 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
;
16729 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "self",(char *) "size", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16741 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16742 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 wxSizeEvent_SetSize(arg1
,arg2
);
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 Py_INCREF(Py_None
); resultobj
= Py_None
;
16758 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16761 wxSize
*arg2
= (wxSize
*) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 PyObject
* obj1
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self",(char *) "m_size", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16773 if (arg1
) (arg1
)->m_size
= *arg2
;
16775 Py_INCREF(Py_None
); resultobj
= Py_None
;
16782 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
;
16784 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16786 PyObject
* obj0
= 0 ;
16787 char *kwnames
[] = {
16788 (char *) "self", NULL
16791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16794 result
= (wxSize
*)& ((arg1
)->m_size
);
16796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16803 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16806 wxRect
*arg2
= (wxRect
*) 0 ;
16807 PyObject
* obj0
= 0 ;
16808 PyObject
* obj1
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self",(char *) "m_rect", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16818 if (arg1
) (arg1
)->m_rect
= *arg2
;
16820 Py_INCREF(Py_None
); resultobj
= Py_None
;
16827 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16831 PyObject
* obj0
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16839 result
= (wxRect
*)& ((arg1
)->m_rect
);
16841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16848 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16851 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16853 return Py_BuildValue((char *)"");
16855 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16858 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16859 int arg2
= (int) 0 ;
16860 wxMoveEvent
*result
;
16862 PyObject
* obj0
= 0 ;
16863 PyObject
* obj1
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "pos",(char *) "winid", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16872 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16876 arg2
= (int)SWIG_As_int(obj1
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16893 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16894 PyObject
*resultobj
;
16895 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16897 PyObject
* obj0
= 0 ;
16898 char *kwnames
[] = {
16899 (char *) "self", NULL
16902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16909 wxPyEndAllowThreads(__tstate
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16913 wxPoint
* resultptr
;
16914 resultptr
= new wxPoint((wxPoint
&) result
);
16915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16923 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16927 PyObject
* obj0
= 0 ;
16928 char *kwnames
[] = {
16929 (char *) "self", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16943 wxRect
* resultptr
;
16944 resultptr
= new wxRect((wxRect
&) result
);
16945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16953 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "rect", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16967 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16968 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 (arg1
)->SetRect(arg2
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 Py_INCREF(Py_None
); resultobj
= Py_None
;
16984 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
;
16986 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self",(char *) "pos", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16998 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16999 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 wxMoveEvent_SetPosition(arg1
,arg2
);
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17008 Py_INCREF(Py_None
); resultobj
= Py_None
;
17015 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17018 wxPoint
*arg2
= (wxPoint
*) 0 ;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "self",(char *) "m_pos", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17030 if (arg1
) (arg1
)->m_pos
= *arg2
;
17032 Py_INCREF(Py_None
); resultobj
= Py_None
;
17039 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17051 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17060 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17063 wxRect
*arg2
= (wxRect
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 PyObject
* obj1
= 0 ;
17066 char *kwnames
[] = {
17067 (char *) "self",(char *) "m_rect", NULL
17070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17075 if (arg1
) (arg1
)->m_rect
= *arg2
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17084 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17088 PyObject
* obj0
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17096 result
= (wxRect
*)& ((arg1
)->m_rect
);
17098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17105 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17108 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17110 return Py_BuildValue((char *)"");
17112 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 int arg1
= (int) 0 ;
17115 wxPaintEvent
*result
;
17116 PyObject
* obj0
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "Id", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17123 arg1
= (int)SWIG_As_int(obj0
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17140 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17143 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17145 return Py_BuildValue((char *)"");
17147 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 int arg1
= (int) 0 ;
17150 wxNcPaintEvent
*result
;
17151 PyObject
* obj0
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "winid", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17158 arg1
= (int)SWIG_As_int(obj0
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17175 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17178 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17180 return Py_BuildValue((char *)"");
17182 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 int arg1
= (int) 0 ;
17185 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17186 wxEraseEvent
*result
;
17187 PyObject
* obj0
= 0 ;
17188 PyObject
* obj1
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "Id",(char *) "dc", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17195 arg1
= (int)SWIG_As_int(obj0
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17216 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
;
17218 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17220 PyObject
* obj0
= 0 ;
17221 char *kwnames
[] = {
17222 (char *) "self", NULL
17225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= wxPyMake_wxObject(result
, 0);
17244 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17247 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17249 return Py_BuildValue((char *)"");
17251 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17254 int arg2
= (int) 0 ;
17255 wxFocusEvent
*result
;
17256 PyObject
* obj0
= 0 ;
17257 PyObject
* obj1
= 0 ;
17258 char *kwnames
[] = {
17259 (char *) "type",(char *) "winid", NULL
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17264 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17268 arg2
= (int)SWIG_As_int(obj1
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17285 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17289 PyObject
* obj0
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "self", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17305 resultobj
= wxPyMake_wxObject(result
, 0);
17313 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17316 wxWindow
*arg2
= (wxWindow
*) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 char *kwnames
[] = {
17320 (char *) "self",(char *) "win", NULL
17323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 (arg1
)->SetWindow(arg2
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 Py_INCREF(Py_None
); resultobj
= Py_None
;
17342 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17345 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17347 return Py_BuildValue((char *)"");
17349 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxWindow
*arg1
= (wxWindow
*) NULL
;
17352 wxChildFocusEvent
*result
;
17353 PyObject
* obj0
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "win", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17377 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= wxPyMake_wxObject(result
, 0);
17405 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17408 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17410 return Py_BuildValue((char *)"");
17412 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17415 bool arg2
= (bool) True
;
17416 int arg3
= (int) 0 ;
17417 wxActivateEvent
*result
;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 PyObject
* obj2
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "type",(char *) "active",(char *) "Id", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17427 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17431 arg2
= (bool)SWIG_As_bool(obj1
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17435 arg3
= (int)SWIG_As_int(obj2
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17452 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17480 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17483 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17485 return Py_BuildValue((char *)"");
17487 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 int arg1
= (int) 0 ;
17490 wxInitDialogEvent
*result
;
17491 PyObject
* obj0
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "Id", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17498 arg1
= (int)SWIG_As_int(obj0
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17515 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17518 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17520 return Py_BuildValue((char *)"");
17522 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17524 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17525 int arg2
= (int) 0 ;
17526 wxMenu
*arg3
= (wxMenu
*) NULL
;
17527 wxMenuEvent
*result
;
17528 PyObject
* obj0
= 0 ;
17529 PyObject
* obj1
= 0 ;
17530 PyObject
* obj2
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "type",(char *) "winid",(char *) "menu", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17537 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 arg2
= (int)SWIG_As_int(obj1
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17545 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17562 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= SWIG_From_int((int)result
);
17588 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17592 PyObject
* obj0
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self", NULL
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17616 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17620 PyObject
* obj0
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "self", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17636 resultobj
= wxPyMake_wxObject(result
, 0);
17644 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17647 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17649 return Py_BuildValue((char *)"");
17651 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17654 int arg2
= (int) 0 ;
17655 wxCloseEvent
*result
;
17656 PyObject
* obj0
= 0 ;
17657 PyObject
* obj1
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "type",(char *) "winid", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17664 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 arg2
= (int)SWIG_As_int(obj1
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17685 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 PyObject
* obj1
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self",(char *) "logOff", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17698 arg2
= (bool)SWIG_As_bool(obj1
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 (arg1
)->SetLoggingOff(arg2
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 Py_INCREF(Py_None
); resultobj
= Py_None
;
17714 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17718 PyObject
* obj0
= 0 ;
17719 char *kwnames
[] = {
17720 (char *) "self", NULL
17723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17742 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17744 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17745 bool arg2
= (bool) True
;
17746 PyObject
* obj0
= 0 ;
17747 PyObject
* obj1
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self",(char *) "veto", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17756 arg2
= (bool)SWIG_As_bool(obj1
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 (arg1
)->Veto(arg2
);
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17766 Py_INCREF(Py_None
); resultobj
= Py_None
;
17773 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
;
17775 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17777 PyObject
* obj0
= 0 ;
17778 PyObject
* obj1
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self",(char *) "canVeto", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17786 arg2
= (bool)SWIG_As_bool(obj1
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 (arg1
)->SetCanVeto(arg2
);
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 Py_INCREF(Py_None
); resultobj
= Py_None
;
17802 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
;
17804 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17806 PyObject
* obj0
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17830 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17858 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17861 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17863 return Py_BuildValue((char *)"");
17865 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 int arg1
= (int) 0 ;
17868 bool arg2
= (bool) False
;
17869 wxShowEvent
*result
;
17870 PyObject
* obj0
= 0 ;
17871 PyObject
* obj1
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "winid",(char *) "show", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17878 arg1
= (int)SWIG_As_int(obj0
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17882 arg2
= (bool)SWIG_As_bool(obj1
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17899 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17903 PyObject
* obj0
= 0 ;
17904 PyObject
* obj1
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self",(char *) "show", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17912 arg2
= (bool)SWIG_As_bool(obj1
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 (arg1
)->SetShow(arg2
);
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 Py_INCREF(Py_None
); resultobj
= Py_None
;
17928 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
;
17930 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17932 PyObject
* obj0
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17956 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17959 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17961 return Py_BuildValue((char *)"");
17963 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 int arg1
= (int) 0 ;
17966 bool arg2
= (bool) True
;
17967 wxIconizeEvent
*result
;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "id",(char *) "iconized", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17976 arg1
= (int)SWIG_As_int(obj0
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17980 arg2
= (bool)SWIG_As_bool(obj1
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17997 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18001 PyObject
* obj0
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 result
= (bool)(arg1
)->Iconized();
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18025 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18028 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18030 return Py_BuildValue((char *)"");
18032 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
;
18034 int arg1
= (int) 0 ;
18035 wxMaximizeEvent
*result
;
18036 PyObject
* obj0
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "id", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18043 arg1
= (int)SWIG_As_int(obj0
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18060 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18063 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18065 return Py_BuildValue((char *)"");
18067 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 result
= (arg1
)->GetPosition();
18083 wxPyEndAllowThreads(__tstate
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18087 wxPoint
* resultptr
;
18088 resultptr
= new wxPoint((wxPoint
&) result
);
18089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18097 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
;
18099 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18101 PyObject
* obj0
= 0 ;
18102 char *kwnames
[] = {
18103 (char *) "self", NULL
18106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= (int)(arg1
)->GetNumberOfFiles();
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 resultobj
= SWIG_From_int((int)result
);
18123 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= result
;
18149 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18152 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18154 return Py_BuildValue((char *)"");
18156 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 int arg1
= (int) 0 ;
18159 wxUpdateUIEvent
*result
;
18160 PyObject
* obj0
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "commandId", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18167 arg1
= (int)SWIG_As_int(obj0
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18184 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18212 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18214 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18216 PyObject
* obj0
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18240 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18244 PyObject
* obj0
= 0 ;
18245 char *kwnames
[] = {
18246 (char *) "self", NULL
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18272 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18300 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18304 PyObject
* obj0
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18328 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18332 PyObject
* obj0
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18356 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
;
18358 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self",(char *) "check", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18369 arg2
= (bool)SWIG_As_bool(obj1
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 (arg1
)->Check(arg2
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 Py_INCREF(Py_None
); resultobj
= Py_None
;
18385 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
;
18387 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self",(char *) "enable", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18398 arg2
= (bool)SWIG_As_bool(obj1
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 (arg1
)->Enable(arg2
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 Py_INCREF(Py_None
); resultobj
= Py_None
;
18414 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
;
18416 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18417 wxString
*arg2
= 0 ;
18418 bool temp2
= False
;
18419 PyObject
* obj0
= 0 ;
18420 PyObject
* obj1
= 0 ;
18421 char *kwnames
[] = {
18422 (char *) "self",(char *) "text", NULL
18425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18429 arg2
= wxString_in_helper(obj1
);
18430 if (arg2
== NULL
) SWIG_fail
;
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 (arg1
)->SetText((wxString
const &)*arg2
);
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 Py_INCREF(Py_None
); resultobj
= Py_None
;
18455 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18458 PyObject
* obj0
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "updateInterval", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18464 arg1
= (long)SWIG_As_long(obj0
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18483 char *kwnames
[] = {
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= SWIG_From_long((long)result
);
18502 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxWindow
*arg1
= (wxWindow
*) 0 ;
18506 PyObject
* obj0
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "win", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18530 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 char *kwnames
[] = {
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 wxUpdateUIEvent::ResetUpdateTime();
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 Py_INCREF(Py_None
); resultobj
= Py_None
;
18551 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18554 PyObject
* obj0
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "mode", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18560 arg1
= (int)SWIG_As_int(obj0
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18569 Py_INCREF(Py_None
); resultobj
= Py_None
;
18576 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18579 char *kwnames
[] = {
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 result
= (int)wxUpdateUIEvent::GetMode();
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= SWIG_From_int((int)result
);
18598 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18601 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18603 return Py_BuildValue((char *)"");
18605 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxSysColourChangedEvent
*result
;
18608 char *kwnames
[] = {
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18627 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18630 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18632 return Py_BuildValue((char *)"");
18634 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 int arg1
= (int) 0 ;
18637 wxWindow
*arg2
= (wxWindow
*) NULL
;
18638 wxMouseCaptureChangedEvent
*result
;
18639 PyObject
* obj0
= 0 ;
18640 PyObject
* obj1
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "winid",(char *) "gainedCapture", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18647 arg1
= (int)SWIG_As_int(obj0
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18668 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18672 PyObject
* obj0
= 0 ;
18673 char *kwnames
[] = {
18674 (char *) "self", NULL
18677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= wxPyMake_wxObject(result
, 0);
18696 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18699 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18701 return Py_BuildValue((char *)"");
18703 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxDisplayChangedEvent
*result
;
18706 char *kwnames
[] = {
18710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18725 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18728 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18730 return Py_BuildValue((char *)"");
18732 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 int arg1
= (int) 0 ;
18735 wxPaletteChangedEvent
*result
;
18736 PyObject
* obj0
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "id", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18743 arg1
= (int)SWIG_As_int(obj0
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18760 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18763 wxWindow
*arg2
= (wxWindow
*) 0 ;
18764 PyObject
* obj0
= 0 ;
18765 PyObject
* obj1
= 0 ;
18766 char *kwnames
[] = {
18767 (char *) "self",(char *) "win", NULL
18770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 (arg1
)->SetChangedWindow(arg2
);
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 Py_INCREF(Py_None
); resultobj
= Py_None
;
18789 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= wxPyMake_wxObject(result
, 0);
18817 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18820 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18822 return Py_BuildValue((char *)"");
18824 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 int arg1
= (int) 0 ;
18827 wxQueryNewPaletteEvent
*result
;
18828 PyObject
* obj0
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "winid", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18835 arg1
= (int)SWIG_As_int(obj0
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18852 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self",(char *) "realized", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18865 arg2
= (bool)SWIG_As_bool(obj1
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 (arg1
)->SetPaletteRealized(arg2
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 Py_INCREF(Py_None
); resultobj
= Py_None
;
18881 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
;
18883 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18885 PyObject
* obj0
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18909 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18912 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18914 return Py_BuildValue((char *)"");
18916 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxNavigationKeyEvent
*result
;
18919 char *kwnames
[] = {
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18938 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18966 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
;
18968 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18970 PyObject
* obj0
= 0 ;
18971 PyObject
* obj1
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self",(char *) "forward", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18979 arg2
= (bool)SWIG_As_bool(obj1
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 (arg1
)->SetDirection(arg2
);
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18988 Py_INCREF(Py_None
); resultobj
= Py_None
;
18995 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19023 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
;
19025 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19027 PyObject
* obj0
= 0 ;
19028 PyObject
* obj1
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self",(char *) "ischange", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19036 arg2
= (bool)SWIG_As_bool(obj1
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 (arg1
)->SetWindowChange(arg2
);
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 Py_INCREF(Py_None
); resultobj
= Py_None
;
19052 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
;
19054 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19056 PyObject
* obj0
= 0 ;
19057 PyObject
* obj1
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "self",(char *) "flags", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19065 arg2
= (long)SWIG_As_long(obj1
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 (arg1
)->SetFlags(arg2
);
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 Py_INCREF(Py_None
); resultobj
= Py_None
;
19081 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
;
19083 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19085 PyObject
* obj0
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= wxPyMake_wxObject(result
, 0);
19109 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19112 wxWindow
*arg2
= (wxWindow
*) 0 ;
19113 PyObject
* obj0
= 0 ;
19114 PyObject
* obj1
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self",(char *) "win", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 (arg1
)->SetCurrentFocus(arg2
);
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 Py_INCREF(Py_None
); resultobj
= Py_None
;
19138 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19141 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19143 return Py_BuildValue((char *)"");
19145 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
;
19147 wxWindow
*arg1
= (wxWindow
*) NULL
;
19148 wxWindowCreateEvent
*result
;
19149 PyObject
* obj0
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "win", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19173 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
;
19175 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19177 PyObject
* obj0
= 0 ;
19178 char *kwnames
[] = {
19179 (char *) "self", NULL
19182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= wxPyMake_wxObject(result
, 0);
19201 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19204 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19206 return Py_BuildValue((char *)"");
19208 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxWindow
*arg1
= (wxWindow
*) NULL
;
19211 wxWindowDestroyEvent
*result
;
19212 PyObject
* obj0
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "win", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19236 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= wxPyMake_wxObject(result
, 0);
19264 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19267 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19269 return Py_BuildValue((char *)"");
19271 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19274 int arg2
= (int) 0 ;
19275 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19276 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19277 wxContextMenuEvent
*result
;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 PyObject
* obj2
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "type",(char *) "winid",(char *) "pt", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19288 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19292 arg2
= (int)SWIG_As_int(obj1
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19298 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19315 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19319 PyObject
* obj0
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19331 result
= (wxPoint
*) &_result_ref
;
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19344 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19347 wxPoint
*arg2
= 0 ;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "self",(char *) "pos", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 Py_INCREF(Py_None
); resultobj
= Py_None
;
19376 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19379 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19381 return Py_BuildValue((char *)"");
19383 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxIdleEvent
*result
;
19386 char *kwnames
[] = {
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= (wxIdleEvent
*)new wxIdleEvent();
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19405 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19408 bool arg2
= (bool) True
;
19409 PyObject
* obj0
= 0 ;
19410 PyObject
* obj1
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self",(char *) "needMore", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 arg2
= (bool)SWIG_As_bool(obj1
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 (arg1
)->RequestMore(arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 Py_INCREF(Py_None
); resultobj
= Py_None
;
19436 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19464 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19467 PyObject
* obj0
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "mode", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19473 arg1
= (int)SWIG_As_int(obj0
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19479 wxPyEndAllowThreads(__tstate
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19482 Py_INCREF(Py_None
); resultobj
= Py_None
;
19489 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19492 char *kwnames
[] = {
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 result
= (int)wxIdleEvent::GetMode();
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 resultobj
= SWIG_From_int((int)result
);
19511 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxWindow
*arg1
= (wxWindow
*) 0 ;
19515 PyObject
* obj0
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "win", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 result
= (bool)wxIdleEvent::CanSend(arg1
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19539 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19542 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19544 return Py_BuildValue((char *)"");
19546 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 int arg1
= (int) 0 ;
19549 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19551 PyObject
* obj0
= 0 ;
19552 PyObject
* obj1
= 0 ;
19553 char *kwnames
[] = {
19554 (char *) "winid",(char *) "commandType", NULL
19557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19559 arg1
= (int)SWIG_As_int(obj0
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19563 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19580 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
;
19582 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19583 PyObject
* obj0
= 0 ;
19584 char *kwnames
[] = {
19585 (char *) "self", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 Py_INCREF(Py_None
); resultobj
= Py_None
;
19605 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
;
19607 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19608 PyObject
*arg2
= (PyObject
*) 0 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self",(char *) "self", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 (arg1
)->SetSelf(arg2
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 Py_INCREF(Py_None
); resultobj
= Py_None
;
19633 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19637 PyObject
* obj0
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 result
= (PyObject
*)(arg1
)->GetSelf();
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= result
;
19659 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19662 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19664 return Py_BuildValue((char *)"");
19666 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19668 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19669 int arg2
= (int) 0 ;
19670 wxPyCommandEvent
*result
;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "commandType",(char *) "id", NULL
19677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19679 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19683 arg2
= (int)SWIG_As_int(obj1
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19700 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19703 PyObject
* obj0
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "self", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 Py_INCREF(Py_None
); resultobj
= Py_None
;
19725 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19728 PyObject
*arg2
= (PyObject
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 PyObject
* obj1
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self",(char *) "self", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 (arg1
)->SetSelf(arg2
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 Py_INCREF(Py_None
); resultobj
= Py_None
;
19753 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (PyObject
*)(arg1
)->GetSelf();
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= result
;
19779 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19782 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19784 return Py_BuildValue((char *)"");
19786 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19787 PyObject
*resultobj
;
19789 char *kwnames
[] = {
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (wxPyApp
*)new_wxPyApp();
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19808 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 Py_INCREF(Py_None
); resultobj
= Py_None
;
19833 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19836 PyObject
*arg2
= (PyObject
*) 0 ;
19837 PyObject
*arg3
= (PyObject
*) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 PyObject
* obj2
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self",(char *) "self",(char *) "_class", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 Py_INCREF(Py_None
); resultobj
= Py_None
;
19864 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19896 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
;
19898 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19899 wxString
*arg2
= 0 ;
19900 bool temp2
= False
;
19901 PyObject
* obj0
= 0 ;
19902 PyObject
* obj1
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self",(char *) "name", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19911 arg2
= wxString_in_helper(obj1
);
19912 if (arg2
== NULL
) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 (arg1
)->SetAppName((wxString
const &)*arg2
);
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 Py_INCREF(Py_None
); resultobj
= Py_None
;
19937 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19969 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19970 PyObject
*resultobj
;
19971 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19972 wxString
*arg2
= 0 ;
19973 bool temp2
= False
;
19974 PyObject
* obj0
= 0 ;
19975 PyObject
* obj1
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self",(char *) "name", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19984 arg2
= wxString_in_helper(obj1
);
19985 if (arg2
== NULL
) SWIG_fail
;
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 (arg1
)->SetClassName((wxString
const &)*arg2
);
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19995 Py_INCREF(Py_None
); resultobj
= Py_None
;
20010 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 char *kwnames
[] = {
20016 (char *) "self", NULL
20019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20026 result
= (wxString
*) &_result_ref
;
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20034 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20036 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20045 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20048 wxString
*arg2
= 0 ;
20049 bool temp2
= False
;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self",(char *) "name", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20060 arg2
= wxString_in_helper(obj1
);
20061 if (arg2
== NULL
) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 Py_INCREF(Py_None
); resultobj
= Py_None
;
20086 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20089 wxAppTraits
*result
;
20090 PyObject
* obj0
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20112 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 (arg1
)->ProcessPendingEvents();
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 Py_INCREF(Py_None
); resultobj
= Py_None
;
20137 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20140 bool arg2
= (bool) False
;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self",(char *) "onlyIfNeeded", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20152 arg2
= (bool)SWIG_As_bool(obj1
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (bool)(arg1
)->Yield(arg2
);
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20171 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20174 PyObject
* obj0
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 (arg1
)->WakeUpIdle();
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 Py_INCREF(Py_None
); resultobj
= Py_None
;
20196 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20200 PyObject
* obj0
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (int)(arg1
)->MainLoop();
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20215 resultobj
= SWIG_From_int((int)result
);
20222 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20225 PyObject
* obj0
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 Py_INCREF(Py_None
); resultobj
= Py_None
;
20247 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20250 PyObject
* obj0
= 0 ;
20251 char *kwnames
[] = {
20252 (char *) "self", NULL
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->ExitMainLoop();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 Py_INCREF(Py_None
); resultobj
= Py_None
;
20272 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20276 PyObject
* obj0
= 0 ;
20277 char *kwnames
[] = {
20278 (char *) "self", NULL
20281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 result
= (bool)(arg1
)->Pending();
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20300 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20301 PyObject
*resultobj
;
20302 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20304 PyObject
* obj0
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "self", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (bool)(arg1
)->Dispatch();
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20328 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
;
20330 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20332 PyObject
* obj0
= 0 ;
20333 char *kwnames
[] = {
20334 (char *) "self", NULL
20337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= (bool)(arg1
)->ProcessIdle();
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20356 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
;
20358 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20359 wxWindow
*arg2
= (wxWindow
*) 0 ;
20360 wxIdleEvent
*arg3
= 0 ;
20362 PyObject
* obj0
= 0 ;
20363 PyObject
* obj1
= 0 ;
20364 PyObject
* obj2
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "win",(char *) "event", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20374 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20377 if (arg3
== NULL
) {
20378 PyErr_SetString(PyExc_TypeError
,"null reference");
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20385 wxPyEndAllowThreads(__tstate
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20397 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 char *kwnames
[] = {
20403 (char *) "self", NULL
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20425 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20428 wxWindow
*arg2
= (wxWindow
*) 0 ;
20429 PyObject
* obj0
= 0 ;
20430 PyObject
* obj1
= 0 ;
20431 char *kwnames
[] = {
20432 (char *) "self",(char *) "win", NULL
20435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 (arg1
)->SetTopWindow(arg2
);
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 Py_INCREF(Py_None
); resultobj
= Py_None
;
20454 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
;
20456 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20458 PyObject
* obj0
= 0 ;
20459 char *kwnames
[] = {
20460 (char *) "self", NULL
20463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20468 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20474 resultobj
= wxPyMake_wxObject(result
, 0);
20482 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20483 PyObject
*resultobj
;
20484 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20486 PyObject
* obj0
= 0 ;
20487 PyObject
* obj1
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "self",(char *) "flag", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20495 arg2
= (bool)SWIG_As_bool(obj1
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 (arg1
)->SetExitOnFrameDelete(arg2
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 Py_INCREF(Py_None
); resultobj
= Py_None
;
20511 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20539 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20543 PyObject
* obj0
= 0 ;
20544 PyObject
* obj1
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self",(char *) "flag", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20552 arg2
= (bool)SWIG_As_bool(obj1
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 (arg1
)->SetUseBestVisual(arg2
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 Py_INCREF(Py_None
); resultobj
= Py_None
;
20568 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
;
20570 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20572 PyObject
* obj0
= 0 ;
20573 char *kwnames
[] = {
20574 (char *) "self", NULL
20577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20596 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20600 PyObject
* obj0
= 0 ;
20601 PyObject
* obj1
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "self",(char *) "mode", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20609 arg2
= (int)SWIG_As_int(obj1
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 (arg1
)->SetPrintMode(arg2
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 Py_INCREF(Py_None
); resultobj
= Py_None
;
20625 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20629 PyObject
* obj0
= 0 ;
20630 char *kwnames
[] = {
20631 (char *) "self", NULL
20634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= SWIG_From_int((int)result
);
20651 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20655 PyObject
* obj0
= 0 ;
20656 PyObject
* obj1
= 0 ;
20657 char *kwnames
[] = {
20658 (char *) "self",(char *) "mode", NULL
20661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20664 arg2
= (int)SWIG_As_int(obj1
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 (arg1
)->SetAssertMode(arg2
);
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 Py_INCREF(Py_None
); resultobj
= Py_None
;
20680 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 result
= (int)(arg1
)->GetAssertMode();
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= SWIG_From_int((int)result
);
20706 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20709 char *kwnames
[] = {
20713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20730 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20733 char *kwnames
[] = {
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= SWIG_From_long((long)result
);
20752 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20755 char *kwnames
[] = {
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= SWIG_From_long((long)result
);
20774 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20777 char *kwnames
[] = {
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (long)wxPyApp::GetMacExitMenuItemId();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_From_long((long)result
);
20796 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20799 char *kwnames
[] = {
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= wxPyApp::GetMacHelpMenuTitleName();
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20824 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
;
20827 PyObject
* obj0
= 0 ;
20828 char *kwnames
[] = {
20829 (char *) "val", NULL
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20833 arg1
= (bool)SWIG_As_bool(obj0
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20839 wxPyEndAllowThreads(__tstate
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 Py_INCREF(Py_None
); resultobj
= Py_None
;
20849 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
;
20852 PyObject
* obj0
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "val", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20858 arg1
= (long)SWIG_As_long(obj0
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 wxPyApp::SetMacAboutMenuItemId(arg1
);
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 Py_INCREF(Py_None
); resultobj
= Py_None
;
20874 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20877 PyObject
* obj0
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "val", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20883 arg1
= (long)SWIG_As_long(obj0
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 Py_INCREF(Py_None
); resultobj
= Py_None
;
20899 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20902 PyObject
* obj0
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "val", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20908 arg1
= (long)SWIG_As_long(obj0
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 wxPyApp::SetMacExitMenuItemId(arg1
);
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 Py_INCREF(Py_None
); resultobj
= Py_None
;
20924 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxString
*arg1
= 0 ;
20927 bool temp1
= False
;
20928 PyObject
* obj0
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "val", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20935 arg1
= wxString_in_helper(obj0
);
20936 if (arg1
== NULL
) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 Py_INCREF(Py_None
); resultobj
= Py_None
;
20961 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20963 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20964 PyObject
* obj0
= 0 ;
20965 char *kwnames
[] = {
20966 (char *) "self", NULL
20969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->_BootstrapApp();
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20986 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20989 char *kwnames
[] = {
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (int)PyApp_GetComCtl32Version();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 resultobj
= SWIG_From_int((int)result
);
21008 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21011 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21013 return Py_BuildValue((char *)"");
21015 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 char *kwnames
[] = {
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21029 Py_INCREF(Py_None
); resultobj
= Py_None
;
21036 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
;
21039 char *kwnames
[] = {
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 result
= (bool)wxYield();
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21060 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21063 char *kwnames
[] = {
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (bool)wxYieldIfNeeded();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21084 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21086 wxWindow
*arg1
= (wxWindow
*) NULL
;
21087 bool arg2
= (bool) False
;
21089 PyObject
* obj0
= 0 ;
21090 PyObject
* obj1
= 0 ;
21091 char *kwnames
[] = {
21092 (char *) "win",(char *) "onlyIfNeeded", NULL
21095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21101 arg2
= (bool)SWIG_As_bool(obj1
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (bool)wxSafeYield(arg1
,arg2
);
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21120 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 char *kwnames
[] = {
21126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 Py_INCREF(Py_None
); resultobj
= Py_None
;
21141 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21144 wxEvent
*arg2
= 0 ;
21145 PyObject
* obj0
= 0 ;
21146 PyObject
* obj1
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "dest",(char *) "event", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21157 if (arg2
== NULL
) {
21158 PyErr_SetString(PyExc_TypeError
,"null reference");
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 wxPostEvent(arg1
,*arg2
);
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 Py_INCREF(Py_None
); resultobj
= Py_None
;
21175 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21177 char *kwnames
[] = {
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 Py_INCREF(Py_None
); resultobj
= Py_None
;
21196 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
;
21199 char *kwnames
[] = {
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 result
= (wxPyApp
*)wxPyGetApp();
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= wxPyMake_wxObject(result
, 0);
21220 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 wxEventLoop
*result
;
21223 char *kwnames
[] = {
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= (wxEventLoop
*)new wxEventLoop();
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21242 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
;
21244 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 Py_INCREF(Py_None
); resultobj
= Py_None
;
21267 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21271 PyObject
* obj0
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "self", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (int)(arg1
)->Run();
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_From_int((int)result
);
21293 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21296 int arg2
= (int) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self",(char *) "rc", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21307 arg2
= (int)SWIG_As_int(obj1
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 (arg1
)->Exit(arg2
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 Py_INCREF(Py_None
); resultobj
= Py_None
;
21324 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21326 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21328 PyObject
* obj0
= 0 ;
21329 char *kwnames
[] = {
21330 (char *) "self", NULL
21333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21352 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21356 PyObject
* obj0
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "self", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 result
= (bool)(arg1
)->Dispatch();
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21380 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21381 PyObject
*resultobj
;
21382 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21384 PyObject
* obj0
= 0 ;
21385 char *kwnames
[] = {
21386 (char *) "self", NULL
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21408 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21410 wxEventLoop
*result
;
21411 char *kwnames
[] = {
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21430 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "loop", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 wxEventLoop::SetActive(arg1
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 Py_INCREF(Py_None
); resultobj
= Py_None
;
21455 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21458 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21460 return Py_BuildValue((char *)"");
21462 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 int arg1
= (int) 0 ;
21465 int arg2
= (int) 0 ;
21466 int arg3
= (int) 0 ;
21467 wxAcceleratorEntry
*result
;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 PyObject
* obj2
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21477 arg1
= (int)SWIG_As_int(obj0
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21481 arg2
= (int)SWIG_As_int(obj1
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21485 arg3
= (int)SWIG_As_int(obj2
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21502 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21505 PyObject
* obj0
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 Py_INCREF(Py_None
); resultobj
= Py_None
;
21527 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
;
21529 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21533 PyObject
* obj0
= 0 ;
21534 PyObject
* obj1
= 0 ;
21535 PyObject
* obj2
= 0 ;
21536 PyObject
* obj3
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21544 arg2
= (int)SWIG_As_int(obj1
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21546 arg3
= (int)SWIG_As_int(obj2
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21548 arg4
= (int)SWIG_As_int(obj3
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 (arg1
)->Set(arg2
,arg3
,arg4
);
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 Py_INCREF(Py_None
); resultobj
= Py_None
;
21564 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (int)(arg1
)->GetFlags();
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= SWIG_From_int((int)result
);
21590 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 char *kwnames
[] = {
21596 (char *) "self", NULL
21599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (int)(arg1
)->GetKeyCode();
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= SWIG_From_int((int)result
);
21616 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
;
21618 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21620 PyObject
* obj0
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self", NULL
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= (int)(arg1
)->GetCommand();
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= SWIG_From_int((int)result
);
21642 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21645 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21647 return Py_BuildValue((char *)"");
21649 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21650 PyObject
*resultobj
;
21652 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21653 wxAcceleratorTable
*result
;
21654 PyObject
* obj0
= 0 ;
21655 char *kwnames
[] = {
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21661 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21662 if (arg2
) arg1
= PyList_Size(obj0
);
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21685 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 char *kwnames
[] = {
21690 (char *) "self", NULL
21693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 Py_INCREF(Py_None
); resultobj
= Py_None
;
21710 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21712 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21738 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21741 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21743 return Py_BuildValue((char *)"");
21745 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21746 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21751 static PyObject
*_wrap_NullAcceleratorTable_get() {
21754 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21759 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
;
21761 wxString
*arg1
= 0 ;
21762 wxAcceleratorEntry
*result
;
21763 bool temp1
= False
;
21764 PyObject
* obj0
= 0 ;
21765 char *kwnames
[] = {
21766 (char *) "label", NULL
21769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21771 arg1
= wxString_in_helper(obj0
);
21772 if (arg1
== NULL
) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21797 static int _wrap_PanelNameStr_set(PyObject
*) {
21798 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21803 static PyObject
*_wrap_PanelNameStr_get() {
21808 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21810 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21817 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
;
21819 wxVisualAttributes
*result
;
21820 char *kwnames
[] = {
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21839 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21842 PyObject
* obj0
= 0 ;
21843 char *kwnames
[] = {
21844 (char *) "self", NULL
21847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 delete_wxVisualAttributes(arg1
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 Py_INCREF(Py_None
); resultobj
= Py_None
;
21864 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21867 wxFont
*arg2
= (wxFont
*) 0 ;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "self",(char *) "font", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21879 if (arg1
) (arg1
)->font
= *arg2
;
21881 Py_INCREF(Py_None
); resultobj
= Py_None
;
21888 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21892 PyObject
* obj0
= 0 ;
21893 char *kwnames
[] = {
21894 (char *) "self", NULL
21897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21900 result
= (wxFont
*)& ((arg1
)->font
);
21902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21909 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21912 wxColour
*arg2
= (wxColour
*) 0 ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self",(char *) "colFg", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21924 if (arg1
) (arg1
)->colFg
= *arg2
;
21926 Py_INCREF(Py_None
); resultobj
= Py_None
;
21933 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21945 result
= (wxColour
*)& ((arg1
)->colFg
);
21947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21954 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21956 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21957 wxColour
*arg2
= (wxColour
*) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self",(char *) "colBg", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21969 if (arg1
) (arg1
)->colBg
= *arg2
;
21971 Py_INCREF(Py_None
); resultobj
= Py_None
;
21978 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21990 result
= (wxColour
*)& ((arg1
)->colBg
);
21992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21999 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22002 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22004 return Py_BuildValue((char *)"");
22006 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22007 PyObject
*resultobj
;
22008 wxWindow
*arg1
= (wxWindow
*) 0 ;
22009 int arg2
= (int) (int)-1 ;
22010 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22011 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22012 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22013 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22014 long arg5
= (long) 0 ;
22015 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22016 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22020 bool temp6
= False
;
22021 PyObject
* obj0
= 0 ;
22022 PyObject
* obj1
= 0 ;
22023 PyObject
* obj2
= 0 ;
22024 PyObject
* obj3
= 0 ;
22025 PyObject
* obj4
= 0 ;
22026 PyObject
* obj5
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22035 arg2
= (int)SWIG_As_int(obj1
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22047 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22051 arg5
= (long)SWIG_As_long(obj4
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22056 arg6
= wxString_in_helper(obj5
);
22057 if (arg6
== NULL
) SWIG_fail
;
22062 if (!wxPyCheckForApp()) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22084 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22087 char *kwnames
[] = {
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22093 if (!wxPyCheckForApp()) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (wxWindow
*)new wxWindow();
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22107 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
;
22109 wxWindow
*arg1
= (wxWindow
*) 0 ;
22110 wxWindow
*arg2
= (wxWindow
*) 0 ;
22111 int arg3
= (int) (int)-1 ;
22112 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22113 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22114 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22115 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22116 long arg6
= (long) 0 ;
22117 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22118 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22122 bool temp7
= False
;
22123 PyObject
* obj0
= 0 ;
22124 PyObject
* obj1
= 0 ;
22125 PyObject
* obj2
= 0 ;
22126 PyObject
* obj3
= 0 ;
22127 PyObject
* obj4
= 0 ;
22128 PyObject
* obj5
= 0 ;
22129 PyObject
* obj6
= 0 ;
22130 char *kwnames
[] = {
22131 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22140 arg3
= (int)SWIG_As_int(obj2
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22146 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22152 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22156 arg6
= (long)SWIG_As_long(obj5
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22161 arg7
= wxString_in_helper(obj6
);
22162 if (arg7
== NULL
) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22190 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxWindow
*arg1
= (wxWindow
*) 0 ;
22193 bool arg2
= (bool) False
;
22195 PyObject
* obj0
= 0 ;
22196 PyObject
* obj1
= 0 ;
22197 char *kwnames
[] = {
22198 (char *) "self",(char *) "force", NULL
22201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22205 arg2
= (bool)SWIG_As_bool(obj1
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= (bool)(arg1
)->Close(arg2
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22224 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxWindow
*arg1
= (wxWindow
*) 0 ;
22228 PyObject
* obj0
= 0 ;
22229 char *kwnames
[] = {
22230 (char *) "self", NULL
22233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (bool)(arg1
)->Destroy();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22252 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22253 PyObject
*resultobj
;
22254 wxWindow
*arg1
= (wxWindow
*) 0 ;
22256 PyObject
* obj0
= 0 ;
22257 char *kwnames
[] = {
22258 (char *) "self", NULL
22261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 result
= (bool)(arg1
)->DestroyChildren();
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22280 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
;
22282 wxWindow
*arg1
= (wxWindow
*) 0 ;
22284 PyObject
* obj0
= 0 ;
22285 char *kwnames
[] = {
22286 (char *) "self", NULL
22289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22308 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22309 PyObject
*resultobj
;
22310 wxWindow
*arg1
= (wxWindow
*) 0 ;
22311 wxString
*arg2
= 0 ;
22312 bool temp2
= False
;
22313 PyObject
* obj0
= 0 ;
22314 PyObject
* obj1
= 0 ;
22315 char *kwnames
[] = {
22316 (char *) "self",(char *) "title", NULL
22319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22323 arg2
= wxString_in_helper(obj1
);
22324 if (arg2
== NULL
) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 (arg1
)->SetTitle((wxString
const &)*arg2
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 Py_INCREF(Py_None
); resultobj
= Py_None
;
22349 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
;
22351 wxWindow
*arg1
= (wxWindow
*) 0 ;
22353 PyObject
* obj0
= 0 ;
22354 char *kwnames
[] = {
22355 (char *) "self", NULL
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 result
= ((wxWindow
const *)arg1
)->GetTitle();
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22381 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
;
22383 wxWindow
*arg1
= (wxWindow
*) 0 ;
22384 wxString
*arg2
= 0 ;
22385 bool temp2
= False
;
22386 PyObject
* obj0
= 0 ;
22387 PyObject
* obj1
= 0 ;
22388 char *kwnames
[] = {
22389 (char *) "self",(char *) "label", NULL
22392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22396 arg2
= wxString_in_helper(obj1
);
22397 if (arg2
== NULL
) SWIG_fail
;
22401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 (arg1
)->SetLabel((wxString
const &)*arg2
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 Py_INCREF(Py_None
); resultobj
= Py_None
;
22422 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxWindow
*arg1
= (wxWindow
*) 0 ;
22426 PyObject
* obj0
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "self", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= ((wxWindow
const *)arg1
)->GetLabel();
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22454 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxWindow
*arg1
= (wxWindow
*) 0 ;
22457 wxString
*arg2
= 0 ;
22458 bool temp2
= False
;
22459 PyObject
* obj0
= 0 ;
22460 PyObject
* obj1
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self",(char *) "name", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22469 arg2
= wxString_in_helper(obj1
);
22470 if (arg2
== NULL
) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 (arg1
)->SetName((wxString
const &)*arg2
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 Py_INCREF(Py_None
); resultobj
= Py_None
;
22495 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxWindow
*arg1
= (wxWindow
*) 0 ;
22499 PyObject
* obj0
= 0 ;
22500 char *kwnames
[] = {
22501 (char *) "self", NULL
22504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 result
= ((wxWindow
const *)arg1
)->GetName();
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22527 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
;
22529 wxWindow
*arg1
= (wxWindow
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self",(char *) "variant", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22540 arg2
= (int)SWIG_As_int(obj1
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 Py_INCREF(Py_None
); resultobj
= Py_None
;
22556 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxWindow
*arg1
= (wxWindow
*) 0 ;
22560 PyObject
* obj0
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22572 wxPyEndAllowThreads(__tstate
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22575 resultobj
= SWIG_From_int((int)result
);
22582 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22583 PyObject
*resultobj
;
22584 wxWindow
*arg1
= (wxWindow
*) 0 ;
22586 PyObject
* obj0
= 0 ;
22587 PyObject
* obj1
= 0 ;
22588 char *kwnames
[] = {
22589 (char *) "self",(char *) "winid", NULL
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22595 arg2
= (int)SWIG_As_int(obj1
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 (arg1
)->SetId(arg2
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 Py_INCREF(Py_None
); resultobj
= Py_None
;
22611 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
;
22613 wxWindow
*arg1
= (wxWindow
*) 0 ;
22615 PyObject
* obj0
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= (int)((wxWindow
const *)arg1
)->GetId();
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= SWIG_From_int((int)result
);
22637 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22640 char *kwnames
[] = {
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= (int)wxWindow::NewControlId();
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= SWIG_From_int((int)result
);
22659 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22660 PyObject
*resultobj
;
22663 PyObject
* obj0
= 0 ;
22664 char *kwnames
[] = {
22665 (char *) "winid", NULL
22668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22669 arg1
= (int)SWIG_As_int(obj0
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 result
= (int)wxWindow::NextControlId(arg1
);
22675 wxPyEndAllowThreads(__tstate
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22678 resultobj
= SWIG_From_int((int)result
);
22685 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
;
22689 PyObject
* obj0
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "winid", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22695 arg1
= (int)SWIG_As_int(obj0
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 result
= (int)wxWindow::PrevControlId(arg1
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= SWIG_From_int((int)result
);
22711 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxWindow
*arg1
= (wxWindow
*) 0 ;
22716 PyObject
* obj0
= 0 ;
22717 PyObject
* obj1
= 0 ;
22718 char *kwnames
[] = {
22719 (char *) "self",(char *) "size", NULL
22722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22727 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 (arg1
)->SetSize((wxSize
const &)*arg2
);
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22736 Py_INCREF(Py_None
); resultobj
= Py_None
;
22743 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22745 wxWindow
*arg1
= (wxWindow
*) 0 ;
22750 int arg6
= (int) wxSIZE_AUTO
;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 PyObject
* obj2
= 0 ;
22754 PyObject
* obj3
= 0 ;
22755 PyObject
* obj4
= 0 ;
22756 PyObject
* obj5
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 arg2
= (int)SWIG_As_int(obj1
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22766 arg3
= (int)SWIG_As_int(obj2
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22768 arg4
= (int)SWIG_As_int(obj3
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22770 arg5
= (int)SWIG_As_int(obj4
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 arg6
= (int)SWIG_As_int(obj5
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 Py_INCREF(Py_None
); resultobj
= Py_None
;
22790 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxWindow
*arg1
= (wxWindow
*) 0 ;
22794 int arg3
= (int) wxSIZE_AUTO
;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 PyObject
* obj2
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22808 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22811 arg3
= (int)SWIG_As_int(obj2
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22816 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 Py_INCREF(Py_None
); resultobj
= Py_None
;
22828 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
;
22830 wxWindow
*arg1
= (wxWindow
*) 0 ;
22833 PyObject
* obj0
= 0 ;
22834 PyObject
* obj1
= 0 ;
22835 PyObject
* obj2
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self",(char *) "width",(char *) "height", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22843 arg2
= (int)SWIG_As_int(obj1
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22845 arg3
= (int)SWIG_As_int(obj2
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 (arg1
)->SetSize(arg2
,arg3
);
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 Py_INCREF(Py_None
); resultobj
= Py_None
;
22861 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxWindow
*arg1
= (wxWindow
*) 0 ;
22864 wxPoint
*arg2
= 0 ;
22865 int arg3
= (int) wxSIZE_USE_EXISTING
;
22867 PyObject
* obj0
= 0 ;
22868 PyObject
* obj1
= 0 ;
22869 PyObject
* obj2
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self",(char *) "pt",(char *) "flags", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22879 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22882 arg3
= (int)SWIG_As_int(obj2
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 Py_INCREF(Py_None
); resultobj
= Py_None
;
22899 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
;
22901 wxWindow
*arg1
= (wxWindow
*) 0 ;
22904 int arg4
= (int) wxSIZE_USE_EXISTING
;
22905 PyObject
* obj0
= 0 ;
22906 PyObject
* obj1
= 0 ;
22907 PyObject
* obj2
= 0 ;
22908 PyObject
* obj3
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22916 arg2
= (int)SWIG_As_int(obj1
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22918 arg3
= (int)SWIG_As_int(obj2
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22921 arg4
= (int)SWIG_As_int(obj3
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 (arg1
)->Move(arg2
,arg3
,arg4
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 Py_INCREF(Py_None
); resultobj
= Py_None
;
22938 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
;
22940 wxWindow
*arg1
= (wxWindow
*) 0 ;
22941 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22942 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self",(char *) "size", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22956 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 Py_INCREF(Py_None
); resultobj
= Py_None
;
22973 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22975 wxWindow
*arg1
= (wxWindow
*) 0 ;
22976 PyObject
* obj0
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "self", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 Py_INCREF(Py_None
); resultobj
= Py_None
;
22998 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
;
23000 wxWindow
*arg1
= (wxWindow
*) 0 ;
23001 PyObject
* obj0
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23016 Py_INCREF(Py_None
); resultobj
= Py_None
;
23023 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
;
23025 wxWindow
*arg1
= (wxWindow
*) 0 ;
23028 PyObject
* obj0
= 0 ;
23029 PyObject
* obj1
= 0 ;
23030 char *kwnames
[] = {
23031 (char *) "self",(char *) "size", NULL
23034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23039 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23048 Py_INCREF(Py_None
); resultobj
= Py_None
;
23055 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
;
23057 wxWindow
*arg1
= (wxWindow
*) 0 ;
23060 PyObject
* obj0
= 0 ;
23061 PyObject
* obj1
= 0 ;
23062 PyObject
* obj2
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self",(char *) "width",(char *) "height", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23070 arg2
= (int)SWIG_As_int(obj1
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23072 arg3
= (int)SWIG_As_int(obj2
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 (arg1
)->SetClientSize(arg2
,arg3
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 Py_INCREF(Py_None
); resultobj
= Py_None
;
23088 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxWindow
*arg1
= (wxWindow
*) 0 ;
23093 PyObject
* obj0
= 0 ;
23094 PyObject
* obj1
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self",(char *) "rect", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 Py_INCREF(Py_None
); resultobj
= Py_None
;
23120 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxWindow
*arg1
= (wxWindow
*) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (arg1
)->GetPosition();
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23140 wxPoint
* resultptr
;
23141 resultptr
= new wxPoint((wxPoint
&) result
);
23142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23150 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
;
23152 wxWindow
*arg1
= (wxWindow
*) 0 ;
23153 int *arg2
= (int *) 0 ;
23154 int *arg3
= (int *) 0 ;
23159 PyObject
* obj0
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self", NULL
23164 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23165 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 (arg1
)->GetPosition(arg2
,arg3
);
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 Py_INCREF(Py_None
); resultobj
= Py_None
;
23177 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23178 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23179 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23180 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23187 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxWindow
*arg1
= (wxWindow
*) 0 ;
23191 PyObject
* obj0
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 result
= ((wxWindow
const *)arg1
)->GetSize();
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23207 wxSize
* resultptr
;
23208 resultptr
= new wxSize((wxSize
&) result
);
23209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23217 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxWindow
*arg1
= (wxWindow
*) 0 ;
23220 int *arg2
= (int *) 0 ;
23221 int *arg3
= (int *) 0 ;
23226 PyObject
* obj0
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "self", NULL
23231 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23232 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 Py_INCREF(Py_None
); resultobj
= Py_None
;
23244 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23245 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23246 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23247 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23254 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxWindow
*arg1
= (wxWindow
*) 0 ;
23258 PyObject
* obj0
= 0 ;
23259 char *kwnames
[] = {
23260 (char *) "self", NULL
23263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= ((wxWindow
const *)arg1
)->GetRect();
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23274 wxRect
* resultptr
;
23275 resultptr
= new wxRect((wxRect
&) result
);
23276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23284 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
;
23286 wxWindow
*arg1
= (wxWindow
*) 0 ;
23288 PyObject
* obj0
= 0 ;
23289 char *kwnames
[] = {
23290 (char *) "self", NULL
23293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23304 wxSize
* resultptr
;
23305 resultptr
= new wxSize((wxSize
&) result
);
23306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23314 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxWindow
*arg1
= (wxWindow
*) 0 ;
23317 int *arg2
= (int *) 0 ;
23318 int *arg3
= (int *) 0 ;
23323 PyObject
* obj0
= 0 ;
23324 char *kwnames
[] = {
23325 (char *) "self", NULL
23328 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23329 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 Py_INCREF(Py_None
); resultobj
= Py_None
;
23341 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23342 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23343 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23344 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23351 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23352 PyObject
*resultobj
;
23353 wxWindow
*arg1
= (wxWindow
*) 0 ;
23355 PyObject
* obj0
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23371 wxPoint
* resultptr
;
23372 resultptr
= new wxPoint((wxPoint
&) result
);
23373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23381 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxWindow
*arg1
= (wxWindow
*) 0 ;
23385 PyObject
* obj0
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23401 wxRect
* resultptr
;
23402 resultptr
= new wxRect((wxRect
&) result
);
23403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23411 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
;
23413 wxWindow
*arg1
= (wxWindow
*) 0 ;
23415 PyObject
* obj0
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "self", NULL
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23431 wxSize
* resultptr
;
23432 resultptr
= new wxSize((wxSize
&) result
);
23433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23441 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxWindow
*arg1
= (wxWindow
*) 0 ;
23444 int *arg2
= (int *) 0 ;
23445 int *arg3
= (int *) 0 ;
23450 PyObject
* obj0
= 0 ;
23451 char *kwnames
[] = {
23452 (char *) "self", NULL
23455 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23456 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 Py_INCREF(Py_None
); resultobj
= Py_None
;
23468 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23469 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23470 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23471 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23478 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxWindow
*arg1
= (wxWindow
*) 0 ;
23481 PyObject
* obj0
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "self", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 (arg1
)->InvalidateBestSize();
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 Py_INCREF(Py_None
); resultobj
= Py_None
;
23503 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxWindow
*arg1
= (wxWindow
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 wxSize
* resultptr
;
23524 resultptr
= new wxSize((wxSize
&) result
);
23525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23533 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxWindow
*arg1
= (wxWindow
*) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "self", NULL
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23553 wxSize
* resultptr
;
23554 resultptr
= new wxSize((wxSize
&) result
);
23555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23563 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
;
23565 wxWindow
*arg1
= (wxWindow
*) 0 ;
23566 int arg2
= (int) wxBOTH
;
23567 PyObject
* obj0
= 0 ;
23568 PyObject
* obj1
= 0 ;
23569 char *kwnames
[] = {
23570 (char *) "self",(char *) "direction", NULL
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23577 arg2
= (int)SWIG_As_int(obj1
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 (arg1
)->Center(arg2
);
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 Py_INCREF(Py_None
); resultobj
= Py_None
;
23594 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23596 wxWindow
*arg1
= (wxWindow
*) 0 ;
23597 int arg2
= (int) wxBOTH
;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23600 char *kwnames
[] = {
23601 (char *) "self",(char *) "dir", NULL
23604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23608 arg2
= (int)SWIG_As_int(obj1
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 (arg1
)->CenterOnScreen(arg2
);
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 Py_INCREF(Py_None
); resultobj
= Py_None
;
23625 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23627 wxWindow
*arg1
= (wxWindow
*) 0 ;
23628 int arg2
= (int) wxBOTH
;
23629 PyObject
* obj0
= 0 ;
23630 PyObject
* obj1
= 0 ;
23631 char *kwnames
[] = {
23632 (char *) "self",(char *) "dir", NULL
23635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23639 arg2
= (int)SWIG_As_int(obj1
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 (arg1
)->CenterOnParent(arg2
);
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23649 Py_INCREF(Py_None
); resultobj
= Py_None
;
23656 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23657 PyObject
*resultobj
;
23658 wxWindow
*arg1
= (wxWindow
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 Py_INCREF(Py_None
); resultobj
= Py_None
;
23681 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxWindow
*arg1
= (wxWindow
*) 0 ;
23684 PyObject
* obj0
= 0 ;
23685 char *kwnames
[] = {
23686 (char *) "self", NULL
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 (arg1
)->FitInside();
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 Py_INCREF(Py_None
); resultobj
= Py_None
;
23706 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
;
23708 wxWindow
*arg1
= (wxWindow
*) 0 ;
23711 int arg4
= (int) -1 ;
23712 int arg5
= (int) -1 ;
23713 int arg6
= (int) -1 ;
23714 int arg7
= (int) -1 ;
23715 PyObject
* obj0
= 0 ;
23716 PyObject
* obj1
= 0 ;
23717 PyObject
* obj2
= 0 ;
23718 PyObject
* obj3
= 0 ;
23719 PyObject
* obj4
= 0 ;
23720 PyObject
* obj5
= 0 ;
23721 PyObject
* obj6
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23729 arg2
= (int)SWIG_As_int(obj1
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23731 arg3
= (int)SWIG_As_int(obj2
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 arg4
= (int)SWIG_As_int(obj3
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23738 arg5
= (int)SWIG_As_int(obj4
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23742 arg6
= (int)SWIG_As_int(obj5
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23746 arg7
= (int)SWIG_As_int(obj6
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23756 Py_INCREF(Py_None
); resultobj
= Py_None
;
23763 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23764 PyObject
*resultobj
;
23765 wxWindow
*arg1
= (wxWindow
*) 0 ;
23767 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23768 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23769 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23770 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23774 PyObject
* obj0
= 0 ;
23775 PyObject
* obj1
= 0 ;
23776 PyObject
* obj2
= 0 ;
23777 PyObject
* obj3
= 0 ;
23778 char *kwnames
[] = {
23779 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23787 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23792 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23798 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 Py_INCREF(Py_None
); resultobj
= Py_None
;
23815 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
;
23817 wxWindow
*arg1
= (wxWindow
*) 0 ;
23820 int arg4
= (int) -1 ;
23821 int arg5
= (int) -1 ;
23822 PyObject
* obj0
= 0 ;
23823 PyObject
* obj1
= 0 ;
23824 PyObject
* obj2
= 0 ;
23825 PyObject
* obj3
= 0 ;
23826 PyObject
* obj4
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23834 arg2
= (int)SWIG_As_int(obj1
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23836 arg3
= (int)SWIG_As_int(obj2
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23839 arg4
= (int)SWIG_As_int(obj3
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23843 arg5
= (int)SWIG_As_int(obj4
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 Py_INCREF(Py_None
); resultobj
= Py_None
;
23860 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxWindow
*arg1
= (wxWindow
*) 0 ;
23864 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23865 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23870 PyObject
* obj2
= 0 ;
23871 char *kwnames
[] = {
23872 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23880 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23885 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23895 Py_INCREF(Py_None
); resultobj
= Py_None
;
23902 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23903 PyObject
*resultobj
;
23904 wxWindow
*arg1
= (wxWindow
*) 0 ;
23906 PyObject
* obj0
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23922 wxSize
* resultptr
;
23923 resultptr
= new wxSize((wxSize
&) result
);
23924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23932 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxWindow
*arg1
= (wxWindow
*) 0 ;
23936 PyObject
* obj0
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 wxSize
* resultptr
;
23953 resultptr
= new wxSize((wxSize
&) result
);
23954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23962 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23964 wxWindow
*arg1
= (wxWindow
*) 0 ;
23967 PyObject
* obj0
= 0 ;
23968 PyObject
* obj1
= 0 ;
23969 char *kwnames
[] = {
23970 (char *) "self",(char *) "minSize", NULL
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23978 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 Py_INCREF(Py_None
); resultobj
= Py_None
;
23994 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxWindow
*arg1
= (wxWindow
*) 0 ;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 char *kwnames
[] = {
24002 (char *) "self",(char *) "maxSize", NULL
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24010 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 Py_INCREF(Py_None
); resultobj
= Py_None
;
24026 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxWindow
*arg1
= (wxWindow
*) 0 ;
24030 PyObject
* obj0
= 0 ;
24031 char *kwnames
[] = {
24032 (char *) "self", NULL
24035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= SWIG_From_int((int)result
);
24052 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
;
24054 wxWindow
*arg1
= (wxWindow
*) 0 ;
24056 PyObject
* obj0
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= SWIG_From_int((int)result
);
24078 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 wxWindow
*arg1
= (wxWindow
*) 0 ;
24082 PyObject
* obj0
= 0 ;
24083 char *kwnames
[] = {
24084 (char *) "self", NULL
24087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= SWIG_From_int((int)result
);
24104 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
;
24106 wxWindow
*arg1
= (wxWindow
*) 0 ;
24108 PyObject
* obj0
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= SWIG_From_int((int)result
);
24130 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxWindow
*arg1
= (wxWindow
*) 0 ;
24135 PyObject
* obj0
= 0 ;
24136 PyObject
* obj1
= 0 ;
24137 char *kwnames
[] = {
24138 (char *) "self",(char *) "size", NULL
24141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24146 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 Py_INCREF(Py_None
); resultobj
= Py_None
;
24162 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxWindow
*arg1
= (wxWindow
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 PyObject
* obj1
= 0 ;
24169 PyObject
* obj2
= 0 ;
24170 char *kwnames
[] = {
24171 (char *) "self",(char *) "w",(char *) "h", NULL
24174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24177 arg2
= (int)SWIG_As_int(obj1
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24179 arg3
= (int)SWIG_As_int(obj2
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 (arg1
)->SetVirtualSize(arg2
,arg3
);
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 Py_INCREF(Py_None
); resultobj
= Py_None
;
24195 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxWindow
*arg1
= (wxWindow
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 wxSize
* resultptr
;
24216 resultptr
= new wxSize((wxSize
&) result
);
24217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24225 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxWindow
*arg1
= (wxWindow
*) 0 ;
24228 int *arg2
= (int *) 0 ;
24229 int *arg3
= (int *) 0 ;
24234 PyObject
* obj0
= 0 ;
24235 char *kwnames
[] = {
24236 (char *) "self", NULL
24239 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24240 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24246 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 Py_INCREF(Py_None
); resultobj
= Py_None
;
24252 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24253 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24254 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24255 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24262 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24263 PyObject
*resultobj
;
24264 wxWindow
*arg1
= (wxWindow
*) 0 ;
24266 PyObject
* obj0
= 0 ;
24267 char *kwnames
[] = {
24268 (char *) "self", NULL
24271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24276 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24282 wxSize
* resultptr
;
24283 resultptr
= new wxSize((wxSize
&) result
);
24284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24292 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxWindow
*arg1
= (wxWindow
*) 0 ;
24295 bool arg2
= (bool) True
;
24297 PyObject
* obj0
= 0 ;
24298 PyObject
* obj1
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self",(char *) "show", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24307 arg2
= (bool)SWIG_As_bool(obj1
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 result
= (bool)(arg1
)->Show(arg2
);
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24326 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24327 PyObject
*resultobj
;
24328 wxWindow
*arg1
= (wxWindow
*) 0 ;
24330 PyObject
* obj0
= 0 ;
24331 char *kwnames
[] = {
24332 (char *) "self", NULL
24335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 result
= (bool)(arg1
)->Hide();
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24354 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
;
24356 wxWindow
*arg1
= (wxWindow
*) 0 ;
24357 bool arg2
= (bool) True
;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "self",(char *) "enable", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24369 arg2
= (bool)SWIG_As_bool(obj1
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (bool)(arg1
)->Enable(arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24388 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxWindow
*arg1
= (wxWindow
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 result
= (bool)(arg1
)->Disable();
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24416 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
;
24418 wxWindow
*arg1
= (wxWindow
*) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "self", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24444 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
;
24446 wxWindow
*arg1
= (wxWindow
*) 0 ;
24448 PyObject
* obj0
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self", NULL
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24472 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24474 wxWindow
*arg1
= (wxWindow
*) 0 ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self",(char *) "style", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24485 arg2
= (long)SWIG_As_long(obj1
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 (arg1
)->SetWindowStyleFlag(arg2
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 Py_INCREF(Py_None
); resultobj
= Py_None
;
24501 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
;
24503 wxWindow
*arg1
= (wxWindow
*) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= SWIG_From_long((long)result
);
24527 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxWindow
*arg1
= (wxWindow
*) 0 ;
24532 PyObject
* obj0
= 0 ;
24533 PyObject
* obj1
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self",(char *) "flag", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24541 arg2
= (int)SWIG_As_int(obj1
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24559 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxWindow
*arg1
= (wxWindow
*) 0 ;
24563 PyObject
* obj0
= 0 ;
24564 char *kwnames
[] = {
24565 (char *) "self", NULL
24568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24587 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxWindow
*arg1
= (wxWindow
*) 0 ;
24591 PyObject
* obj0
= 0 ;
24592 PyObject
* obj1
= 0 ;
24593 char *kwnames
[] = {
24594 (char *) "self",(char *) "exStyle", NULL
24597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24600 arg2
= (long)SWIG_As_long(obj1
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 (arg1
)->SetExtraStyle(arg2
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 Py_INCREF(Py_None
); resultobj
= Py_None
;
24616 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxWindow
*arg1
= (wxWindow
*) 0 ;
24620 PyObject
* obj0
= 0 ;
24621 char *kwnames
[] = {
24622 (char *) "self", NULL
24625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= SWIG_From_long((long)result
);
24642 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
;
24644 wxWindow
*arg1
= (wxWindow
*) 0 ;
24645 bool arg2
= (bool) True
;
24646 PyObject
* obj0
= 0 ;
24647 PyObject
* obj1
= 0 ;
24648 char *kwnames
[] = {
24649 (char *) "self",(char *) "modal", NULL
24652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24656 arg2
= (bool)SWIG_As_bool(obj1
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 (arg1
)->MakeModal(arg2
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 Py_INCREF(Py_None
); resultobj
= Py_None
;
24673 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxWindow
*arg1
= (wxWindow
*) 0 ;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj1
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "self",(char *) "enableTheme", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24686 arg2
= (bool)SWIG_As_bool(obj1
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 (arg1
)->SetThemeEnabled(arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 Py_INCREF(Py_None
); resultobj
= Py_None
;
24702 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxWindow
*arg1
= (wxWindow
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 char *kwnames
[] = {
24708 (char *) "self", NULL
24711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24730 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
;
24732 wxWindow
*arg1
= (wxWindow
*) 0 ;
24733 PyObject
* obj0
= 0 ;
24734 char *kwnames
[] = {
24735 (char *) "self", NULL
24738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 (arg1
)->SetFocus();
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 Py_INCREF(Py_None
); resultobj
= Py_None
;
24755 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
;
24757 wxWindow
*arg1
= (wxWindow
*) 0 ;
24758 PyObject
* obj0
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self", NULL
24763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 (arg1
)->SetFocusFromKbd();
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 Py_INCREF(Py_None
); resultobj
= Py_None
;
24780 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
;
24783 char *kwnames
[] = {
24787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24789 if (!wxPyCheckForApp()) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (wxWindow
*)wxWindow::FindFocus();
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= wxPyMake_wxObject(result
, 0);
24805 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxWindow
*arg1
= (wxWindow
*) 0 ;
24809 PyObject
* obj0
= 0 ;
24810 char *kwnames
[] = {
24811 (char *) "self", NULL
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24833 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxWindow
*arg1
= (wxWindow
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24861 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxWindow
*arg1
= (wxWindow
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= wxPyMake_wxObject(result
, 0);
24889 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxWindow
*arg1
= (wxWindow
*) 0 ;
24892 wxWindow
*arg2
= (wxWindow
*) 0 ;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self",(char *) "child", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= wxPyMake_wxObject(result
, 0);
24921 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxWindow
*arg1
= (wxWindow
*) 0 ;
24924 wxWindow
*arg2
= (wxWindow
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 PyObject
* obj1
= 0 ;
24927 char *kwnames
[] = {
24928 (char *) "self",(char *) "win", NULL
24931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 (arg1
)->SetTmpDefaultItem(arg2
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 Py_INCREF(Py_None
); resultobj
= Py_None
;
24950 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxWindow
*arg1
= (wxWindow
*) 0 ;
24953 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24955 PyObject
* obj0
= 0 ;
24956 PyObject
* obj1
= 0 ;
24957 char *kwnames
[] = {
24958 (char *) "self",(char *) "flags", NULL
24961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24965 arg2
= (int)SWIG_As_int(obj1
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (bool)(arg1
)->Navigate(arg2
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24984 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
;
24986 wxWindow
*arg1
= (wxWindow
*) 0 ;
24987 wxWindow
*arg2
= (wxWindow
*) 0 ;
24988 PyObject
* obj0
= 0 ;
24989 PyObject
* obj1
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self",(char *) "win", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 (arg1
)->MoveAfterInTabOrder(arg2
);
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25006 Py_INCREF(Py_None
); resultobj
= Py_None
;
25013 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25015 wxWindow
*arg1
= (wxWindow
*) 0 ;
25016 wxWindow
*arg2
= (wxWindow
*) 0 ;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "self",(char *) "win", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 (arg1
)->MoveBeforeInTabOrder(arg2
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25035 Py_INCREF(Py_None
); resultobj
= Py_None
;
25042 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25044 wxWindow
*arg1
= (wxWindow
*) 0 ;
25046 PyObject
* obj0
= 0 ;
25047 char *kwnames
[] = {
25048 (char *) "self", NULL
25051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= result
;
25068 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
;
25070 wxWindow
*arg1
= (wxWindow
*) 0 ;
25072 PyObject
* obj0
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= wxPyMake_wxObject(result
, 0);
25096 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
;
25098 wxWindow
*arg1
= (wxWindow
*) 0 ;
25100 PyObject
* obj0
= 0 ;
25101 char *kwnames
[] = {
25102 (char *) "self", NULL
25105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= wxPyMake_wxObject(result
, 0);
25124 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25125 PyObject
*resultobj
;
25126 wxWindow
*arg1
= (wxWindow
*) 0 ;
25128 PyObject
* obj0
= 0 ;
25129 char *kwnames
[] = {
25130 (char *) "self", NULL
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25152 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
;
25154 wxWindow
*arg1
= (wxWindow
*) 0 ;
25155 wxWindow
*arg2
= (wxWindow
*) 0 ;
25157 PyObject
* obj0
= 0 ;
25158 PyObject
* obj1
= 0 ;
25159 char *kwnames
[] = {
25160 (char *) "self",(char *) "newParent", NULL
25163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 result
= (bool)(arg1
)->Reparent(arg2
);
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25184 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
;
25186 wxWindow
*arg1
= (wxWindow
*) 0 ;
25187 wxWindow
*arg2
= (wxWindow
*) 0 ;
25188 PyObject
* obj0
= 0 ;
25189 PyObject
* obj1
= 0 ;
25190 char *kwnames
[] = {
25191 (char *) "self",(char *) "child", NULL
25194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 (arg1
)->AddChild(arg2
);
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25206 Py_INCREF(Py_None
); resultobj
= Py_None
;
25213 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxWindow
*arg1
= (wxWindow
*) 0 ;
25216 wxWindow
*arg2
= (wxWindow
*) 0 ;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self",(char *) "child", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 (arg1
)->RemoveChild(arg2
);
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25235 Py_INCREF(Py_None
); resultobj
= Py_None
;
25242 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25243 PyObject
*resultobj
;
25244 wxWindow
*arg1
= (wxWindow
*) 0 ;
25247 PyObject
* obj0
= 0 ;
25248 PyObject
* obj1
= 0 ;
25249 char *kwnames
[] = {
25250 (char *) "self",(char *) "winid", NULL
25253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25256 arg2
= (long)SWIG_As_long(obj1
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= wxPyMake_wxObject(result
, 0);
25274 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25275 PyObject
*resultobj
;
25276 wxWindow
*arg1
= (wxWindow
*) 0 ;
25277 wxString
*arg2
= 0 ;
25279 bool temp2
= False
;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self",(char *) "name", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25290 arg2
= wxString_in_helper(obj1
);
25291 if (arg2
== NULL
) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= wxPyMake_wxObject(result
, 0);
25318 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25319 PyObject
*resultobj
;
25320 wxWindow
*arg1
= (wxWindow
*) 0 ;
25321 wxEvtHandler
*result
;
25322 PyObject
* obj0
= 0 ;
25323 char *kwnames
[] = {
25324 (char *) "self", NULL
25327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= wxPyMake_wxObject(result
, 0);
25346 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxWindow
*arg1
= (wxWindow
*) 0 ;
25349 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 PyObject
* obj1
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self",(char *) "handler", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 (arg1
)->SetEventHandler(arg2
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 Py_INCREF(Py_None
); resultobj
= Py_None
;
25375 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25376 PyObject
*resultobj
;
25377 wxWindow
*arg1
= (wxWindow
*) 0 ;
25378 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25379 PyObject
* obj0
= 0 ;
25380 PyObject
* obj1
= 0 ;
25381 char *kwnames
[] = {
25382 (char *) "self",(char *) "handler", NULL
25385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 (arg1
)->PushEventHandler(arg2
);
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 Py_INCREF(Py_None
); resultobj
= Py_None
;
25404 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
;
25406 wxWindow
*arg1
= (wxWindow
*) 0 ;
25407 bool arg2
= (bool) False
;
25408 wxEvtHandler
*result
;
25409 PyObject
* obj0
= 0 ;
25410 PyObject
* obj1
= 0 ;
25411 char *kwnames
[] = {
25412 (char *) "self",(char *) "deleteHandler", NULL
25415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25419 arg2
= (bool)SWIG_As_bool(obj1
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= wxPyMake_wxObject(result
, 0);
25438 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxWindow
*arg1
= (wxWindow
*) 0 ;
25441 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self",(char *) "handler", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25470 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
;
25472 wxWindow
*arg1
= (wxWindow
*) 0 ;
25473 wxValidator
*arg2
= 0 ;
25474 PyObject
* obj0
= 0 ;
25475 PyObject
* obj1
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self",(char *) "validator", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25486 if (arg2
== NULL
) {
25487 PyErr_SetString(PyExc_TypeError
,"null reference");
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25497 Py_INCREF(Py_None
); resultobj
= Py_None
;
25504 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25505 PyObject
*resultobj
;
25506 wxWindow
*arg1
= (wxWindow
*) 0 ;
25507 wxValidator
*result
;
25508 PyObject
* obj0
= 0 ;
25509 char *kwnames
[] = {
25510 (char *) "self", NULL
25513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 result
= (wxValidator
*)(arg1
)->GetValidator();
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25524 resultobj
= wxPyMake_wxObject(result
, 0);
25532 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
;
25534 wxWindow
*arg1
= (wxWindow
*) 0 ;
25536 PyObject
* obj0
= 0 ;
25537 char *kwnames
[] = {
25538 (char *) "self", NULL
25541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 result
= (bool)(arg1
)->Validate();
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25560 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxWindow
*arg1
= (wxWindow
*) 0 ;
25564 PyObject
* obj0
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "self", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 result
= (bool)(arg1
)->TransferDataToWindow();
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25588 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
;
25590 wxWindow
*arg1
= (wxWindow
*) 0 ;
25592 PyObject
* obj0
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 result
= (bool)(arg1
)->TransferDataFromWindow();
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25616 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxWindow
*arg1
= (wxWindow
*) 0 ;
25619 PyObject
* obj0
= 0 ;
25620 char *kwnames
[] = {
25621 (char *) "self", NULL
25624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 (arg1
)->InitDialog();
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25634 Py_INCREF(Py_None
); resultobj
= Py_None
;
25641 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25642 PyObject
*resultobj
;
25643 wxWindow
*arg1
= (wxWindow
*) 0 ;
25644 wxAcceleratorTable
*arg2
= 0 ;
25645 PyObject
* obj0
= 0 ;
25646 PyObject
* obj1
= 0 ;
25647 char *kwnames
[] = {
25648 (char *) "self",(char *) "accel", NULL
25651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25657 if (arg2
== NULL
) {
25658 PyErr_SetString(PyExc_TypeError
,"null reference");
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25668 Py_INCREF(Py_None
); resultobj
= Py_None
;
25675 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25676 PyObject
*resultobj
;
25677 wxWindow
*arg1
= (wxWindow
*) 0 ;
25678 wxAcceleratorTable
*result
;
25679 PyObject
* obj0
= 0 ;
25680 char *kwnames
[] = {
25681 (char *) "self", NULL
25684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25701 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
;
25703 wxWindow
*arg1
= (wxWindow
*) 0 ;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 PyObject
* obj2
= 0 ;
25711 PyObject
* obj3
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25719 arg2
= (int)SWIG_As_int(obj1
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25721 arg3
= (int)SWIG_As_int(obj2
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25723 arg4
= (int)SWIG_As_int(obj3
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25741 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
;
25743 wxWindow
*arg1
= (wxWindow
*) 0 ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 char *kwnames
[] = {
25749 (char *) "self",(char *) "hotkeyId", NULL
25752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25755 arg2
= (int)SWIG_As_int(obj1
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25773 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxWindow
*arg1
= (wxWindow
*) 0 ;
25776 wxPoint
*arg2
= 0 ;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self",(char *) "pt", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25800 wxPoint
* resultptr
;
25801 resultptr
= new wxPoint((wxPoint
&) result
);
25802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25810 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
;
25812 wxWindow
*arg1
= (wxWindow
*) 0 ;
25816 PyObject
* obj0
= 0 ;
25817 PyObject
* obj1
= 0 ;
25818 char *kwnames
[] = {
25819 (char *) "self",(char *) "sz", NULL
25822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25827 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25837 wxSize
* resultptr
;
25838 resultptr
= new wxSize((wxSize
&) result
);
25839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25847 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25848 PyObject
*resultobj
;
25849 wxWindow
*arg1
= (wxWindow
*) 0 ;
25850 wxPoint
*arg2
= 0 ;
25853 PyObject
* obj0
= 0 ;
25854 PyObject
* obj1
= 0 ;
25855 char *kwnames
[] = {
25856 (char *) "self",(char *) "pt", NULL
25859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25864 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25874 wxPoint
* resultptr
;
25875 resultptr
= new wxPoint((wxPoint
&) result
);
25876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25884 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxWindow
*arg1
= (wxWindow
*) 0 ;
25890 PyObject
* obj0
= 0 ;
25891 PyObject
* obj1
= 0 ;
25892 char *kwnames
[] = {
25893 (char *) "self",(char *) "sz", NULL
25896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25911 wxSize
* resultptr
;
25912 resultptr
= new wxSize((wxSize
&) result
);
25913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25921 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxWindow
*arg1
= (wxWindow
*) 0 ;
25924 wxPoint
*arg2
= 0 ;
25927 PyObject
* obj0
= 0 ;
25928 PyObject
* obj1
= 0 ;
25929 char *kwnames
[] = {
25930 (char *) "self",(char *) "pt", NULL
25933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25942 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25948 wxPoint
* resultptr
;
25949 resultptr
= new wxPoint((wxPoint
&) result
);
25950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25958 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25959 PyObject
*resultobj
;
25960 wxWindow
*arg1
= (wxWindow
*) 0 ;
25964 PyObject
* obj0
= 0 ;
25965 PyObject
* obj1
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self",(char *) "sz", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25975 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25985 wxSize
* resultptr
;
25986 resultptr
= new wxSize((wxSize
&) result
);
25987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25995 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxWindow
*arg1
= (wxWindow
*) 0 ;
26000 PyObject
* obj0
= 0 ;
26001 PyObject
* obj1
= 0 ;
26002 PyObject
* obj2
= 0 ;
26003 char *kwnames
[] = {
26004 (char *) "self",(char *) "x",(char *) "y", NULL
26007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26010 arg2
= (int)SWIG_As_int(obj1
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26012 arg3
= (int)SWIG_As_int(obj2
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26016 (arg1
)->WarpPointer(arg2
,arg3
);
26018 wxPyEndAllowThreads(__tstate
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26021 Py_INCREF(Py_None
); resultobj
= Py_None
;
26028 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxWindow
*arg1
= (wxWindow
*) 0 ;
26031 PyObject
* obj0
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 (arg1
)->CaptureMouse();
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 Py_INCREF(Py_None
); resultobj
= Py_None
;
26053 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
;
26055 wxWindow
*arg1
= (wxWindow
*) 0 ;
26056 PyObject
* obj0
= 0 ;
26057 char *kwnames
[] = {
26058 (char *) "self", NULL
26061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 (arg1
)->ReleaseMouse();
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 Py_INCREF(Py_None
); resultobj
= Py_None
;
26078 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26081 char *kwnames
[] = {
26085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26087 if (!wxPyCheckForApp()) SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 result
= (wxWindow
*)wxWindow::GetCapture();
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26095 resultobj
= wxPyMake_wxObject(result
, 0);
26103 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26104 PyObject
*resultobj
;
26105 wxWindow
*arg1
= (wxWindow
*) 0 ;
26107 PyObject
* obj0
= 0 ;
26108 char *kwnames
[] = {
26109 (char *) "self", NULL
26112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26117 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26131 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
;
26133 wxWindow
*arg1
= (wxWindow
*) 0 ;
26134 bool arg2
= (bool) True
;
26135 wxRect
*arg3
= (wxRect
*) NULL
;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 PyObject
* obj2
= 0 ;
26139 char *kwnames
[] = {
26140 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26147 arg2
= (bool)SWIG_As_bool(obj1
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26151 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 Py_INCREF(Py_None
); resultobj
= Py_None
;
26168 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
;
26170 wxWindow
*arg1
= (wxWindow
*) 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "rect", NULL
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26184 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 Py_INCREF(Py_None
); resultobj
= Py_None
;
26200 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxWindow
*arg1
= (wxWindow
*) 0 ;
26203 PyObject
* obj0
= 0 ;
26204 char *kwnames
[] = {
26205 (char *) "self", NULL
26208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 Py_INCREF(Py_None
); resultobj
= Py_None
;
26225 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
;
26227 wxWindow
*arg1
= (wxWindow
*) 0 ;
26228 PyObject
* obj0
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 (arg1
)->ClearBackground();
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 Py_INCREF(Py_None
); resultobj
= Py_None
;
26250 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
;
26252 wxWindow
*arg1
= (wxWindow
*) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self", NULL
26258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26268 Py_INCREF(Py_None
); resultobj
= Py_None
;
26275 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26276 PyObject
*resultobj
;
26277 wxWindow
*arg1
= (wxWindow
*) 0 ;
26278 PyObject
* obj0
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26293 Py_INCREF(Py_None
); resultobj
= Py_None
;
26300 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26301 PyObject
*resultobj
;
26302 wxWindow
*arg1
= (wxWindow
*) 0 ;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self",(char *) "dc", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26316 if (arg2
== NULL
) {
26317 PyErr_SetString(PyExc_TypeError
,"null reference");
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 (arg1
)->PrepareDC(*arg2
);
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26327 Py_INCREF(Py_None
); resultobj
= Py_None
;
26334 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
;
26336 wxWindow
*arg1
= (wxWindow
*) 0 ;
26338 PyObject
* obj0
= 0 ;
26339 char *kwnames
[] = {
26340 (char *) "self", NULL
26343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26350 result
= (wxRegion
*) &_result_ref
;
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26363 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
;
26365 wxWindow
*arg1
= (wxWindow
*) 0 ;
26367 PyObject
* obj0
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26383 wxRect
* resultptr
;
26384 resultptr
= new wxRect((wxRect
&) result
);
26385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26393 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
;
26395 wxWindow
*arg1
= (wxWindow
*) 0 ;
26398 int arg4
= (int) 1 ;
26399 int arg5
= (int) 1 ;
26401 PyObject
* obj0
= 0 ;
26402 PyObject
* obj1
= 0 ;
26403 PyObject
* obj2
= 0 ;
26404 PyObject
* obj3
= 0 ;
26405 PyObject
* obj4
= 0 ;
26406 char *kwnames
[] = {
26407 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26413 arg2
= (int)SWIG_As_int(obj1
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26415 arg3
= (int)SWIG_As_int(obj2
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 arg4
= (int)SWIG_As_int(obj3
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26422 arg5
= (int)SWIG_As_int(obj4
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26441 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
;
26443 wxWindow
*arg1
= (wxWindow
*) 0 ;
26444 wxPoint
*arg2
= 0 ;
26447 PyObject
* obj0
= 0 ;
26448 PyObject
* obj1
= 0 ;
26449 char *kwnames
[] = {
26450 (char *) "self",(char *) "pt", NULL
26453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26462 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26464 wxPyEndAllowThreads(__tstate
);
26465 if (PyErr_Occurred()) SWIG_fail
;
26468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26476 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26477 PyObject
*resultobj
;
26478 wxWindow
*arg1
= (wxWindow
*) 0 ;
26482 PyObject
* obj0
= 0 ;
26483 PyObject
* obj1
= 0 ;
26484 char *kwnames
[] = {
26485 (char *) "self",(char *) "rect", NULL
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26493 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26511 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
;
26513 wxWindow
*arg1
= (wxWindow
*) 0 ;
26514 wxVisualAttributes result
;
26515 PyObject
* obj0
= 0 ;
26516 char *kwnames
[] = {
26517 (char *) "self", NULL
26520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26525 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26531 wxVisualAttributes
* resultptr
;
26532 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26541 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26544 wxVisualAttributes result
;
26545 PyObject
* obj0
= 0 ;
26546 char *kwnames
[] = {
26547 (char *) "variant", NULL
26550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26552 arg1
= (int)SWIG_As_int(obj0
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26556 if (!wxPyCheckForApp()) SWIG_fail
;
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26564 wxVisualAttributes
* resultptr
;
26565 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26574 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26575 PyObject
*resultobj
;
26576 wxWindow
*arg1
= (wxWindow
*) 0 ;
26577 wxColour
*arg2
= 0 ;
26580 PyObject
* obj0
= 0 ;
26581 PyObject
* obj1
= 0 ;
26582 char *kwnames
[] = {
26583 (char *) "self",(char *) "colour", NULL
26586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26591 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26609 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxWindow
*arg1
= (wxWindow
*) 0 ;
26612 wxColour
*arg2
= 0 ;
26614 PyObject
* obj0
= 0 ;
26615 PyObject
* obj1
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "self",(char *) "colour", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26625 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26634 Py_INCREF(Py_None
); resultobj
= Py_None
;
26641 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxWindow
*arg1
= (wxWindow
*) 0 ;
26644 wxColour
*arg2
= 0 ;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26649 char *kwnames
[] = {
26650 (char *) "self",(char *) "colour", NULL
26653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26658 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26676 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26677 PyObject
*resultobj
;
26678 wxWindow
*arg1
= (wxWindow
*) 0 ;
26679 wxColour
*arg2
= 0 ;
26681 PyObject
* obj0
= 0 ;
26682 PyObject
* obj1
= 0 ;
26683 char *kwnames
[] = {
26684 (char *) "self",(char *) "colour", NULL
26687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26692 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 Py_INCREF(Py_None
); resultobj
= Py_None
;
26708 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
;
26710 wxWindow
*arg1
= (wxWindow
*) 0 ;
26712 PyObject
* obj0
= 0 ;
26713 char *kwnames
[] = {
26714 (char *) "self", NULL
26717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26728 wxColour
* resultptr
;
26729 resultptr
= new wxColour((wxColour
&) result
);
26730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26738 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxWindow
*arg1
= (wxWindow
*) 0 ;
26742 PyObject
* obj0
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26758 wxColour
* resultptr
;
26759 resultptr
= new wxColour((wxColour
&) result
);
26760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26768 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26769 PyObject
*resultobj
;
26770 wxWindow
*arg1
= (wxWindow
*) 0 ;
26773 PyObject
* obj0
= 0 ;
26774 PyObject
* obj1
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "style", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26782 arg2
= (int)SWIG_As_int(obj1
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26800 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxWindow
*arg1
= (wxWindow
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 char *kwnames
[] = {
26806 (char *) "self", NULL
26809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= SWIG_From_int((int)result
);
26826 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
;
26828 wxWindow
*arg1
= (wxWindow
*) 0 ;
26829 wxCursor
*arg2
= 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 char *kwnames
[] = {
26834 (char *) "self",(char *) "cursor", NULL
26837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26843 if (arg2
== NULL
) {
26844 PyErr_SetString(PyExc_TypeError
,"null reference");
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26863 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
;
26865 wxWindow
*arg1
= (wxWindow
*) 0 ;
26867 PyObject
* obj0
= 0 ;
26868 char *kwnames
[] = {
26869 (char *) "self", NULL
26872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 result
= (arg1
)->GetCursor();
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26883 wxCursor
* resultptr
;
26884 resultptr
= new wxCursor((wxCursor
&) result
);
26885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26893 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26894 PyObject
*resultobj
;
26895 wxWindow
*arg1
= (wxWindow
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "self",(char *) "font", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26910 if (arg2
== NULL
) {
26911 PyErr_SetString(PyExc_TypeError
,"null reference");
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26930 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
;
26932 wxWindow
*arg1
= (wxWindow
*) 0 ;
26934 PyObject
* obj0
= 0 ;
26935 PyObject
* obj1
= 0 ;
26936 char *kwnames
[] = {
26937 (char *) "self",(char *) "font", NULL
26940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26946 if (arg2
== NULL
) {
26947 PyErr_SetString(PyExc_TypeError
,"null reference");
26951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26952 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26954 wxPyEndAllowThreads(__tstate
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 Py_INCREF(Py_None
); resultobj
= Py_None
;
26964 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26965 PyObject
*resultobj
;
26966 wxWindow
*arg1
= (wxWindow
*) 0 ;
26968 PyObject
* obj0
= 0 ;
26969 char *kwnames
[] = {
26970 (char *) "self", NULL
26973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 result
= (arg1
)->GetFont();
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26984 wxFont
* resultptr
;
26985 resultptr
= new wxFont((wxFont
&) result
);
26986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26994 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
;
26996 wxWindow
*arg1
= (wxWindow
*) 0 ;
26997 wxCaret
*arg2
= (wxCaret
*) 0 ;
26998 PyObject
* obj0
= 0 ;
26999 PyObject
* obj1
= 0 ;
27000 char *kwnames
[] = {
27001 (char *) "self",(char *) "caret", NULL
27004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 (arg1
)->SetCaret(arg2
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27016 Py_INCREF(Py_None
); resultobj
= Py_None
;
27023 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
;
27025 wxWindow
*arg1
= (wxWindow
*) 0 ;
27027 PyObject
* obj0
= 0 ;
27028 char *kwnames
[] = {
27029 (char *) "self", NULL
27032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27039 wxPyEndAllowThreads(__tstate
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27049 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27050 PyObject
*resultobj
;
27051 wxWindow
*arg1
= (wxWindow
*) 0 ;
27053 PyObject
* obj0
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27068 resultobj
= SWIG_From_int((int)result
);
27075 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
;
27077 wxWindow
*arg1
= (wxWindow
*) 0 ;
27079 PyObject
* obj0
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27094 resultobj
= SWIG_From_int((int)result
);
27101 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxWindow
*arg1
= (wxWindow
*) 0 ;
27104 wxString
*arg2
= 0 ;
27105 int *arg3
= (int *) 0 ;
27106 int *arg4
= (int *) 0 ;
27107 bool temp2
= False
;
27112 PyObject
* obj0
= 0 ;
27113 PyObject
* obj1
= 0 ;
27114 char *kwnames
[] = {
27115 (char *) "self",(char *) "string", NULL
27118 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27119 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27124 arg2
= wxString_in_helper(obj1
);
27125 if (arg2
== NULL
) SWIG_fail
;
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 Py_INCREF(Py_None
); resultobj
= Py_None
;
27136 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27137 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27138 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27139 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27154 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27155 PyObject
*resultobj
;
27156 wxWindow
*arg1
= (wxWindow
*) 0 ;
27157 wxString
*arg2
= 0 ;
27158 int *arg3
= (int *) 0 ;
27159 int *arg4
= (int *) 0 ;
27160 int *arg5
= (int *) 0 ;
27161 int *arg6
= (int *) 0 ;
27162 wxFont
*arg7
= (wxFont
*) NULL
;
27163 bool temp2
= False
;
27172 PyObject
* obj0
= 0 ;
27173 PyObject
* obj1
= 0 ;
27174 PyObject
* obj2
= 0 ;
27175 char *kwnames
[] = {
27176 (char *) "self",(char *) "string",(char *) "font", NULL
27179 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27180 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27181 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27182 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27187 arg2
= wxString_in_helper(obj1
);
27188 if (arg2
== NULL
) SWIG_fail
;
27192 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 Py_INCREF(Py_None
); resultobj
= Py_None
;
27203 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27204 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27205 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27206 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27207 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27208 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27209 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27210 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27225 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxWindow
*arg1
= (wxWindow
*) 0 ;
27228 int *arg2
= (int *) 0 ;
27229 int *arg3
= (int *) 0 ;
27234 PyObject
* obj0
= 0 ;
27235 PyObject
* obj1
= 0 ;
27236 PyObject
* obj2
= 0 ;
27237 char *kwnames
[] = {
27238 (char *) "self",(char *) "x",(char *) "y", NULL
27241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27245 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27246 temp2
= SWIG_As_int(obj1
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27249 res2
= SWIG_NEWOBJ
;
27253 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27254 temp3
= SWIG_As_int(obj2
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27257 res3
= SWIG_NEWOBJ
;
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 Py_INCREF(Py_None
); resultobj
= Py_None
;
27268 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27269 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27270 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27271 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27278 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
;
27280 wxWindow
*arg1
= (wxWindow
*) 0 ;
27281 int *arg2
= (int *) 0 ;
27282 int *arg3
= (int *) 0 ;
27287 PyObject
* obj0
= 0 ;
27288 PyObject
* obj1
= 0 ;
27289 PyObject
* obj2
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self",(char *) "x",(char *) "y", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27298 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27299 temp2
= SWIG_As_int(obj1
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 res2
= SWIG_NEWOBJ
;
27306 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27307 temp3
= SWIG_As_int(obj2
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 res3
= SWIG_NEWOBJ
;
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27320 Py_INCREF(Py_None
); resultobj
= Py_None
;
27321 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27322 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27323 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27324 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27331 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxWindow
*arg1
= (wxWindow
*) 0 ;
27334 wxPoint
*arg2
= 0 ;
27337 PyObject
* obj0
= 0 ;
27338 PyObject
* obj1
= 0 ;
27339 char *kwnames
[] = {
27340 (char *) "self",(char *) "pt", NULL
27343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27358 wxPoint
* resultptr
;
27359 resultptr
= new wxPoint((wxPoint
&) result
);
27360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27368 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxWindow
*arg1
= (wxWindow
*) 0 ;
27371 wxPoint
*arg2
= 0 ;
27374 PyObject
* obj0
= 0 ;
27375 PyObject
* obj1
= 0 ;
27376 char *kwnames
[] = {
27377 (char *) "self",(char *) "pt", NULL
27380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27395 wxPoint
* resultptr
;
27396 resultptr
= new wxPoint((wxPoint
&) result
);
27397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27405 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27406 PyObject
*resultobj
;
27407 wxWindow
*arg1
= (wxWindow
*) 0 ;
27411 PyObject
* obj0
= 0 ;
27412 PyObject
* obj1
= 0 ;
27413 PyObject
* obj2
= 0 ;
27414 char *kwnames
[] = {
27415 (char *) "self",(char *) "x",(char *) "y", NULL
27418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27421 arg2
= (int)SWIG_As_int(obj1
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27423 arg3
= (int)SWIG_As_int(obj2
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27429 wxPyEndAllowThreads(__tstate
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= SWIG_From_int((int)result
);
27439 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
;
27441 wxWindow
*arg1
= (wxWindow
*) 0 ;
27442 wxPoint
*arg2
= 0 ;
27445 PyObject
* obj0
= 0 ;
27446 PyObject
* obj1
= 0 ;
27447 char *kwnames
[] = {
27448 (char *) "self",(char *) "pt", NULL
27451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27456 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= SWIG_From_int((int)result
);
27472 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27473 PyObject
*resultobj
;
27474 wxWindow
*arg1
= (wxWindow
*) 0 ;
27477 PyObject
* obj0
= 0 ;
27478 PyObject
* obj1
= 0 ;
27480 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27483 arg2
= (long)SWIG_As_long(obj1
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 resultobj
= SWIG_From_int((int)result
);
27499 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27500 PyObject
*resultobj
;
27501 wxWindow
*arg1
= (wxWindow
*) 0 ;
27503 PyObject
* obj0
= 0 ;
27505 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27512 wxPyEndAllowThreads(__tstate
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27515 resultobj
= SWIG_From_int((int)result
);
27522 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27527 argc
= PyObject_Length(args
);
27528 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27529 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27535 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27543 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27550 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27558 _v
= SWIG_Check_long(argv
[1]);
27560 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27565 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27570 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxWindow
*arg1
= (wxWindow
*) 0 ;
27573 long arg2
= (long) wxUPDATE_UI_NONE
;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 char *kwnames
[] = {
27577 (char *) "self",(char *) "flags", NULL
27580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27584 arg2
= (long)SWIG_As_long(obj1
);
27585 if (PyErr_Occurred()) SWIG_fail
;
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 (arg1
)->UpdateWindowUI(arg2
);
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 Py_INCREF(Py_None
); resultobj
= Py_None
;
27601 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
;
27603 wxWindow
*arg1
= (wxWindow
*) 0 ;
27604 wxMenu
*arg2
= (wxMenu
*) 0 ;
27605 int arg3
= (int) -1 ;
27606 int arg4
= (int) -1 ;
27608 PyObject
* obj0
= 0 ;
27609 PyObject
* obj1
= 0 ;
27610 PyObject
* obj2
= 0 ;
27611 PyObject
* obj3
= 0 ;
27612 char *kwnames
[] = {
27613 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27622 arg3
= (int)SWIG_As_int(obj2
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27626 arg4
= (int)SWIG_As_int(obj3
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27645 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
;
27647 wxWindow
*arg1
= (wxWindow
*) 0 ;
27648 wxMenu
*arg2
= (wxMenu
*) 0 ;
27649 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27650 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27653 PyObject
* obj0
= 0 ;
27654 PyObject
* obj1
= 0 ;
27655 PyObject
* obj2
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self",(char *) "menu",(char *) "pos", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
27668 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27673 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27687 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27688 PyObject
*resultobj
;
27689 wxWindow
*arg1
= (wxWindow
*) 0 ;
27691 PyObject
* obj0
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "self", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 result
= (long)wxWindow_GetHandle(arg1
);
27703 wxPyEndAllowThreads(__tstate
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= SWIG_From_long((long)result
);
27713 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
;
27715 wxWindow
*arg1
= (wxWindow
*) 0 ;
27717 PyObject
* obj0
= 0 ;
27718 PyObject
* obj1
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "self",(char *) "handle", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27726 arg2
= (long)SWIG_As_long(obj1
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 wxWindow_AssociateHandle(arg1
,arg2
);
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27735 Py_INCREF(Py_None
); resultobj
= Py_None
;
27742 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27743 PyObject
*resultobj
;
27744 wxWindow
*arg1
= (wxWindow
*) 0 ;
27745 PyObject
* obj0
= 0 ;
27746 char *kwnames
[] = {
27747 (char *) "self", NULL
27750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 (arg1
)->DissociateHandle();
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 Py_INCREF(Py_None
); resultobj
= Py_None
;
27767 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27768 PyObject
*resultobj
;
27769 wxWindow
*arg1
= (wxWindow
*) 0 ;
27772 PyObject
* obj0
= 0 ;
27773 PyObject
* obj1
= 0 ;
27774 char *kwnames
[] = {
27775 (char *) "self",(char *) "orient", NULL
27778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27781 arg2
= (int)SWIG_As_int(obj1
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27799 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
;
27801 wxWindow
*arg1
= (wxWindow
*) 0 ;
27806 bool arg6
= (bool) True
;
27807 PyObject
* obj0
= 0 ;
27808 PyObject
* obj1
= 0 ;
27809 PyObject
* obj2
= 0 ;
27810 PyObject
* obj3
= 0 ;
27811 PyObject
* obj4
= 0 ;
27812 PyObject
* obj5
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27820 arg2
= (int)SWIG_As_int(obj1
);
27821 if (PyErr_Occurred()) SWIG_fail
;
27822 arg3
= (int)SWIG_As_int(obj2
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27824 arg4
= (int)SWIG_As_int(obj3
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27826 arg5
= (int)SWIG_As_int(obj4
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 arg6
= (bool)SWIG_As_bool(obj5
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27834 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27836 wxPyEndAllowThreads(__tstate
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27839 Py_INCREF(Py_None
); resultobj
= Py_None
;
27846 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27847 PyObject
*resultobj
;
27848 wxWindow
*arg1
= (wxWindow
*) 0 ;
27851 bool arg4
= (bool) True
;
27852 PyObject
* obj0
= 0 ;
27853 PyObject
* obj1
= 0 ;
27854 PyObject
* obj2
= 0 ;
27855 PyObject
* obj3
= 0 ;
27856 char *kwnames
[] = {
27857 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27863 arg2
= (int)SWIG_As_int(obj1
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27865 arg3
= (int)SWIG_As_int(obj2
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27868 arg4
= (bool)SWIG_As_bool(obj3
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27873 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27875 wxPyEndAllowThreads(__tstate
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27878 Py_INCREF(Py_None
); resultobj
= Py_None
;
27885 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
;
27887 wxWindow
*arg1
= (wxWindow
*) 0 ;
27890 PyObject
* obj0
= 0 ;
27891 PyObject
* obj1
= 0 ;
27892 char *kwnames
[] = {
27893 (char *) "self",(char *) "orientation", NULL
27896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27899 arg2
= (int)SWIG_As_int(obj1
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= SWIG_From_int((int)result
);
27915 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
;
27917 wxWindow
*arg1
= (wxWindow
*) 0 ;
27920 PyObject
* obj0
= 0 ;
27921 PyObject
* obj1
= 0 ;
27922 char *kwnames
[] = {
27923 (char *) "self",(char *) "orientation", NULL
27926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27929 arg2
= (int)SWIG_As_int(obj1
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27935 wxPyEndAllowThreads(__tstate
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27938 resultobj
= SWIG_From_int((int)result
);
27945 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxWindow
*arg1
= (wxWindow
*) 0 ;
27950 PyObject
* obj0
= 0 ;
27951 PyObject
* obj1
= 0 ;
27952 char *kwnames
[] = {
27953 (char *) "self",(char *) "orientation", NULL
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27959 arg2
= (int)SWIG_As_int(obj1
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= SWIG_From_int((int)result
);
27975 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27976 PyObject
*resultobj
;
27977 wxWindow
*arg1
= (wxWindow
*) 0 ;
27980 wxRect
*arg4
= (wxRect
*) NULL
;
27981 PyObject
* obj0
= 0 ;
27982 PyObject
* obj1
= 0 ;
27983 PyObject
* obj2
= 0 ;
27984 PyObject
* obj3
= 0 ;
27985 char *kwnames
[] = {
27986 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27992 arg2
= (int)SWIG_As_int(obj1
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27994 arg3
= (int)SWIG_As_int(obj2
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27997 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28002 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28007 Py_INCREF(Py_None
); resultobj
= Py_None
;
28014 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
;
28016 wxWindow
*arg1
= (wxWindow
*) 0 ;
28019 PyObject
* obj0
= 0 ;
28020 PyObject
* obj1
= 0 ;
28021 char *kwnames
[] = {
28022 (char *) "self",(char *) "lines", NULL
28025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28028 arg2
= (int)SWIG_As_int(obj1
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 result
= (bool)(arg1
)->ScrollLines(arg2
);
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28046 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28047 PyObject
*resultobj
;
28048 wxWindow
*arg1
= (wxWindow
*) 0 ;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "self",(char *) "pages", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28060 arg2
= (int)SWIG_As_int(obj1
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28064 result
= (bool)(arg1
)->ScrollPages(arg2
);
28066 wxPyEndAllowThreads(__tstate
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28078 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
;
28080 wxWindow
*arg1
= (wxWindow
*) 0 ;
28082 PyObject
* obj0
= 0 ;
28083 char *kwnames
[] = {
28084 (char *) "self", NULL
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= (bool)(arg1
)->LineUp();
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28106 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28107 PyObject
*resultobj
;
28108 wxWindow
*arg1
= (wxWindow
*) 0 ;
28110 PyObject
* obj0
= 0 ;
28111 char *kwnames
[] = {
28112 (char *) "self", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 result
= (bool)(arg1
)->LineDown();
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28134 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxWindow
*arg1
= (wxWindow
*) 0 ;
28138 PyObject
* obj0
= 0 ;
28139 char *kwnames
[] = {
28140 (char *) "self", NULL
28143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 result
= (bool)(arg1
)->PageUp();
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28162 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
;
28164 wxWindow
*arg1
= (wxWindow
*) 0 ;
28166 PyObject
* obj0
= 0 ;
28167 char *kwnames
[] = {
28168 (char *) "self", NULL
28171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 result
= (bool)(arg1
)->PageDown();
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28190 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
;
28192 wxWindow
*arg1
= (wxWindow
*) 0 ;
28193 wxString
*arg2
= 0 ;
28194 bool temp2
= False
;
28195 PyObject
* obj0
= 0 ;
28196 PyObject
* obj1
= 0 ;
28197 char *kwnames
[] = {
28198 (char *) "self",(char *) "text", NULL
28201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28205 arg2
= wxString_in_helper(obj1
);
28206 if (arg2
== NULL
) SWIG_fail
;
28210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28211 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28216 Py_INCREF(Py_None
); resultobj
= Py_None
;
28231 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
;
28233 wxWindow
*arg1
= (wxWindow
*) 0 ;
28234 wxString
*arg2
= 0 ;
28235 bool temp2
= False
;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 char *kwnames
[] = {
28239 (char *) "self",(char *) "text", NULL
28242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28246 arg2
= wxString_in_helper(obj1
);
28247 if (arg2
== NULL
) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28257 Py_INCREF(Py_None
); resultobj
= Py_None
;
28272 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28273 PyObject
*resultobj
;
28274 wxWindow
*arg1
= (wxWindow
*) 0 ;
28276 PyObject
* obj0
= 0 ;
28277 char *kwnames
[] = {
28278 (char *) "self", NULL
28281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28304 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28305 PyObject
*resultobj
;
28306 wxWindow
*arg1
= (wxWindow
*) 0 ;
28307 wxString
*arg2
= 0 ;
28308 bool temp2
= False
;
28309 PyObject
* obj0
= 0 ;
28310 PyObject
* obj1
= 0 ;
28311 char *kwnames
[] = {
28312 (char *) "self",(char *) "tip", NULL
28315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28319 arg2
= wxString_in_helper(obj1
);
28320 if (arg2
== NULL
) SWIG_fail
;
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28330 Py_INCREF(Py_None
); resultobj
= Py_None
;
28345 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28346 PyObject
*resultobj
;
28347 wxWindow
*arg1
= (wxWindow
*) 0 ;
28348 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28349 PyObject
* obj0
= 0 ;
28350 PyObject
* obj1
= 0 ;
28351 char *kwnames
[] = {
28352 (char *) "self",(char *) "tip", NULL
28355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 (arg1
)->SetToolTip(arg2
);
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28367 Py_INCREF(Py_None
); resultobj
= Py_None
;
28374 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28375 PyObject
*resultobj
;
28376 wxWindow
*arg1
= (wxWindow
*) 0 ;
28378 PyObject
* obj0
= 0 ;
28379 char *kwnames
[] = {
28380 (char *) "self", NULL
28383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= wxPyMake_wxObject(result
, 0);
28402 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28403 PyObject
*resultobj
;
28404 wxWindow
*arg1
= (wxWindow
*) 0 ;
28405 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28406 PyObject
* obj0
= 0 ;
28407 PyObject
* obj1
= 0 ;
28408 char *kwnames
[] = {
28409 (char *) "self",(char *) "dropTarget", NULL
28412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28416 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 (arg1
)->SetDropTarget(arg2
);
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28424 Py_INCREF(Py_None
); resultobj
= Py_None
;
28431 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28433 wxWindow
*arg1
= (wxWindow
*) 0 ;
28434 wxPyDropTarget
*result
;
28435 PyObject
* obj0
= 0 ;
28436 char *kwnames
[] = {
28437 (char *) "self", NULL
28440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28447 wxPyEndAllowThreads(__tstate
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28457 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
;
28459 wxWindow
*arg1
= (wxWindow
*) 0 ;
28460 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28461 PyObject
* obj0
= 0 ;
28462 PyObject
* obj1
= 0 ;
28463 char *kwnames
[] = {
28464 (char *) "self",(char *) "constraints", NULL
28467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 (arg1
)->SetConstraints(arg2
);
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 Py_INCREF(Py_None
); resultobj
= Py_None
;
28486 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
;
28488 wxWindow
*arg1
= (wxWindow
*) 0 ;
28489 wxLayoutConstraints
*result
;
28490 PyObject
* obj0
= 0 ;
28491 char *kwnames
[] = {
28492 (char *) "self", NULL
28495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28512 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28513 PyObject
*resultobj
;
28514 wxWindow
*arg1
= (wxWindow
*) 0 ;
28516 PyObject
* obj0
= 0 ;
28517 PyObject
* obj1
= 0 ;
28518 char *kwnames
[] = {
28519 (char *) "self",(char *) "autoLayout", NULL
28522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28525 arg2
= (bool)SWIG_As_bool(obj1
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 (arg1
)->SetAutoLayout(arg2
);
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28534 Py_INCREF(Py_None
); resultobj
= Py_None
;
28541 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28542 PyObject
*resultobj
;
28543 wxWindow
*arg1
= (wxWindow
*) 0 ;
28545 PyObject
* obj0
= 0 ;
28546 char *kwnames
[] = {
28547 (char *) "self", NULL
28550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28555 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28557 wxPyEndAllowThreads(__tstate
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28569 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28570 PyObject
*resultobj
;
28571 wxWindow
*arg1
= (wxWindow
*) 0 ;
28573 PyObject
* obj0
= 0 ;
28574 char *kwnames
[] = {
28575 (char *) "self", NULL
28578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (bool)(arg1
)->Layout();
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28597 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
;
28599 wxWindow
*arg1
= (wxWindow
*) 0 ;
28600 wxSizer
*arg2
= (wxSizer
*) 0 ;
28601 bool arg3
= (bool) True
;
28602 PyObject
* obj0
= 0 ;
28603 PyObject
* obj1
= 0 ;
28604 PyObject
* obj2
= 0 ;
28605 char *kwnames
[] = {
28606 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28615 arg3
= (bool)SWIG_As_bool(obj2
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 (arg1
)->SetSizer(arg2
,arg3
);
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28625 Py_INCREF(Py_None
); resultobj
= Py_None
;
28632 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
;
28634 wxWindow
*arg1
= (wxWindow
*) 0 ;
28635 wxSizer
*arg2
= (wxSizer
*) 0 ;
28636 bool arg3
= (bool) True
;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 PyObject
* obj2
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28650 arg3
= (bool)SWIG_As_bool(obj2
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28660 Py_INCREF(Py_None
); resultobj
= Py_None
;
28667 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28668 PyObject
*resultobj
;
28669 wxWindow
*arg1
= (wxWindow
*) 0 ;
28671 PyObject
* obj0
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28683 wxPyEndAllowThreads(__tstate
);
28684 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= wxPyMake_wxSizer(result
, 0);
28695 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28696 PyObject
*resultobj
;
28697 wxWindow
*arg1
= (wxWindow
*) 0 ;
28698 wxSizer
*arg2
= (wxSizer
*) 0 ;
28699 PyObject
* obj0
= 0 ;
28700 PyObject
* obj1
= 0 ;
28701 char *kwnames
[] = {
28702 (char *) "self",(char *) "sizer", NULL
28705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 (arg1
)->SetContainingSizer(arg2
);
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 Py_INCREF(Py_None
); resultobj
= Py_None
;
28724 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
;
28726 wxWindow
*arg1
= (wxWindow
*) 0 ;
28728 PyObject
* obj0
= 0 ;
28729 char *kwnames
[] = {
28730 (char *) "self", NULL
28733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28744 resultobj
= wxPyMake_wxSizer(result
, 0);
28752 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28753 PyObject
*resultobj
;
28754 wxWindow
*arg1
= (wxWindow
*) 0 ;
28755 PyObject
* obj0
= 0 ;
28756 char *kwnames
[] = {
28757 (char *) "self", NULL
28760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 (arg1
)->InheritAttributes();
28767 wxPyEndAllowThreads(__tstate
);
28768 if (PyErr_Occurred()) SWIG_fail
;
28770 Py_INCREF(Py_None
); resultobj
= Py_None
;
28777 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28778 PyObject
*resultobj
;
28779 wxWindow
*arg1
= (wxWindow
*) 0 ;
28781 PyObject
* obj0
= 0 ;
28782 char *kwnames
[] = {
28783 (char *) "self", NULL
28786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28791 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28793 wxPyEndAllowThreads(__tstate
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28805 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28808 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28810 return Py_BuildValue((char *)"");
28812 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28813 PyObject
*resultobj
;
28815 wxWindow
*arg2
= (wxWindow
*) NULL
;
28817 PyObject
* obj0
= 0 ;
28818 PyObject
* obj1
= 0 ;
28819 char *kwnames
[] = {
28820 (char *) "id",(char *) "parent", NULL
28823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28824 arg1
= (long)SWIG_As_long(obj0
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28831 if (!wxPyCheckForApp()) SWIG_fail
;
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28839 resultobj
= wxPyMake_wxObject(result
, 0);
28847 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28848 PyObject
*resultobj
;
28849 wxString
*arg1
= 0 ;
28850 wxWindow
*arg2
= (wxWindow
*) NULL
;
28852 bool temp1
= False
;
28853 PyObject
* obj0
= 0 ;
28854 PyObject
* obj1
= 0 ;
28855 char *kwnames
[] = {
28856 (char *) "name",(char *) "parent", NULL
28859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28861 arg1
= wxString_in_helper(obj0
);
28862 if (arg1
== NULL
) SWIG_fail
;
28866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28870 if (!wxPyCheckForApp()) SWIG_fail
;
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28878 resultobj
= wxPyMake_wxObject(result
, 0);
28894 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28895 PyObject
*resultobj
;
28896 wxString
*arg1
= 0 ;
28897 wxWindow
*arg2
= (wxWindow
*) NULL
;
28899 bool temp1
= False
;
28900 PyObject
* obj0
= 0 ;
28901 PyObject
* obj1
= 0 ;
28902 char *kwnames
[] = {
28903 (char *) "label",(char *) "parent", NULL
28906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28908 arg1
= wxString_in_helper(obj0
);
28909 if (arg1
== NULL
) SWIG_fail
;
28913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28917 if (!wxPyCheckForApp()) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28925 resultobj
= wxPyMake_wxObject(result
, 0);
28941 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
;
28943 wxWindow
*arg1
= (wxWindow
*) 0 ;
28944 unsigned long arg2
;
28946 PyObject
* obj0
= 0 ;
28947 PyObject
* obj1
= 0 ;
28948 char *kwnames
[] = {
28949 (char *) "parent",(char *) "_hWnd", NULL
28952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28955 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
28956 if (PyErr_Occurred()) SWIG_fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28965 resultobj
= wxPyMake_wxObject(result
, 0);
28973 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
;
28975 wxValidator
*result
;
28976 char *kwnames
[] = {
28980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28983 result
= (wxValidator
*)new wxValidator();
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28995 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
;
28997 wxValidator
*arg1
= (wxValidator
*) 0 ;
28998 wxValidator
*result
;
28999 PyObject
* obj0
= 0 ;
29000 char *kwnames
[] = {
29001 (char *) "self", NULL
29004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29009 result
= (wxValidator
*)(arg1
)->Clone();
29011 wxPyEndAllowThreads(__tstate
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29015 resultobj
= wxPyMake_wxObject(result
, 0);
29023 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29024 PyObject
*resultobj
;
29025 wxValidator
*arg1
= (wxValidator
*) 0 ;
29026 wxWindow
*arg2
= (wxWindow
*) 0 ;
29028 PyObject
* obj0
= 0 ;
29029 PyObject
* obj1
= 0 ;
29030 char *kwnames
[] = {
29031 (char *) "self",(char *) "parent", NULL
29034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 result
= (bool)(arg1
)->Validate(arg2
);
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29055 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29056 PyObject
*resultobj
;
29057 wxValidator
*arg1
= (wxValidator
*) 0 ;
29059 PyObject
* obj0
= 0 ;
29060 char *kwnames
[] = {
29061 (char *) "self", NULL
29064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 result
= (bool)(arg1
)->TransferToWindow();
29071 wxPyEndAllowThreads(__tstate
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29083 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
;
29085 wxValidator
*arg1
= (wxValidator
*) 0 ;
29087 PyObject
* obj0
= 0 ;
29088 char *kwnames
[] = {
29089 (char *) "self", NULL
29092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29097 result
= (bool)(arg1
)->TransferFromWindow();
29099 wxPyEndAllowThreads(__tstate
);
29100 if (PyErr_Occurred()) SWIG_fail
;
29103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29111 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
;
29113 wxValidator
*arg1
= (wxValidator
*) 0 ;
29115 PyObject
* obj0
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29125 result
= (wxWindow
*)(arg1
)->GetWindow();
29127 wxPyEndAllowThreads(__tstate
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29131 resultobj
= wxPyMake_wxObject(result
, 0);
29139 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29140 PyObject
*resultobj
;
29141 wxValidator
*arg1
= (wxValidator
*) 0 ;
29142 wxWindow
*arg2
= (wxWindow
*) 0 ;
29143 PyObject
* obj0
= 0 ;
29144 PyObject
* obj1
= 0 ;
29145 char *kwnames
[] = {
29146 (char *) "self",(char *) "window", NULL
29149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29156 (arg1
)->SetWindow(arg2
);
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 Py_INCREF(Py_None
); resultobj
= Py_None
;
29168 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
;
29171 char *kwnames
[] = {
29175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 result
= (bool)wxValidator::IsSilent();
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29192 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29193 PyObject
*resultobj
;
29194 int arg1
= (int) True
;
29195 PyObject
* obj0
= 0 ;
29196 char *kwnames
[] = {
29197 (char *) "doIt", NULL
29200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29202 arg1
= (int)SWIG_As_int(obj0
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29207 wxValidator::SetBellOnError(arg1
);
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 Py_INCREF(Py_None
); resultobj
= Py_None
;
29219 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29222 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29224 return Py_BuildValue((char *)"");
29226 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29227 PyObject
*resultobj
;
29228 wxPyValidator
*result
;
29229 char *kwnames
[] = {
29233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 result
= (wxPyValidator
*)new wxPyValidator();
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29248 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
;
29250 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29251 PyObject
*arg2
= (PyObject
*) 0 ;
29252 PyObject
*arg3
= (PyObject
*) 0 ;
29253 int arg4
= (int) True
;
29254 PyObject
* obj0
= 0 ;
29255 PyObject
* obj1
= 0 ;
29256 PyObject
* obj2
= 0 ;
29257 PyObject
* obj3
= 0 ;
29258 char *kwnames
[] = {
29259 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29268 arg4
= (int)SWIG_As_int(obj3
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29278 Py_INCREF(Py_None
); resultobj
= Py_None
;
29285 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29288 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29290 return Py_BuildValue((char *)"");
29292 static int _wrap_DefaultValidator_set(PyObject
*) {
29293 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29298 static PyObject
*_wrap_DefaultValidator_get() {
29301 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29306 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29307 PyObject
*resultobj
;
29308 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29309 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29310 long arg2
= (long) 0 ;
29312 bool temp1
= False
;
29313 PyObject
* obj0
= 0 ;
29314 PyObject
* obj1
= 0 ;
29315 char *kwnames
[] = {
29316 (char *) "title",(char *) "style", NULL
29319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29322 arg1
= wxString_in_helper(obj0
);
29323 if (arg1
== NULL
) SWIG_fail
;
29328 arg2
= (long)SWIG_As_long(obj1
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29332 if (!wxPyCheckForApp()) SWIG_fail
;
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29336 wxPyEndAllowThreads(__tstate
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29354 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29355 PyObject
*resultobj
;
29356 wxMenu
*arg1
= (wxMenu
*) 0 ;
29358 wxString
*arg3
= 0 ;
29359 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29360 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29361 int arg5
= (int) wxITEM_NORMAL
;
29362 wxMenuItem
*result
;
29363 bool temp3
= False
;
29364 bool temp4
= False
;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 PyObject
* obj2
= 0 ;
29368 PyObject
* obj3
= 0 ;
29369 PyObject
* obj4
= 0 ;
29370 char *kwnames
[] = {
29371 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29377 arg2
= (int)SWIG_As_int(obj1
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29380 arg3
= wxString_in_helper(obj2
);
29381 if (arg3
== NULL
) SWIG_fail
;
29386 arg4
= wxString_in_helper(obj3
);
29387 if (arg4
== NULL
) SWIG_fail
;
29392 arg5
= (int)SWIG_As_int(obj4
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29399 wxPyEndAllowThreads(__tstate
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29403 resultobj
= wxPyMake_wxObject(result
, 0);
29427 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29428 PyObject
*resultobj
;
29429 wxMenu
*arg1
= (wxMenu
*) 0 ;
29430 wxMenuItem
*result
;
29431 PyObject
* obj0
= 0 ;
29432 char *kwnames
[] = {
29433 (char *) "self", NULL
29436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= wxPyMake_wxObject(result
, 0);
29455 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29456 PyObject
*resultobj
;
29457 wxMenu
*arg1
= (wxMenu
*) 0 ;
29459 wxString
*arg3
= 0 ;
29460 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29461 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29462 wxMenuItem
*result
;
29463 bool temp3
= False
;
29464 bool temp4
= False
;
29465 PyObject
* obj0
= 0 ;
29466 PyObject
* obj1
= 0 ;
29467 PyObject
* obj2
= 0 ;
29468 PyObject
* obj3
= 0 ;
29469 char *kwnames
[] = {
29470 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29476 arg2
= (int)SWIG_As_int(obj1
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29479 arg3
= wxString_in_helper(obj2
);
29480 if (arg3
== NULL
) SWIG_fail
;
29485 arg4
= wxString_in_helper(obj3
);
29486 if (arg4
== NULL
) SWIG_fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29498 resultobj
= wxPyMake_wxObject(result
, 0);
29522 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
;
29524 wxMenu
*arg1
= (wxMenu
*) 0 ;
29526 wxString
*arg3
= 0 ;
29527 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29528 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29529 wxMenuItem
*result
;
29530 bool temp3
= False
;
29531 bool temp4
= False
;
29532 PyObject
* obj0
= 0 ;
29533 PyObject
* obj1
= 0 ;
29534 PyObject
* obj2
= 0 ;
29535 PyObject
* obj3
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29543 arg2
= (int)SWIG_As_int(obj1
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29546 arg3
= wxString_in_helper(obj2
);
29547 if (arg3
== NULL
) SWIG_fail
;
29552 arg4
= wxString_in_helper(obj3
);
29553 if (arg4
== NULL
) SWIG_fail
;
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29559 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29565 resultobj
= wxPyMake_wxObject(result
, 0);
29589 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29590 PyObject
*resultobj
;
29591 wxMenu
*arg1
= (wxMenu
*) 0 ;
29593 wxString
*arg3
= 0 ;
29594 wxMenu
*arg4
= (wxMenu
*) 0 ;
29595 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29596 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29597 wxMenuItem
*result
;
29598 bool temp3
= False
;
29599 bool temp5
= False
;
29600 PyObject
* obj0
= 0 ;
29601 PyObject
* obj1
= 0 ;
29602 PyObject
* obj2
= 0 ;
29603 PyObject
* obj3
= 0 ;
29604 PyObject
* obj4
= 0 ;
29605 char *kwnames
[] = {
29606 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29612 arg2
= (int)SWIG_As_int(obj1
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29615 arg3
= wxString_in_helper(obj2
);
29616 if (arg3
== NULL
) SWIG_fail
;
29619 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29623 arg5
= wxString_in_helper(obj4
);
29624 if (arg5
== NULL
) SWIG_fail
;
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29632 wxPyEndAllowThreads(__tstate
);
29633 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= wxPyMake_wxObject(result
, 0);
29660 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
;
29662 wxMenu
*arg1
= (wxMenu
*) 0 ;
29663 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29664 wxMenuItem
*result
;
29665 PyObject
* obj0
= 0 ;
29666 PyObject
* obj1
= 0 ;
29667 char *kwnames
[] = {
29668 (char *) "self",(char *) "item", NULL
29671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= wxPyMake_wxObject(result
, 0);
29692 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
;
29694 wxMenu
*arg1
= (wxMenu
*) 0 ;
29695 PyObject
* obj0
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 Py_INCREF(Py_None
); resultobj
= Py_None
;
29717 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
;
29719 wxMenu
*arg1
= (wxMenu
*) 0 ;
29721 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29722 wxMenuItem
*result
;
29723 PyObject
* obj0
= 0 ;
29724 PyObject
* obj1
= 0 ;
29725 PyObject
* obj2
= 0 ;
29726 char *kwnames
[] = {
29727 (char *) "self",(char *) "pos",(char *) "item", NULL
29730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29733 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29735 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29739 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29741 wxPyEndAllowThreads(__tstate
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= wxPyMake_wxObject(result
, 0);
29753 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29754 PyObject
*resultobj
;
29755 wxMenu
*arg1
= (wxMenu
*) 0 ;
29758 wxString
*arg4
= 0 ;
29759 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29760 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29761 int arg6
= (int) wxITEM_NORMAL
;
29762 wxMenuItem
*result
;
29763 bool temp4
= False
;
29764 bool temp5
= False
;
29765 PyObject
* obj0
= 0 ;
29766 PyObject
* obj1
= 0 ;
29767 PyObject
* obj2
= 0 ;
29768 PyObject
* obj3
= 0 ;
29769 PyObject
* obj4
= 0 ;
29770 PyObject
* obj5
= 0 ;
29771 char *kwnames
[] = {
29772 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29778 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29780 arg3
= (int)SWIG_As_int(obj2
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29783 arg4
= wxString_in_helper(obj3
);
29784 if (arg4
== NULL
) SWIG_fail
;
29789 arg5
= wxString_in_helper(obj4
);
29790 if (arg5
== NULL
) SWIG_fail
;
29795 arg6
= (int)SWIG_As_int(obj5
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29800 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29802 wxPyEndAllowThreads(__tstate
);
29803 if (PyErr_Occurred()) SWIG_fail
;
29806 resultobj
= wxPyMake_wxObject(result
, 0);
29830 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29831 PyObject
*resultobj
;
29832 wxMenu
*arg1
= (wxMenu
*) 0 ;
29834 wxMenuItem
*result
;
29835 PyObject
* obj0
= 0 ;
29836 PyObject
* obj1
= 0 ;
29837 char *kwnames
[] = {
29838 (char *) "self",(char *) "pos", NULL
29841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29844 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29854 resultobj
= wxPyMake_wxObject(result
, 0);
29862 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29863 PyObject
*resultobj
;
29864 wxMenu
*arg1
= (wxMenu
*) 0 ;
29867 wxString
*arg4
= 0 ;
29868 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29869 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29870 wxMenuItem
*result
;
29871 bool temp4
= False
;
29872 bool temp5
= False
;
29873 PyObject
* obj0
= 0 ;
29874 PyObject
* obj1
= 0 ;
29875 PyObject
* obj2
= 0 ;
29876 PyObject
* obj3
= 0 ;
29877 PyObject
* obj4
= 0 ;
29878 char *kwnames
[] = {
29879 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29903 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29905 wxPyEndAllowThreads(__tstate
);
29906 if (PyErr_Occurred()) SWIG_fail
;
29909 resultobj
= wxPyMake_wxObject(result
, 0);
29933 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29934 PyObject
*resultobj
;
29935 wxMenu
*arg1
= (wxMenu
*) 0 ;
29938 wxString
*arg4
= 0 ;
29939 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29940 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29941 wxMenuItem
*result
;
29942 bool temp4
= False
;
29943 bool temp5
= False
;
29944 PyObject
* obj0
= 0 ;
29945 PyObject
* obj1
= 0 ;
29946 PyObject
* obj2
= 0 ;
29947 PyObject
* obj3
= 0 ;
29948 PyObject
* obj4
= 0 ;
29949 char *kwnames
[] = {
29950 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29956 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29958 arg3
= (int)SWIG_As_int(obj2
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29961 arg4
= wxString_in_helper(obj3
);
29962 if (arg4
== NULL
) SWIG_fail
;
29967 arg5
= wxString_in_helper(obj4
);
29968 if (arg5
== NULL
) SWIG_fail
;
29973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29974 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29976 wxPyEndAllowThreads(__tstate
);
29977 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= wxPyMake_wxObject(result
, 0);
30004 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30005 PyObject
*resultobj
;
30006 wxMenu
*arg1
= (wxMenu
*) 0 ;
30009 wxString
*arg4
= 0 ;
30010 wxMenu
*arg5
= (wxMenu
*) 0 ;
30011 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30012 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30013 wxMenuItem
*result
;
30014 bool temp4
= False
;
30015 bool temp6
= False
;
30016 PyObject
* obj0
= 0 ;
30017 PyObject
* obj1
= 0 ;
30018 PyObject
* obj2
= 0 ;
30019 PyObject
* obj3
= 0 ;
30020 PyObject
* obj4
= 0 ;
30021 PyObject
* obj5
= 0 ;
30022 char *kwnames
[] = {
30023 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30029 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30031 arg3
= (int)SWIG_As_int(obj2
);
30032 if (PyErr_Occurred()) SWIG_fail
;
30034 arg4
= wxString_in_helper(obj3
);
30035 if (arg4
== NULL
) SWIG_fail
;
30038 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30042 arg6
= wxString_in_helper(obj5
);
30043 if (arg6
== NULL
) SWIG_fail
;
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= wxPyMake_wxObject(result
, 0);
30079 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
;
30081 wxMenu
*arg1
= (wxMenu
*) 0 ;
30082 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30083 wxMenuItem
*result
;
30084 PyObject
* obj0
= 0 ;
30085 PyObject
* obj1
= 0 ;
30086 char *kwnames
[] = {
30087 (char *) "self",(char *) "item", NULL
30090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= wxPyMake_wxObject(result
, 0);
30111 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
;
30113 wxMenu
*arg1
= (wxMenu
*) 0 ;
30115 wxString
*arg3
= 0 ;
30116 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30118 int arg5
= (int) wxITEM_NORMAL
;
30119 wxMenuItem
*result
;
30120 bool temp3
= False
;
30121 bool temp4
= False
;
30122 PyObject
* obj0
= 0 ;
30123 PyObject
* obj1
= 0 ;
30124 PyObject
* obj2
= 0 ;
30125 PyObject
* obj3
= 0 ;
30126 PyObject
* obj4
= 0 ;
30127 char *kwnames
[] = {
30128 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30134 arg2
= (int)SWIG_As_int(obj1
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30137 arg3
= wxString_in_helper(obj2
);
30138 if (arg3
== NULL
) SWIG_fail
;
30143 arg4
= wxString_in_helper(obj3
);
30144 if (arg4
== NULL
) SWIG_fail
;
30149 arg5
= (int)SWIG_As_int(obj4
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30156 wxPyEndAllowThreads(__tstate
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= wxPyMake_wxObject(result
, 0);
30184 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30185 PyObject
*resultobj
;
30186 wxMenu
*arg1
= (wxMenu
*) 0 ;
30187 wxMenuItem
*result
;
30188 PyObject
* obj0
= 0 ;
30189 char *kwnames
[] = {
30190 (char *) "self", NULL
30193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30198 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30204 resultobj
= wxPyMake_wxObject(result
, 0);
30212 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30213 PyObject
*resultobj
;
30214 wxMenu
*arg1
= (wxMenu
*) 0 ;
30216 wxString
*arg3
= 0 ;
30217 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30218 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30219 wxMenuItem
*result
;
30220 bool temp3
= False
;
30221 bool temp4
= False
;
30222 PyObject
* obj0
= 0 ;
30223 PyObject
* obj1
= 0 ;
30224 PyObject
* obj2
= 0 ;
30225 PyObject
* obj3
= 0 ;
30226 char *kwnames
[] = {
30227 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30233 arg2
= (int)SWIG_As_int(obj1
);
30234 if (PyErr_Occurred()) SWIG_fail
;
30236 arg3
= wxString_in_helper(obj2
);
30237 if (arg3
== NULL
) SWIG_fail
;
30242 arg4
= wxString_in_helper(obj3
);
30243 if (arg4
== NULL
) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= wxPyMake_wxObject(result
, 0);
30279 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
;
30281 wxMenu
*arg1
= (wxMenu
*) 0 ;
30283 wxString
*arg3
= 0 ;
30284 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30286 wxMenuItem
*result
;
30287 bool temp3
= False
;
30288 bool temp4
= False
;
30289 PyObject
* obj0
= 0 ;
30290 PyObject
* obj1
= 0 ;
30291 PyObject
* obj2
= 0 ;
30292 PyObject
* obj3
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30300 arg2
= (int)SWIG_As_int(obj1
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30303 arg3
= wxString_in_helper(obj2
);
30304 if (arg3
== NULL
) SWIG_fail
;
30309 arg4
= wxString_in_helper(obj3
);
30310 if (arg4
== NULL
) SWIG_fail
;
30315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30316 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30318 wxPyEndAllowThreads(__tstate
);
30319 if (PyErr_Occurred()) SWIG_fail
;
30322 resultobj
= wxPyMake_wxObject(result
, 0);
30346 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30347 PyObject
*resultobj
;
30348 wxMenu
*arg1
= (wxMenu
*) 0 ;
30350 wxString
*arg3
= 0 ;
30351 wxMenu
*arg4
= (wxMenu
*) 0 ;
30352 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30353 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30354 wxMenuItem
*result
;
30355 bool temp3
= False
;
30356 bool temp5
= False
;
30357 PyObject
* obj0
= 0 ;
30358 PyObject
* obj1
= 0 ;
30359 PyObject
* obj2
= 0 ;
30360 PyObject
* obj3
= 0 ;
30361 PyObject
* obj4
= 0 ;
30362 char *kwnames
[] = {
30363 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30369 arg2
= (int)SWIG_As_int(obj1
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 arg3
= wxString_in_helper(obj2
);
30373 if (arg3
== NULL
) SWIG_fail
;
30376 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30380 arg5
= wxString_in_helper(obj4
);
30381 if (arg5
== NULL
) SWIG_fail
;
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= wxPyMake_wxObject(result
, 0);
30417 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
;
30419 wxMenu
*arg1
= (wxMenu
*) 0 ;
30421 wxMenuItem
*result
;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 char *kwnames
[] = {
30425 (char *) "self",(char *) "id", NULL
30428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30431 arg2
= (int)SWIG_As_int(obj1
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30441 resultobj
= wxPyMake_wxObject(result
, 0);
30449 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30450 PyObject
*resultobj
;
30451 wxMenu
*arg1
= (wxMenu
*) 0 ;
30452 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30453 wxMenuItem
*result
;
30454 PyObject
* obj0
= 0 ;
30455 PyObject
* obj1
= 0 ;
30456 char *kwnames
[] = {
30457 (char *) "self",(char *) "item", NULL
30460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30467 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= wxPyMake_wxObject(result
, 0);
30481 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30482 PyObject
*resultobj
;
30483 wxMenu
*arg1
= (wxMenu
*) 0 ;
30486 PyObject
* obj0
= 0 ;
30487 PyObject
* obj1
= 0 ;
30488 char *kwnames
[] = {
30489 (char *) "self",(char *) "id", NULL
30492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30495 arg2
= (int)SWIG_As_int(obj1
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= (bool)(arg1
)->Delete(arg2
);
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30513 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30514 PyObject
*resultobj
;
30515 wxMenu
*arg1
= (wxMenu
*) 0 ;
30516 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30518 PyObject
* obj0
= 0 ;
30519 PyObject
* obj1
= 0 ;
30520 char *kwnames
[] = {
30521 (char *) "self",(char *) "item", NULL
30524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30531 result
= (bool)(arg1
)->Delete(arg2
);
30533 wxPyEndAllowThreads(__tstate
);
30534 if (PyErr_Occurred()) SWIG_fail
;
30537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30545 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30546 PyObject
*resultobj
;
30547 wxMenu
*arg1
= (wxMenu
*) 0 ;
30548 PyObject
* obj0
= 0 ;
30549 char *kwnames
[] = {
30550 (char *) "self", NULL
30553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30558 wxMenu_Destroy(arg1
);
30560 wxPyEndAllowThreads(__tstate
);
30561 if (PyErr_Occurred()) SWIG_fail
;
30563 Py_INCREF(Py_None
); resultobj
= Py_None
;
30570 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30571 PyObject
*resultobj
;
30572 wxMenu
*arg1
= (wxMenu
*) 0 ;
30575 PyObject
* obj0
= 0 ;
30576 PyObject
* obj1
= 0 ;
30577 char *kwnames
[] = {
30578 (char *) "self",(char *) "id", NULL
30581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30584 arg2
= (int)SWIG_As_int(obj1
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 result
= (bool)(arg1
)->Destroy(arg2
);
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30602 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
;
30604 wxMenu
*arg1
= (wxMenu
*) 0 ;
30605 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30607 PyObject
* obj0
= 0 ;
30608 PyObject
* obj1
= 0 ;
30609 char *kwnames
[] = {
30610 (char *) "self",(char *) "item", NULL
30613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 result
= (bool)(arg1
)->Destroy(arg2
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30634 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
;
30636 wxMenu
*arg1
= (wxMenu
*) 0 ;
30638 PyObject
* obj0
= 0 ;
30639 char *kwnames
[] = {
30640 (char *) "self", NULL
30643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30650 wxPyEndAllowThreads(__tstate
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30660 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxMenu
*arg1
= (wxMenu
*) 0 ;
30664 PyObject
* obj0
= 0 ;
30665 char *kwnames
[] = {
30666 (char *) "self", NULL
30669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30676 wxPyEndAllowThreads(__tstate
);
30677 if (PyErr_Occurred()) SWIG_fail
;
30679 resultobj
= result
;
30686 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30687 PyObject
*resultobj
;
30688 wxMenu
*arg1
= (wxMenu
*) 0 ;
30689 wxString
*arg2
= 0 ;
30691 bool temp2
= False
;
30692 PyObject
* obj0
= 0 ;
30693 PyObject
* obj1
= 0 ;
30694 char *kwnames
[] = {
30695 (char *) "self",(char *) "item", NULL
30698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30702 arg2
= wxString_in_helper(obj1
);
30703 if (arg2
== NULL
) SWIG_fail
;
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 resultobj
= SWIG_From_int((int)result
);
30728 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30729 PyObject
*resultobj
;
30730 wxMenu
*arg1
= (wxMenu
*) 0 ;
30732 wxMenuItem
*result
;
30733 PyObject
* obj0
= 0 ;
30734 PyObject
* obj1
= 0 ;
30735 char *kwnames
[] = {
30736 (char *) "self",(char *) "id", NULL
30739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30742 arg2
= (int)SWIG_As_int(obj1
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30752 resultobj
= wxPyMake_wxObject(result
, 0);
30760 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
;
30762 wxMenu
*arg1
= (wxMenu
*) 0 ;
30764 wxMenuItem
*result
;
30765 PyObject
* obj0
= 0 ;
30766 PyObject
* obj1
= 0 ;
30767 char *kwnames
[] = {
30768 (char *) "self",(char *) "position", NULL
30771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30774 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30784 resultobj
= wxPyMake_wxObject(result
, 0);
30792 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30793 PyObject
*resultobj
;
30794 wxMenu
*arg1
= (wxMenu
*) 0 ;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 PyObject
* obj2
= 0 ;
30800 char *kwnames
[] = {
30801 (char *) "self",(char *) "id",(char *) "enable", NULL
30804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30807 arg2
= (int)SWIG_As_int(obj1
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30809 arg3
= (bool)SWIG_As_bool(obj2
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30813 (arg1
)->Enable(arg2
,arg3
);
30815 wxPyEndAllowThreads(__tstate
);
30816 if (PyErr_Occurred()) SWIG_fail
;
30818 Py_INCREF(Py_None
); resultobj
= Py_None
;
30825 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30826 PyObject
*resultobj
;
30827 wxMenu
*arg1
= (wxMenu
*) 0 ;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 char *kwnames
[] = {
30833 (char *) "self",(char *) "id", NULL
30836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30839 arg2
= (int)SWIG_As_int(obj1
);
30840 if (PyErr_Occurred()) SWIG_fail
;
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30845 wxPyEndAllowThreads(__tstate
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30857 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxMenu
*arg1
= (wxMenu
*) 0 ;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 PyObject
* obj2
= 0 ;
30865 char *kwnames
[] = {
30866 (char *) "self",(char *) "id",(char *) "check", NULL
30869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30872 arg2
= (int)SWIG_As_int(obj1
);
30873 if (PyErr_Occurred()) SWIG_fail
;
30874 arg3
= (bool)SWIG_As_bool(obj2
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30878 (arg1
)->Check(arg2
,arg3
);
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30883 Py_INCREF(Py_None
); resultobj
= Py_None
;
30890 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30891 PyObject
*resultobj
;
30892 wxMenu
*arg1
= (wxMenu
*) 0 ;
30895 PyObject
* obj0
= 0 ;
30896 PyObject
* obj1
= 0 ;
30897 char *kwnames
[] = {
30898 (char *) "self",(char *) "id", NULL
30901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30904 arg2
= (int)SWIG_As_int(obj1
);
30905 if (PyErr_Occurred()) SWIG_fail
;
30907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30908 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30922 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30923 PyObject
*resultobj
;
30924 wxMenu
*arg1
= (wxMenu
*) 0 ;
30926 wxString
*arg3
= 0 ;
30927 bool temp3
= False
;
30928 PyObject
* obj0
= 0 ;
30929 PyObject
* obj1
= 0 ;
30930 PyObject
* obj2
= 0 ;
30931 char *kwnames
[] = {
30932 (char *) "self",(char *) "id",(char *) "label", NULL
30935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30938 arg2
= (int)SWIG_As_int(obj1
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30941 arg3
= wxString_in_helper(obj2
);
30942 if (arg3
== NULL
) SWIG_fail
;
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30952 Py_INCREF(Py_None
); resultobj
= Py_None
;
30967 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30968 PyObject
*resultobj
;
30969 wxMenu
*arg1
= (wxMenu
*) 0 ;
30972 PyObject
* obj0
= 0 ;
30973 PyObject
* obj1
= 0 ;
30974 char *kwnames
[] = {
30975 (char *) "self",(char *) "id", NULL
30978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30981 arg2
= (int)SWIG_As_int(obj1
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31003 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31004 PyObject
*resultobj
;
31005 wxMenu
*arg1
= (wxMenu
*) 0 ;
31007 wxString
*arg3
= 0 ;
31008 bool temp3
= False
;
31009 PyObject
* obj0
= 0 ;
31010 PyObject
* obj1
= 0 ;
31011 PyObject
* obj2
= 0 ;
31012 char *kwnames
[] = {
31013 (char *) "self",(char *) "id",(char *) "helpString", NULL
31016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31019 arg2
= (int)SWIG_As_int(obj1
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31022 arg3
= wxString_in_helper(obj2
);
31023 if (arg3
== NULL
) SWIG_fail
;
31027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31028 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31030 wxPyEndAllowThreads(__tstate
);
31031 if (PyErr_Occurred()) SWIG_fail
;
31033 Py_INCREF(Py_None
); resultobj
= Py_None
;
31048 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31049 PyObject
*resultobj
;
31050 wxMenu
*arg1
= (wxMenu
*) 0 ;
31053 PyObject
* obj0
= 0 ;
31054 PyObject
* obj1
= 0 ;
31055 char *kwnames
[] = {
31056 (char *) "self",(char *) "id", NULL
31059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31062 arg2
= (int)SWIG_As_int(obj1
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31066 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31084 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31085 PyObject
*resultobj
;
31086 wxMenu
*arg1
= (wxMenu
*) 0 ;
31087 wxString
*arg2
= 0 ;
31088 bool temp2
= False
;
31089 PyObject
* obj0
= 0 ;
31090 PyObject
* obj1
= 0 ;
31091 char *kwnames
[] = {
31092 (char *) "self",(char *) "title", NULL
31095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31099 arg2
= wxString_in_helper(obj1
);
31100 if (arg2
== NULL
) SWIG_fail
;
31104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31105 (arg1
)->SetTitle((wxString
const &)*arg2
);
31107 wxPyEndAllowThreads(__tstate
);
31108 if (PyErr_Occurred()) SWIG_fail
;
31110 Py_INCREF(Py_None
); resultobj
= Py_None
;
31125 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31126 PyObject
*resultobj
;
31127 wxMenu
*arg1
= (wxMenu
*) 0 ;
31129 PyObject
* obj0
= 0 ;
31130 char *kwnames
[] = {
31131 (char *) "self", NULL
31134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31139 result
= ((wxMenu
const *)arg1
)->GetTitle();
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31157 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31158 PyObject
*resultobj
;
31159 wxMenu
*arg1
= (wxMenu
*) 0 ;
31160 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31161 PyObject
* obj0
= 0 ;
31162 PyObject
* obj1
= 0 ;
31163 char *kwnames
[] = {
31164 (char *) "self",(char *) "handler", NULL
31167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31174 (arg1
)->SetEventHandler(arg2
);
31176 wxPyEndAllowThreads(__tstate
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31179 Py_INCREF(Py_None
); resultobj
= Py_None
;
31186 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31187 PyObject
*resultobj
;
31188 wxMenu
*arg1
= (wxMenu
*) 0 ;
31189 wxEvtHandler
*result
;
31190 PyObject
* obj0
= 0 ;
31191 char *kwnames
[] = {
31192 (char *) "self", NULL
31195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31200 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31202 wxPyEndAllowThreads(__tstate
);
31203 if (PyErr_Occurred()) SWIG_fail
;
31206 resultobj
= wxPyMake_wxObject(result
, 0);
31214 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
;
31216 wxMenu
*arg1
= (wxMenu
*) 0 ;
31217 wxWindow
*arg2
= (wxWindow
*) 0 ;
31218 PyObject
* obj0
= 0 ;
31219 PyObject
* obj1
= 0 ;
31220 char *kwnames
[] = {
31221 (char *) "self",(char *) "win", NULL
31224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 (arg1
)->SetInvokingWindow(arg2
);
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 Py_INCREF(Py_None
); resultobj
= Py_None
;
31243 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
;
31245 wxMenu
*arg1
= (wxMenu
*) 0 ;
31247 PyObject
* obj0
= 0 ;
31248 char *kwnames
[] = {
31249 (char *) "self", NULL
31252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31263 resultobj
= wxPyMake_wxObject(result
, 0);
31271 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
;
31273 wxMenu
*arg1
= (wxMenu
*) 0 ;
31275 PyObject
* obj0
= 0 ;
31276 char *kwnames
[] = {
31277 (char *) "self", NULL
31280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31290 resultobj
= SWIG_From_long((long)result
);
31297 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
;
31299 wxMenu
*arg1
= (wxMenu
*) 0 ;
31300 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 char *kwnames
[] = {
31304 (char *) "self",(char *) "source", NULL
31307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31316 (arg1
)->UpdateUI(arg2
);
31318 wxPyEndAllowThreads(__tstate
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31321 Py_INCREF(Py_None
); resultobj
= Py_None
;
31328 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31329 PyObject
*resultobj
;
31330 wxMenu
*arg1
= (wxMenu
*) 0 ;
31332 PyObject
* obj0
= 0 ;
31333 char *kwnames
[] = {
31334 (char *) "self", NULL
31337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31344 wxPyEndAllowThreads(__tstate
);
31345 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= wxPyMake_wxObject(result
, 0);
31356 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31357 PyObject
*resultobj
;
31358 wxMenu
*arg1
= (wxMenu
*) 0 ;
31359 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31360 PyObject
* obj0
= 0 ;
31361 PyObject
* obj1
= 0 ;
31362 char *kwnames
[] = {
31363 (char *) "self",(char *) "menubar", NULL
31366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31373 (arg1
)->Attach(arg2
);
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 Py_INCREF(Py_None
); resultobj
= Py_None
;
31385 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31386 PyObject
*resultobj
;
31387 wxMenu
*arg1
= (wxMenu
*) 0 ;
31388 PyObject
* obj0
= 0 ;
31389 char *kwnames
[] = {
31390 (char *) "self", NULL
31393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31400 wxPyEndAllowThreads(__tstate
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31403 Py_INCREF(Py_None
); resultobj
= Py_None
;
31410 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31411 PyObject
*resultobj
;
31412 wxMenu
*arg1
= (wxMenu
*) 0 ;
31414 PyObject
* obj0
= 0 ;
31415 char *kwnames
[] = {
31416 (char *) "self", NULL
31419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31424 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31426 wxPyEndAllowThreads(__tstate
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31438 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31439 PyObject
*resultobj
;
31440 wxMenu
*arg1
= (wxMenu
*) 0 ;
31441 wxMenu
*arg2
= (wxMenu
*) 0 ;
31442 PyObject
* obj0
= 0 ;
31443 PyObject
* obj1
= 0 ;
31444 char *kwnames
[] = {
31445 (char *) "self",(char *) "parent", NULL
31448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31455 (arg1
)->SetParent(arg2
);
31457 wxPyEndAllowThreads(__tstate
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31460 Py_INCREF(Py_None
); resultobj
= Py_None
;
31467 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31468 PyObject
*resultobj
;
31469 wxMenu
*arg1
= (wxMenu
*) 0 ;
31471 PyObject
* obj0
= 0 ;
31472 char *kwnames
[] = {
31473 (char *) "self", NULL
31476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31481 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31487 resultobj
= wxPyMake_wxObject(result
, 0);
31495 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31498 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31500 return Py_BuildValue((char *)"");
31502 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31503 PyObject
*resultobj
;
31504 long arg1
= (long) 0 ;
31506 PyObject
* obj0
= 0 ;
31507 char *kwnames
[] = {
31508 (char *) "style", NULL
31511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31513 arg1
= (long)SWIG_As_long(obj0
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31517 if (!wxPyCheckForApp()) SWIG_fail
;
31518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31521 wxPyEndAllowThreads(__tstate
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31531 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31532 PyObject
*resultobj
;
31533 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31534 wxMenu
*arg2
= (wxMenu
*) 0 ;
31535 wxString
*arg3
= 0 ;
31537 bool temp3
= False
;
31538 PyObject
* obj0
= 0 ;
31539 PyObject
* obj1
= 0 ;
31540 PyObject
* obj2
= 0 ;
31541 char *kwnames
[] = {
31542 (char *) "self",(char *) "menu",(char *) "title", NULL
31545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31551 arg3
= wxString_in_helper(obj2
);
31552 if (arg3
== NULL
) SWIG_fail
;
31556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31557 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31559 wxPyEndAllowThreads(__tstate
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31579 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31580 PyObject
*resultobj
;
31581 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31583 wxMenu
*arg3
= (wxMenu
*) 0 ;
31584 wxString
*arg4
= 0 ;
31586 bool temp4
= False
;
31587 PyObject
* obj0
= 0 ;
31588 PyObject
* obj1
= 0 ;
31589 PyObject
* obj2
= 0 ;
31590 PyObject
* obj3
= 0 ;
31591 char *kwnames
[] = {
31592 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31598 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31599 if (PyErr_Occurred()) SWIG_fail
;
31600 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31603 arg4
= wxString_in_helper(obj3
);
31604 if (arg4
== NULL
) SWIG_fail
;
31608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31609 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31611 wxPyEndAllowThreads(__tstate
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31631 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31632 PyObject
*resultobj
;
31633 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31635 PyObject
* obj0
= 0 ;
31636 char *kwnames
[] = {
31637 (char *) "self", NULL
31640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31645 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31657 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31658 PyObject
*resultobj
;
31659 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31662 PyObject
* obj0
= 0 ;
31663 PyObject
* obj1
= 0 ;
31664 char *kwnames
[] = {
31665 (char *) "self",(char *) "pos", NULL
31668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31671 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31672 if (PyErr_Occurred()) SWIG_fail
;
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31681 resultobj
= wxPyMake_wxObject(result
, 0);
31689 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31690 PyObject
*resultobj
;
31691 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31693 wxMenu
*arg3
= (wxMenu
*) 0 ;
31694 wxString
*arg4
= 0 ;
31696 bool temp4
= False
;
31697 PyObject
* obj0
= 0 ;
31698 PyObject
* obj1
= 0 ;
31699 PyObject
* obj2
= 0 ;
31700 PyObject
* obj3
= 0 ;
31701 char *kwnames
[] = {
31702 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31708 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31710 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31713 arg4
= wxString_in_helper(obj3
);
31714 if (arg4
== NULL
) SWIG_fail
;
31718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31719 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31721 wxPyEndAllowThreads(__tstate
);
31722 if (PyErr_Occurred()) SWIG_fail
;
31725 resultobj
= wxPyMake_wxObject(result
, 0);
31741 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31742 PyObject
*resultobj
;
31743 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31746 PyObject
* obj0
= 0 ;
31747 PyObject
* obj1
= 0 ;
31748 char *kwnames
[] = {
31749 (char *) "self",(char *) "pos", NULL
31752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31755 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31759 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31761 wxPyEndAllowThreads(__tstate
);
31762 if (PyErr_Occurred()) SWIG_fail
;
31765 resultobj
= wxPyMake_wxObject(result
, 0);
31773 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31774 PyObject
*resultobj
;
31775 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31778 PyObject
* obj0
= 0 ;
31779 PyObject
* obj1
= 0 ;
31780 PyObject
* obj2
= 0 ;
31781 char *kwnames
[] = {
31782 (char *) "self",(char *) "pos",(char *) "enable", NULL
31785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31788 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31790 arg3
= (bool)SWIG_As_bool(obj2
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 (arg1
)->EnableTop(arg2
,arg3
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31799 Py_INCREF(Py_None
); resultobj
= Py_None
;
31806 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31807 PyObject
*resultobj
;
31808 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31811 PyObject
* obj0
= 0 ;
31812 PyObject
* obj1
= 0 ;
31813 char *kwnames
[] = {
31814 (char *) "self",(char *) "pos", NULL
31817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31820 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31824 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31838 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31839 PyObject
*resultobj
;
31840 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31842 wxString
*arg3
= 0 ;
31843 bool temp3
= False
;
31844 PyObject
* obj0
= 0 ;
31845 PyObject
* obj1
= 0 ;
31846 PyObject
* obj2
= 0 ;
31847 char *kwnames
[] = {
31848 (char *) "self",(char *) "pos",(char *) "label", NULL
31851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31854 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31855 if (PyErr_Occurred()) SWIG_fail
;
31857 arg3
= wxString_in_helper(obj2
);
31858 if (arg3
== NULL
) SWIG_fail
;
31862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31863 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31865 wxPyEndAllowThreads(__tstate
);
31866 if (PyErr_Occurred()) SWIG_fail
;
31868 Py_INCREF(Py_None
); resultobj
= Py_None
;
31883 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31884 PyObject
*resultobj
;
31885 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31888 PyObject
* obj0
= 0 ;
31889 PyObject
* obj1
= 0 ;
31890 char *kwnames
[] = {
31891 (char *) "self",(char *) "pos", NULL
31894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31897 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31901 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31919 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31920 PyObject
*resultobj
;
31921 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31922 wxString
*arg2
= 0 ;
31923 wxString
*arg3
= 0 ;
31925 bool temp2
= False
;
31926 bool temp3
= False
;
31927 PyObject
* obj0
= 0 ;
31928 PyObject
* obj1
= 0 ;
31929 PyObject
* obj2
= 0 ;
31930 char *kwnames
[] = {
31931 (char *) "self",(char *) "menu",(char *) "item", NULL
31934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31938 arg2
= wxString_in_helper(obj1
);
31939 if (arg2
== NULL
) SWIG_fail
;
31943 arg3
= wxString_in_helper(obj2
);
31944 if (arg3
== NULL
) SWIG_fail
;
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31951 wxPyEndAllowThreads(__tstate
);
31952 if (PyErr_Occurred()) SWIG_fail
;
31954 resultobj
= SWIG_From_int((int)result
);
31977 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31978 PyObject
*resultobj
;
31979 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31981 wxMenuItem
*result
;
31982 PyObject
* obj0
= 0 ;
31983 PyObject
* obj1
= 0 ;
31984 char *kwnames
[] = {
31985 (char *) "self",(char *) "id", NULL
31988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31991 arg2
= (int)SWIG_As_int(obj1
);
31992 if (PyErr_Occurred()) SWIG_fail
;
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32001 resultobj
= wxPyMake_wxObject(result
, 0);
32009 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
;
32011 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32012 wxString
*arg2
= 0 ;
32014 bool temp2
= False
;
32015 PyObject
* obj0
= 0 ;
32016 PyObject
* obj1
= 0 ;
32017 char *kwnames
[] = {
32018 (char *) "self",(char *) "title", NULL
32021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32025 arg2
= wxString_in_helper(obj1
);
32026 if (arg2
== NULL
) SWIG_fail
;
32030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32031 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32033 wxPyEndAllowThreads(__tstate
);
32034 if (PyErr_Occurred()) SWIG_fail
;
32036 resultobj
= SWIG_From_int((int)result
);
32051 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32052 PyObject
*resultobj
;
32053 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32056 PyObject
* obj0
= 0 ;
32057 PyObject
* obj1
= 0 ;
32058 PyObject
* obj2
= 0 ;
32059 char *kwnames
[] = {
32060 (char *) "self",(char *) "id",(char *) "enable", NULL
32063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32066 arg2
= (int)SWIG_As_int(obj1
);
32067 if (PyErr_Occurred()) SWIG_fail
;
32068 arg3
= (bool)SWIG_As_bool(obj2
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32072 (arg1
)->Enable(arg2
,arg3
);
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32077 Py_INCREF(Py_None
); resultobj
= Py_None
;
32084 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
;
32086 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32089 PyObject
* obj0
= 0 ;
32090 PyObject
* obj1
= 0 ;
32091 PyObject
* obj2
= 0 ;
32092 char *kwnames
[] = {
32093 (char *) "self",(char *) "id",(char *) "check", NULL
32096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32099 arg2
= (int)SWIG_As_int(obj1
);
32100 if (PyErr_Occurred()) SWIG_fail
;
32101 arg3
= (bool)SWIG_As_bool(obj2
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 (arg1
)->Check(arg2
,arg3
);
32107 wxPyEndAllowThreads(__tstate
);
32108 if (PyErr_Occurred()) SWIG_fail
;
32110 Py_INCREF(Py_None
); resultobj
= Py_None
;
32117 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32118 PyObject
*resultobj
;
32119 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32122 PyObject
* obj0
= 0 ;
32123 PyObject
* obj1
= 0 ;
32124 char *kwnames
[] = {
32125 (char *) "self",(char *) "id", NULL
32128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32131 arg2
= (int)SWIG_As_int(obj1
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32135 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32137 wxPyEndAllowThreads(__tstate
);
32138 if (PyErr_Occurred()) SWIG_fail
;
32141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32149 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32150 PyObject
*resultobj
;
32151 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32154 PyObject
* obj0
= 0 ;
32155 PyObject
* obj1
= 0 ;
32156 char *kwnames
[] = {
32157 (char *) "self",(char *) "id", NULL
32160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32163 arg2
= (int)SWIG_As_int(obj1
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32167 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32181 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
;
32183 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32185 wxString
*arg3
= 0 ;
32186 bool temp3
= False
;
32187 PyObject
* obj0
= 0 ;
32188 PyObject
* obj1
= 0 ;
32189 PyObject
* obj2
= 0 ;
32190 char *kwnames
[] = {
32191 (char *) "self",(char *) "id",(char *) "label", NULL
32194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32197 arg2
= (int)SWIG_As_int(obj1
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32200 arg3
= wxString_in_helper(obj2
);
32201 if (arg3
== NULL
) SWIG_fail
;
32205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32206 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32208 wxPyEndAllowThreads(__tstate
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32211 Py_INCREF(Py_None
); resultobj
= Py_None
;
32226 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32227 PyObject
*resultobj
;
32228 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32231 PyObject
* obj0
= 0 ;
32232 PyObject
* obj1
= 0 ;
32233 char *kwnames
[] = {
32234 (char *) "self",(char *) "id", NULL
32237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32240 arg2
= (int)SWIG_As_int(obj1
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32244 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32246 wxPyEndAllowThreads(__tstate
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32262 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32263 PyObject
*resultobj
;
32264 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32266 wxString
*arg3
= 0 ;
32267 bool temp3
= False
;
32268 PyObject
* obj0
= 0 ;
32269 PyObject
* obj1
= 0 ;
32270 PyObject
* obj2
= 0 ;
32271 char *kwnames
[] = {
32272 (char *) "self",(char *) "id",(char *) "helpString", NULL
32275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32278 arg2
= (int)SWIG_As_int(obj1
);
32279 if (PyErr_Occurred()) SWIG_fail
;
32281 arg3
= wxString_in_helper(obj2
);
32282 if (arg3
== NULL
) SWIG_fail
;
32286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32287 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32292 Py_INCREF(Py_None
); resultobj
= Py_None
;
32307 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32308 PyObject
*resultobj
;
32309 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 char *kwnames
[] = {
32315 (char *) "self",(char *) "id", NULL
32318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32321 arg2
= (int)SWIG_As_int(obj1
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32325 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32327 wxPyEndAllowThreads(__tstate
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32343 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32344 PyObject
*resultobj
;
32345 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32347 PyObject
* obj0
= 0 ;
32348 char *kwnames
[] = {
32349 (char *) "self", NULL
32352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32357 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32359 wxPyEndAllowThreads(__tstate
);
32360 if (PyErr_Occurred()) SWIG_fail
;
32363 resultobj
= wxPyMake_wxObject(result
, 0);
32371 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32372 PyObject
*resultobj
;
32373 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32375 PyObject
* obj0
= 0 ;
32376 char *kwnames
[] = {
32377 (char *) "self", NULL
32380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32385 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32387 wxPyEndAllowThreads(__tstate
);
32388 if (PyErr_Occurred()) SWIG_fail
;
32391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32399 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32400 PyObject
*resultobj
;
32401 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32402 wxFrame
*arg2
= (wxFrame
*) 0 ;
32403 PyObject
* obj0
= 0 ;
32404 PyObject
* obj1
= 0 ;
32405 char *kwnames
[] = {
32406 (char *) "self",(char *) "frame", NULL
32409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32416 (arg1
)->Attach(arg2
);
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32421 Py_INCREF(Py_None
); resultobj
= Py_None
;
32428 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32429 PyObject
*resultobj
;
32430 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32431 PyObject
* obj0
= 0 ;
32432 char *kwnames
[] = {
32433 (char *) "self", NULL
32436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 wxPyEndAllowThreads(__tstate
);
32444 if (PyErr_Occurred()) SWIG_fail
;
32446 Py_INCREF(Py_None
); resultobj
= Py_None
;
32453 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32456 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32458 return Py_BuildValue((char *)"");
32460 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32461 PyObject
*resultobj
;
32462 wxMenu
*arg1
= (wxMenu
*) NULL
;
32463 int arg2
= (int) wxID_ANY
;
32464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32466 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32467 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32468 int arg5
= (int) wxITEM_NORMAL
;
32469 wxMenu
*arg6
= (wxMenu
*) NULL
;
32470 wxMenuItem
*result
;
32471 bool temp3
= False
;
32472 bool temp4
= False
;
32473 PyObject
* obj0
= 0 ;
32474 PyObject
* obj1
= 0 ;
32475 PyObject
* obj2
= 0 ;
32476 PyObject
* obj3
= 0 ;
32477 PyObject
* obj4
= 0 ;
32478 PyObject
* obj5
= 0 ;
32479 char *kwnames
[] = {
32480 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32489 arg2
= (int)SWIG_As_int(obj1
);
32490 if (PyErr_Occurred()) SWIG_fail
;
32494 arg3
= wxString_in_helper(obj2
);
32495 if (arg3
== NULL
) SWIG_fail
;
32501 arg4
= wxString_in_helper(obj3
);
32502 if (arg4
== NULL
) SWIG_fail
;
32507 arg5
= (int)SWIG_As_int(obj4
);
32508 if (PyErr_Occurred()) SWIG_fail
;
32511 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32516 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32518 wxPyEndAllowThreads(__tstate
);
32519 if (PyErr_Occurred()) SWIG_fail
;
32522 resultobj
= wxPyMake_wxObject(result
, 1);
32546 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32547 PyObject
*resultobj
;
32548 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32550 PyObject
* obj0
= 0 ;
32551 char *kwnames
[] = {
32552 (char *) "self", NULL
32555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32560 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32562 wxPyEndAllowThreads(__tstate
);
32563 if (PyErr_Occurred()) SWIG_fail
;
32566 resultobj
= wxPyMake_wxObject(result
, 0);
32574 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32575 PyObject
*resultobj
;
32576 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32577 wxMenu
*arg2
= (wxMenu
*) 0 ;
32578 PyObject
* obj0
= 0 ;
32579 PyObject
* obj1
= 0 ;
32580 char *kwnames
[] = {
32581 (char *) "self",(char *) "menu", NULL
32584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32591 (arg1
)->SetMenu(arg2
);
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32596 Py_INCREF(Py_None
); resultobj
= Py_None
;
32603 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32604 PyObject
*resultobj
;
32605 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32607 PyObject
* obj0
= 0 ;
32608 PyObject
* obj1
= 0 ;
32609 char *kwnames
[] = {
32610 (char *) "self",(char *) "id", NULL
32613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32616 arg2
= (int)SWIG_As_int(obj1
);
32617 if (PyErr_Occurred()) SWIG_fail
;
32619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32620 (arg1
)->SetId(arg2
);
32622 wxPyEndAllowThreads(__tstate
);
32623 if (PyErr_Occurred()) SWIG_fail
;
32625 Py_INCREF(Py_None
); resultobj
= Py_None
;
32632 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32633 PyObject
*resultobj
;
32634 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32636 PyObject
* obj0
= 0 ;
32637 char *kwnames
[] = {
32638 (char *) "self", NULL
32641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32646 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32648 wxPyEndAllowThreads(__tstate
);
32649 if (PyErr_Occurred()) SWIG_fail
;
32651 resultobj
= SWIG_From_int((int)result
);
32658 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32659 PyObject
*resultobj
;
32660 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32662 PyObject
* obj0
= 0 ;
32663 char *kwnames
[] = {
32664 (char *) "self", NULL
32667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32672 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32686 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32687 PyObject
*resultobj
;
32688 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32689 wxString
*arg2
= 0 ;
32690 bool temp2
= False
;
32691 PyObject
* obj0
= 0 ;
32692 PyObject
* obj1
= 0 ;
32693 char *kwnames
[] = {
32694 (char *) "self",(char *) "str", NULL
32697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32701 arg2
= wxString_in_helper(obj1
);
32702 if (arg2
== NULL
) SWIG_fail
;
32706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32707 (arg1
)->SetText((wxString
const &)*arg2
);
32709 wxPyEndAllowThreads(__tstate
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32712 Py_INCREF(Py_None
); resultobj
= Py_None
;
32727 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32728 PyObject
*resultobj
;
32729 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32731 PyObject
* obj0
= 0 ;
32732 char *kwnames
[] = {
32733 (char *) "self", NULL
32736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32743 wxPyEndAllowThreads(__tstate
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32759 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32760 PyObject
*resultobj
;
32761 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32763 PyObject
* obj0
= 0 ;
32764 char *kwnames
[] = {
32765 (char *) "self", NULL
32768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32774 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32775 result
= (wxString
*) &_result_ref
;
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32783 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32785 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32794 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
;
32796 wxString
*arg1
= 0 ;
32798 bool temp1
= False
;
32799 PyObject
* obj0
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "text", NULL
32804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32806 arg1
= wxString_in_helper(obj0
);
32807 if (arg1
== NULL
) SWIG_fail
;
32811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32812 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32814 wxPyEndAllowThreads(__tstate
);
32815 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32838 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32839 PyObject
*resultobj
;
32840 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32842 PyObject
* obj0
= 0 ;
32843 char *kwnames
[] = {
32844 (char *) "self", NULL
32847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32852 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32857 resultobj
= SWIG_From_int((int)result
);
32864 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32865 PyObject
*resultobj
;
32866 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32868 PyObject
* obj0
= 0 ;
32869 PyObject
* obj1
= 0 ;
32870 char *kwnames
[] = {
32871 (char *) "self",(char *) "kind", NULL
32874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32877 arg2
= (int)SWIG_As_int(obj1
);
32878 if (PyErr_Occurred()) SWIG_fail
;
32880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32881 (arg1
)->SetKind((wxItemKind
)arg2
);
32883 wxPyEndAllowThreads(__tstate
);
32884 if (PyErr_Occurred()) SWIG_fail
;
32886 Py_INCREF(Py_None
); resultobj
= Py_None
;
32893 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32894 PyObject
*resultobj
;
32895 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32897 PyObject
* obj0
= 0 ;
32898 PyObject
* obj1
= 0 ;
32899 char *kwnames
[] = {
32900 (char *) "self",(char *) "checkable", NULL
32903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32906 arg2
= (bool)SWIG_As_bool(obj1
);
32907 if (PyErr_Occurred()) SWIG_fail
;
32909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32910 (arg1
)->SetCheckable(arg2
);
32912 wxPyEndAllowThreads(__tstate
);
32913 if (PyErr_Occurred()) SWIG_fail
;
32915 Py_INCREF(Py_None
); resultobj
= Py_None
;
32922 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32923 PyObject
*resultobj
;
32924 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32926 PyObject
* obj0
= 0 ;
32927 char *kwnames
[] = {
32928 (char *) "self", NULL
32931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32936 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32938 wxPyEndAllowThreads(__tstate
);
32939 if (PyErr_Occurred()) SWIG_fail
;
32942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32950 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32951 PyObject
*resultobj
;
32952 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32954 PyObject
* obj0
= 0 ;
32955 char *kwnames
[] = {
32956 (char *) "self", NULL
32959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32964 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32966 wxPyEndAllowThreads(__tstate
);
32967 if (PyErr_Occurred()) SWIG_fail
;
32970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32978 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32979 PyObject
*resultobj
;
32980 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32981 wxMenu
*arg2
= (wxMenu
*) 0 ;
32982 PyObject
* obj0
= 0 ;
32983 PyObject
* obj1
= 0 ;
32984 char *kwnames
[] = {
32985 (char *) "self",(char *) "menu", NULL
32988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32995 (arg1
)->SetSubMenu(arg2
);
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33000 Py_INCREF(Py_None
); resultobj
= Py_None
;
33007 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33008 PyObject
*resultobj
;
33009 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33011 PyObject
* obj0
= 0 ;
33012 char *kwnames
[] = {
33013 (char *) "self", NULL
33016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33021 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33023 wxPyEndAllowThreads(__tstate
);
33024 if (PyErr_Occurred()) SWIG_fail
;
33027 resultobj
= wxPyMake_wxObject(result
, 0);
33035 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33036 PyObject
*resultobj
;
33037 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33038 bool arg2
= (bool) True
;
33039 PyObject
* obj0
= 0 ;
33040 PyObject
* obj1
= 0 ;
33041 char *kwnames
[] = {
33042 (char *) "self",(char *) "enable", NULL
33045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33049 arg2
= (bool)SWIG_As_bool(obj1
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33054 (arg1
)->Enable(arg2
);
33056 wxPyEndAllowThreads(__tstate
);
33057 if (PyErr_Occurred()) SWIG_fail
;
33059 Py_INCREF(Py_None
); resultobj
= Py_None
;
33066 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33067 PyObject
*resultobj
;
33068 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33070 PyObject
* obj0
= 0 ;
33071 char *kwnames
[] = {
33072 (char *) "self", NULL
33075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33080 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33082 wxPyEndAllowThreads(__tstate
);
33083 if (PyErr_Occurred()) SWIG_fail
;
33086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33094 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33095 PyObject
*resultobj
;
33096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33097 bool arg2
= (bool) True
;
33098 PyObject
* obj0
= 0 ;
33099 PyObject
* obj1
= 0 ;
33100 char *kwnames
[] = {
33101 (char *) "self",(char *) "check", NULL
33104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33108 arg2
= (bool)SWIG_As_bool(obj1
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33113 (arg1
)->Check(arg2
);
33115 wxPyEndAllowThreads(__tstate
);
33116 if (PyErr_Occurred()) SWIG_fail
;
33118 Py_INCREF(Py_None
); resultobj
= Py_None
;
33125 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33126 PyObject
*resultobj
;
33127 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33129 PyObject
* obj0
= 0 ;
33130 char *kwnames
[] = {
33131 (char *) "self", NULL
33134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33141 wxPyEndAllowThreads(__tstate
);
33142 if (PyErr_Occurred()) SWIG_fail
;
33145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33153 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33154 PyObject
*resultobj
;
33155 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33156 PyObject
* obj0
= 0 ;
33157 char *kwnames
[] = {
33158 (char *) "self", NULL
33161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33168 wxPyEndAllowThreads(__tstate
);
33169 if (PyErr_Occurred()) SWIG_fail
;
33171 Py_INCREF(Py_None
); resultobj
= Py_None
;
33178 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33179 PyObject
*resultobj
;
33180 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33181 wxString
*arg2
= 0 ;
33182 bool temp2
= False
;
33183 PyObject
* obj0
= 0 ;
33184 PyObject
* obj1
= 0 ;
33185 char *kwnames
[] = {
33186 (char *) "self",(char *) "str", NULL
33189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33193 arg2
= wxString_in_helper(obj1
);
33194 if (arg2
== NULL
) SWIG_fail
;
33198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33199 (arg1
)->SetHelp((wxString
const &)*arg2
);
33201 wxPyEndAllowThreads(__tstate
);
33202 if (PyErr_Occurred()) SWIG_fail
;
33204 Py_INCREF(Py_None
); resultobj
= Py_None
;
33219 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33220 PyObject
*resultobj
;
33221 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33223 PyObject
* obj0
= 0 ;
33224 char *kwnames
[] = {
33225 (char *) "self", NULL
33228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33235 result
= (wxString
*) &_result_ref
;
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33243 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33245 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33254 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33255 PyObject
*resultobj
;
33256 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33257 wxAcceleratorEntry
*result
;
33258 PyObject
* obj0
= 0 ;
33259 char *kwnames
[] = {
33260 (char *) "self", NULL
33263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33268 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33270 wxPyEndAllowThreads(__tstate
);
33271 if (PyErr_Occurred()) SWIG_fail
;
33273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33280 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33281 PyObject
*resultobj
;
33282 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33283 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33284 PyObject
* obj0
= 0 ;
33285 PyObject
* obj1
= 0 ;
33286 char *kwnames
[] = {
33287 (char *) "self",(char *) "accel", NULL
33290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33297 (arg1
)->SetAccel(arg2
);
33299 wxPyEndAllowThreads(__tstate
);
33300 if (PyErr_Occurred()) SWIG_fail
;
33302 Py_INCREF(Py_None
); resultobj
= Py_None
;
33309 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33310 PyObject
*resultobj
;
33312 char *kwnames
[] = {
33316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33319 result
= (int)MenuItem_GetDefaultMarginWidth();
33321 wxPyEndAllowThreads(__tstate
);
33322 if (PyErr_Occurred()) SWIG_fail
;
33324 resultobj
= SWIG_From_int((int)result
);
33331 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33332 PyObject
*resultobj
;
33333 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33334 wxBitmap
*arg2
= 0 ;
33335 PyObject
* obj0
= 0 ;
33336 PyObject
* obj1
= 0 ;
33337 char *kwnames
[] = {
33338 (char *) "self",(char *) "bitmap", NULL
33341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33347 if (arg2
== NULL
) {
33348 PyErr_SetString(PyExc_TypeError
,"null reference");
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33355 wxPyEndAllowThreads(__tstate
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33358 Py_INCREF(Py_None
); resultobj
= Py_None
;
33365 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33366 PyObject
*resultobj
;
33367 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33369 PyObject
* obj0
= 0 ;
33370 char *kwnames
[] = {
33371 (char *) "self", NULL
33374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33380 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33381 result
= (wxBitmap
*) &_result_ref
;
33384 wxPyEndAllowThreads(__tstate
);
33385 if (PyErr_Occurred()) SWIG_fail
;
33388 wxBitmap
* resultptr
= new wxBitmap(*result
);
33389 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33397 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33400 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33402 return Py_BuildValue((char *)"");
33404 static int _wrap_ControlNameStr_set(PyObject
*) {
33405 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33410 static PyObject
*_wrap_ControlNameStr_get() {
33415 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33417 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33424 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33425 PyObject
*resultobj
;
33426 wxWindow
*arg1
= (wxWindow
*) 0 ;
33427 int arg2
= (int) -1 ;
33428 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33429 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33430 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33431 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33432 long arg5
= (long) 0 ;
33433 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33434 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33435 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33436 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33440 bool temp7
= False
;
33441 PyObject
* obj0
= 0 ;
33442 PyObject
* obj1
= 0 ;
33443 PyObject
* obj2
= 0 ;
33444 PyObject
* obj3
= 0 ;
33445 PyObject
* obj4
= 0 ;
33446 PyObject
* obj5
= 0 ;
33447 PyObject
* obj6
= 0 ;
33448 char *kwnames
[] = {
33449 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33456 arg2
= (int)SWIG_As_int(obj1
);
33457 if (PyErr_Occurred()) SWIG_fail
;
33462 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33468 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33472 arg5
= (long)SWIG_As_long(obj4
);
33473 if (PyErr_Occurred()) SWIG_fail
;
33476 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33479 if (arg6
== NULL
) {
33480 PyErr_SetString(PyExc_TypeError
,"null reference");
33486 arg7
= wxString_in_helper(obj6
);
33487 if (arg7
== NULL
) SWIG_fail
;
33492 if (!wxPyCheckForApp()) SWIG_fail
;
33493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33494 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33496 wxPyEndAllowThreads(__tstate
);
33497 if (PyErr_Occurred()) SWIG_fail
;
33499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33514 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33515 PyObject
*resultobj
;
33517 char *kwnames
[] = {
33521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33523 if (!wxPyCheckForApp()) SWIG_fail
;
33524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33525 result
= (wxControl
*)new wxControl();
33527 wxPyEndAllowThreads(__tstate
);
33528 if (PyErr_Occurred()) SWIG_fail
;
33530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33537 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
;
33539 wxControl
*arg1
= (wxControl
*) 0 ;
33540 wxWindow
*arg2
= (wxWindow
*) 0 ;
33541 int arg3
= (int) -1 ;
33542 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33543 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33544 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33545 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33546 long arg6
= (long) 0 ;
33547 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33548 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33549 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33550 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33554 bool temp8
= False
;
33555 PyObject
* obj0
= 0 ;
33556 PyObject
* obj1
= 0 ;
33557 PyObject
* obj2
= 0 ;
33558 PyObject
* obj3
= 0 ;
33559 PyObject
* obj4
= 0 ;
33560 PyObject
* obj5
= 0 ;
33561 PyObject
* obj6
= 0 ;
33562 PyObject
* obj7
= 0 ;
33563 char *kwnames
[] = {
33564 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33573 arg3
= (int)SWIG_As_int(obj2
);
33574 if (PyErr_Occurred()) SWIG_fail
;
33579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33589 arg6
= (long)SWIG_As_long(obj5
);
33590 if (PyErr_Occurred()) SWIG_fail
;
33593 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33596 if (arg7
== NULL
) {
33597 PyErr_SetString(PyExc_TypeError
,"null reference");
33603 arg8
= wxString_in_helper(obj7
);
33604 if (arg8
== NULL
) SWIG_fail
;
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33610 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33612 wxPyEndAllowThreads(__tstate
);
33613 if (PyErr_Occurred()) SWIG_fail
;
33616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33632 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33633 PyObject
*resultobj
;
33634 wxControl
*arg1
= (wxControl
*) 0 ;
33635 wxCommandEvent
*arg2
= 0 ;
33636 PyObject
* obj0
= 0 ;
33637 PyObject
* obj1
= 0 ;
33638 char *kwnames
[] = {
33639 (char *) "self",(char *) "event", NULL
33642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33648 if (arg2
== NULL
) {
33649 PyErr_SetString(PyExc_TypeError
,"null reference");
33653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33654 (arg1
)->Command(*arg2
);
33656 wxPyEndAllowThreads(__tstate
);
33657 if (PyErr_Occurred()) SWIG_fail
;
33659 Py_INCREF(Py_None
); resultobj
= Py_None
;
33666 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33667 PyObject
*resultobj
;
33668 wxControl
*arg1
= (wxControl
*) 0 ;
33670 PyObject
* obj0
= 0 ;
33671 char *kwnames
[] = {
33672 (char *) "self", NULL
33675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33680 result
= (arg1
)->GetLabel();
33682 wxPyEndAllowThreads(__tstate
);
33683 if (PyErr_Occurred()) SWIG_fail
;
33687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33698 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33699 PyObject
*resultobj
;
33700 wxControl
*arg1
= (wxControl
*) 0 ;
33701 wxString
*arg2
= 0 ;
33702 bool temp2
= False
;
33703 PyObject
* obj0
= 0 ;
33704 PyObject
* obj1
= 0 ;
33705 char *kwnames
[] = {
33706 (char *) "self",(char *) "label", NULL
33709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33713 arg2
= wxString_in_helper(obj1
);
33714 if (arg2
== NULL
) SWIG_fail
;
33718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33719 (arg1
)->SetLabel((wxString
const &)*arg2
);
33721 wxPyEndAllowThreads(__tstate
);
33722 if (PyErr_Occurred()) SWIG_fail
;
33724 Py_INCREF(Py_None
); resultobj
= Py_None
;
33739 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33740 PyObject
*resultobj
;
33741 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33742 wxVisualAttributes result
;
33743 PyObject
* obj0
= 0 ;
33744 char *kwnames
[] = {
33745 (char *) "variant", NULL
33748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33750 arg1
= (int)SWIG_As_int(obj0
);
33751 if (PyErr_Occurred()) SWIG_fail
;
33754 if (!wxPyCheckForApp()) SWIG_fail
;
33755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33756 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33758 wxPyEndAllowThreads(__tstate
);
33759 if (PyErr_Occurred()) SWIG_fail
;
33762 wxVisualAttributes
* resultptr
;
33763 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33772 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
33774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33775 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33777 return Py_BuildValue((char *)"");
33779 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33780 PyObject
*resultobj
;
33781 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33782 wxString
*arg2
= 0 ;
33783 PyObject
*arg3
= (PyObject
*) NULL
;
33785 bool temp2
= False
;
33786 PyObject
* obj0
= 0 ;
33787 PyObject
* obj1
= 0 ;
33788 PyObject
* obj2
= 0 ;
33789 char *kwnames
[] = {
33790 (char *) "self",(char *) "item",(char *) "clientData", NULL
33793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33797 arg2
= wxString_in_helper(obj1
);
33798 if (arg2
== NULL
) SWIG_fail
;
33805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33806 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33808 wxPyEndAllowThreads(__tstate
);
33809 if (PyErr_Occurred()) SWIG_fail
;
33811 resultobj
= SWIG_From_int((int)result
);
33826 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33827 PyObject
*resultobj
;
33828 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33829 wxArrayString
*arg2
= 0 ;
33830 bool temp2
= False
;
33831 PyObject
* obj0
= 0 ;
33832 PyObject
* obj1
= 0 ;
33833 char *kwnames
[] = {
33834 (char *) "self",(char *) "strings", NULL
33837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33841 if (! PySequence_Check(obj1
)) {
33842 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33845 arg2
= new wxArrayString
;
33847 int i
, len
=PySequence_Length(obj1
);
33848 for (i
=0; i
<len
; i
++) {
33849 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33851 PyObject
* str
= PyObject_Unicode(item
);
33853 PyObject
* str
= PyObject_Str(item
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33856 arg2
->Add(Py2wxString(str
));
33862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33863 (arg1
)->Append((wxArrayString
const &)*arg2
);
33865 wxPyEndAllowThreads(__tstate
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33868 Py_INCREF(Py_None
); resultobj
= Py_None
;
33870 if (temp2
) delete arg2
;
33875 if (temp2
) delete arg2
;
33881 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33882 PyObject
*resultobj
;
33883 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33884 wxString
*arg2
= 0 ;
33886 PyObject
*arg4
= (PyObject
*) NULL
;
33888 bool temp2
= False
;
33889 PyObject
* obj0
= 0 ;
33890 PyObject
* obj1
= 0 ;
33891 PyObject
* obj2
= 0 ;
33892 PyObject
* obj3
= 0 ;
33893 char *kwnames
[] = {
33894 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33901 arg2
= wxString_in_helper(obj1
);
33902 if (arg2
== NULL
) SWIG_fail
;
33905 arg3
= (int)SWIG_As_int(obj2
);
33906 if (PyErr_Occurred()) SWIG_fail
;
33911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33912 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33914 wxPyEndAllowThreads(__tstate
);
33915 if (PyErr_Occurred()) SWIG_fail
;
33917 resultobj
= SWIG_From_int((int)result
);
33932 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33933 PyObject
*resultobj
;
33934 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33935 PyObject
* obj0
= 0 ;
33936 char *kwnames
[] = {
33937 (char *) "self", NULL
33940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33947 wxPyEndAllowThreads(__tstate
);
33948 if (PyErr_Occurred()) SWIG_fail
;
33950 Py_INCREF(Py_None
); resultobj
= Py_None
;
33957 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33958 PyObject
*resultobj
;
33959 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33961 PyObject
* obj0
= 0 ;
33962 PyObject
* obj1
= 0 ;
33963 char *kwnames
[] = {
33964 (char *) "self",(char *) "n", NULL
33967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33970 arg2
= (int)SWIG_As_int(obj1
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33974 (arg1
)->Delete(arg2
);
33976 wxPyEndAllowThreads(__tstate
);
33977 if (PyErr_Occurred()) SWIG_fail
;
33979 Py_INCREF(Py_None
); resultobj
= Py_None
;
33986 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33987 PyObject
*resultobj
;
33988 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33990 PyObject
* obj0
= 0 ;
33991 char *kwnames
[] = {
33992 (char *) "self", NULL
33995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34000 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34002 wxPyEndAllowThreads(__tstate
);
34003 if (PyErr_Occurred()) SWIG_fail
;
34005 resultobj
= SWIG_From_int((int)result
);
34012 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34013 PyObject
*resultobj
;
34014 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34016 PyObject
* obj0
= 0 ;
34017 char *kwnames
[] = {
34018 (char *) "self", NULL
34021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34026 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34028 wxPyEndAllowThreads(__tstate
);
34029 if (PyErr_Occurred()) SWIG_fail
;
34032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34040 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34041 PyObject
*resultobj
;
34042 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34045 PyObject
* obj0
= 0 ;
34046 PyObject
* obj1
= 0 ;
34047 char *kwnames
[] = {
34048 (char *) "self",(char *) "n", NULL
34051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34054 arg2
= (int)SWIG_As_int(obj1
);
34055 if (PyErr_Occurred()) SWIG_fail
;
34057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34058 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34060 wxPyEndAllowThreads(__tstate
);
34061 if (PyErr_Occurred()) SWIG_fail
;
34065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34076 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34077 PyObject
*resultobj
;
34078 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34079 wxArrayString result
;
34080 PyObject
* obj0
= 0 ;
34081 char *kwnames
[] = {
34082 (char *) "self", NULL
34085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34090 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34092 wxPyEndAllowThreads(__tstate
);
34093 if (PyErr_Occurred()) SWIG_fail
;
34096 resultobj
= wxArrayString2PyList_helper(result
);
34104 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34105 PyObject
*resultobj
;
34106 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34108 wxString
*arg3
= 0 ;
34109 bool temp3
= False
;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 PyObject
* obj2
= 0 ;
34113 char *kwnames
[] = {
34114 (char *) "self",(char *) "n",(char *) "s", NULL
34117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34120 arg2
= (int)SWIG_As_int(obj1
);
34121 if (PyErr_Occurred()) SWIG_fail
;
34123 arg3
= wxString_in_helper(obj2
);
34124 if (arg3
== NULL
) SWIG_fail
;
34128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34129 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34131 wxPyEndAllowThreads(__tstate
);
34132 if (PyErr_Occurred()) SWIG_fail
;
34134 Py_INCREF(Py_None
); resultobj
= Py_None
;
34149 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34150 PyObject
*resultobj
;
34151 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34152 wxString
*arg2
= 0 ;
34154 bool temp2
= False
;
34155 PyObject
* obj0
= 0 ;
34156 PyObject
* obj1
= 0 ;
34157 char *kwnames
[] = {
34158 (char *) "self",(char *) "s", NULL
34161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34165 arg2
= wxString_in_helper(obj1
);
34166 if (arg2
== NULL
) SWIG_fail
;
34170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34171 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34173 wxPyEndAllowThreads(__tstate
);
34174 if (PyErr_Occurred()) SWIG_fail
;
34176 resultobj
= SWIG_From_int((int)result
);
34191 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34192 PyObject
*resultobj
;
34193 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34195 PyObject
* obj0
= 0 ;
34196 PyObject
* obj1
= 0 ;
34197 char *kwnames
[] = {
34198 (char *) "self",(char *) "n", NULL
34201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34204 arg2
= (int)SWIG_As_int(obj1
);
34205 if (PyErr_Occurred()) SWIG_fail
;
34207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 (arg1
)->Select(arg2
);
34210 wxPyEndAllowThreads(__tstate
);
34211 if (PyErr_Occurred()) SWIG_fail
;
34213 Py_INCREF(Py_None
); resultobj
= Py_None
;
34220 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34221 PyObject
*resultobj
;
34222 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34224 PyObject
* obj0
= 0 ;
34225 char *kwnames
[] = {
34226 (char *) "self", NULL
34229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34234 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34236 wxPyEndAllowThreads(__tstate
);
34237 if (PyErr_Occurred()) SWIG_fail
;
34239 resultobj
= SWIG_From_int((int)result
);
34246 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34247 PyObject
*resultobj
;
34248 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34250 PyObject
* obj0
= 0 ;
34251 char *kwnames
[] = {
34252 (char *) "self", NULL
34255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34260 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34262 wxPyEndAllowThreads(__tstate
);
34263 if (PyErr_Occurred()) SWIG_fail
;
34267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34278 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34279 PyObject
*resultobj
;
34280 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34283 PyObject
* obj0
= 0 ;
34284 PyObject
* obj1
= 0 ;
34285 char *kwnames
[] = {
34286 (char *) "self",(char *) "n", NULL
34289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34292 arg2
= (int)SWIG_As_int(obj1
);
34293 if (PyErr_Occurred()) SWIG_fail
;
34295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34296 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34298 wxPyEndAllowThreads(__tstate
);
34299 if (PyErr_Occurred()) SWIG_fail
;
34301 resultobj
= result
;
34308 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34309 PyObject
*resultobj
;
34310 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34312 PyObject
*arg3
= (PyObject
*) 0 ;
34313 PyObject
* obj0
= 0 ;
34314 PyObject
* obj1
= 0 ;
34315 PyObject
* obj2
= 0 ;
34316 char *kwnames
[] = {
34317 (char *) "self",(char *) "n",(char *) "clientData", NULL
34320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34323 arg2
= (int)SWIG_As_int(obj1
);
34324 if (PyErr_Occurred()) SWIG_fail
;
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34333 Py_INCREF(Py_None
); resultobj
= Py_None
;
34340 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34343 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34345 return Py_BuildValue((char *)"");
34347 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34350 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34352 return Py_BuildValue((char *)"");
34354 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34355 PyObject
*resultobj
;
34356 wxSizerItem
*result
;
34357 char *kwnames
[] = {
34361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34364 result
= (wxSizerItem
*)new wxSizerItem();
34366 wxPyEndAllowThreads(__tstate
);
34367 if (PyErr_Occurred()) SWIG_fail
;
34369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34376 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34377 PyObject
*resultobj
;
34378 wxWindow
*arg1
= (wxWindow
*) 0 ;
34382 PyObject
*arg5
= (PyObject
*) NULL
;
34383 wxSizerItem
*result
;
34384 PyObject
* obj0
= 0 ;
34385 PyObject
* obj1
= 0 ;
34386 PyObject
* obj2
= 0 ;
34387 PyObject
* obj3
= 0 ;
34388 PyObject
* obj4
= 0 ;
34389 char *kwnames
[] = {
34390 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34396 arg2
= (int)SWIG_As_int(obj1
);
34397 if (PyErr_Occurred()) SWIG_fail
;
34398 arg3
= (int)SWIG_As_int(obj2
);
34399 if (PyErr_Occurred()) SWIG_fail
;
34400 arg4
= (int)SWIG_As_int(obj3
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34407 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34409 wxPyEndAllowThreads(__tstate
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34419 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34420 PyObject
*resultobj
;
34426 PyObject
*arg6
= (PyObject
*) NULL
;
34427 wxSizerItem
*result
;
34428 PyObject
* obj0
= 0 ;
34429 PyObject
* obj1
= 0 ;
34430 PyObject
* obj2
= 0 ;
34431 PyObject
* obj3
= 0 ;
34432 PyObject
* obj4
= 0 ;
34433 PyObject
* obj5
= 0 ;
34434 char *kwnames
[] = {
34435 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34439 arg1
= (int)SWIG_As_int(obj0
);
34440 if (PyErr_Occurred()) SWIG_fail
;
34441 arg2
= (int)SWIG_As_int(obj1
);
34442 if (PyErr_Occurred()) SWIG_fail
;
34443 arg3
= (int)SWIG_As_int(obj2
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34445 arg4
= (int)SWIG_As_int(obj3
);
34446 if (PyErr_Occurred()) SWIG_fail
;
34447 arg5
= (int)SWIG_As_int(obj4
);
34448 if (PyErr_Occurred()) SWIG_fail
;
34453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34454 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34456 wxPyEndAllowThreads(__tstate
);
34457 if (PyErr_Occurred()) SWIG_fail
;
34459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34466 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34467 PyObject
*resultobj
;
34468 wxSizer
*arg1
= (wxSizer
*) 0 ;
34472 PyObject
*arg5
= (PyObject
*) NULL
;
34473 wxSizerItem
*result
;
34474 PyObject
* obj0
= 0 ;
34475 PyObject
* obj1
= 0 ;
34476 PyObject
* obj2
= 0 ;
34477 PyObject
* obj3
= 0 ;
34478 PyObject
* obj4
= 0 ;
34479 char *kwnames
[] = {
34480 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34486 arg2
= (int)SWIG_As_int(obj1
);
34487 if (PyErr_Occurred()) SWIG_fail
;
34488 arg3
= (int)SWIG_As_int(obj2
);
34489 if (PyErr_Occurred()) SWIG_fail
;
34490 arg4
= (int)SWIG_As_int(obj3
);
34491 if (PyErr_Occurred()) SWIG_fail
;
34496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34497 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34499 wxPyEndAllowThreads(__tstate
);
34500 if (PyErr_Occurred()) SWIG_fail
;
34502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34509 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34510 PyObject
*resultobj
;
34511 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34512 PyObject
* obj0
= 0 ;
34513 char *kwnames
[] = {
34514 (char *) "self", NULL
34517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34522 (arg1
)->DeleteWindows();
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34527 Py_INCREF(Py_None
); resultobj
= Py_None
;
34534 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34535 PyObject
*resultobj
;
34536 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34537 PyObject
* obj0
= 0 ;
34538 char *kwnames
[] = {
34539 (char *) "self", NULL
34542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34547 (arg1
)->DetachSizer();
34549 wxPyEndAllowThreads(__tstate
);
34550 if (PyErr_Occurred()) SWIG_fail
;
34552 Py_INCREF(Py_None
); resultobj
= Py_None
;
34559 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34560 PyObject
*resultobj
;
34561 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34563 PyObject
* obj0
= 0 ;
34564 char *kwnames
[] = {
34565 (char *) "self", NULL
34568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34573 result
= (arg1
)->GetSize();
34575 wxPyEndAllowThreads(__tstate
);
34576 if (PyErr_Occurred()) SWIG_fail
;
34579 wxSize
* resultptr
;
34580 resultptr
= new wxSize((wxSize
&) result
);
34581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34589 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34590 PyObject
*resultobj
;
34591 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34593 PyObject
* obj0
= 0 ;
34594 char *kwnames
[] = {
34595 (char *) "self", NULL
34598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34603 result
= (arg1
)->CalcMin();
34605 wxPyEndAllowThreads(__tstate
);
34606 if (PyErr_Occurred()) SWIG_fail
;
34609 wxSize
* resultptr
;
34610 resultptr
= new wxSize((wxSize
&) result
);
34611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34619 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34620 PyObject
*resultobj
;
34621 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34626 PyObject
* obj0
= 0 ;
34627 PyObject
* obj1
= 0 ;
34628 PyObject
* obj2
= 0 ;
34629 char *kwnames
[] = {
34630 (char *) "self",(char *) "pos",(char *) "size", NULL
34633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34636 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34637 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34639 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34640 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34644 (arg1
)->SetDimension(arg2
,arg3
);
34646 wxPyEndAllowThreads(__tstate
);
34647 if (PyErr_Occurred()) SWIG_fail
;
34649 Py_INCREF(Py_None
); resultobj
= Py_None
;
34656 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34657 PyObject
*resultobj
;
34658 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34660 PyObject
* obj0
= 0 ;
34661 char *kwnames
[] = {
34662 (char *) "self", NULL
34665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34670 result
= (arg1
)->GetMinSize();
34672 wxPyEndAllowThreads(__tstate
);
34673 if (PyErr_Occurred()) SWIG_fail
;
34676 wxSize
* resultptr
;
34677 resultptr
= new wxSize((wxSize
&) result
);
34678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34686 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34687 PyObject
*resultobj
;
34688 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34690 PyObject
* obj0
= 0 ;
34691 char *kwnames
[] = {
34692 (char *) "self", NULL
34695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34700 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34702 wxPyEndAllowThreads(__tstate
);
34703 if (PyErr_Occurred()) SWIG_fail
;
34706 wxSize
* resultptr
;
34707 resultptr
= new wxSize((wxSize
&) result
);
34708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34716 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34717 PyObject
*resultobj
;
34718 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34721 PyObject
* obj0
= 0 ;
34722 PyObject
* obj1
= 0 ;
34723 PyObject
* obj2
= 0 ;
34724 char *kwnames
[] = {
34725 (char *) "self",(char *) "x",(char *) "y", NULL
34728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34731 arg2
= (int)SWIG_As_int(obj1
);
34732 if (PyErr_Occurred()) SWIG_fail
;
34733 arg3
= (int)SWIG_As_int(obj2
);
34734 if (PyErr_Occurred()) SWIG_fail
;
34736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34737 (arg1
)->SetInitSize(arg2
,arg3
);
34739 wxPyEndAllowThreads(__tstate
);
34740 if (PyErr_Occurred()) SWIG_fail
;
34742 Py_INCREF(Py_None
); resultobj
= Py_None
;
34749 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34750 PyObject
*resultobj
;
34751 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34754 PyObject
* obj0
= 0 ;
34755 PyObject
* obj1
= 0 ;
34756 PyObject
* obj2
= 0 ;
34757 char *kwnames
[] = {
34758 (char *) "self",(char *) "width",(char *) "height", NULL
34761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34764 arg2
= (int)SWIG_As_int(obj1
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34766 arg3
= (int)SWIG_As_int(obj2
);
34767 if (PyErr_Occurred()) SWIG_fail
;
34769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34770 (arg1
)->SetRatio(arg2
,arg3
);
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34775 Py_INCREF(Py_None
); resultobj
= Py_None
;
34782 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
;
34784 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34787 PyObject
* obj0
= 0 ;
34788 PyObject
* obj1
= 0 ;
34789 char *kwnames
[] = {
34790 (char *) "self",(char *) "size", NULL
34793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34796 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34797 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 (arg1
)->SetRatio(arg2
);
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34806 Py_INCREF(Py_None
); resultobj
= Py_None
;
34813 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34814 PyObject
*resultobj
;
34815 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34817 PyObject
* obj0
= 0 ;
34818 PyObject
* obj1
= 0 ;
34819 char *kwnames
[] = {
34820 (char *) "self",(char *) "ratio", NULL
34823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34826 arg2
= (float)SWIG_As_float(obj1
);
34827 if (PyErr_Occurred()) SWIG_fail
;
34829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34830 (arg1
)->SetRatio(arg2
);
34832 wxPyEndAllowThreads(__tstate
);
34833 if (PyErr_Occurred()) SWIG_fail
;
34835 Py_INCREF(Py_None
); resultobj
= Py_None
;
34842 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34843 PyObject
*resultobj
;
34844 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34846 PyObject
* obj0
= 0 ;
34847 char *kwnames
[] = {
34848 (char *) "self", NULL
34851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34856 result
= (float)(arg1
)->GetRatio();
34858 wxPyEndAllowThreads(__tstate
);
34859 if (PyErr_Occurred()) SWIG_fail
;
34861 resultobj
= SWIG_From_float((float)result
);
34868 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34869 PyObject
*resultobj
;
34870 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34872 PyObject
* obj0
= 0 ;
34873 char *kwnames
[] = {
34874 (char *) "self", NULL
34877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34882 result
= (bool)(arg1
)->IsWindow();
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34896 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34897 PyObject
*resultobj
;
34898 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34900 PyObject
* obj0
= 0 ;
34901 char *kwnames
[] = {
34902 (char *) "self", NULL
34905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 result
= (bool)(arg1
)->IsSizer();
34912 wxPyEndAllowThreads(__tstate
);
34913 if (PyErr_Occurred()) SWIG_fail
;
34916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34924 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34925 PyObject
*resultobj
;
34926 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34928 PyObject
* obj0
= 0 ;
34929 char *kwnames
[] = {
34930 (char *) "self", NULL
34933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34938 result
= (bool)(arg1
)->IsSpacer();
34940 wxPyEndAllowThreads(__tstate
);
34941 if (PyErr_Occurred()) SWIG_fail
;
34944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34952 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34953 PyObject
*resultobj
;
34954 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34956 PyObject
* obj0
= 0 ;
34957 PyObject
* obj1
= 0 ;
34958 char *kwnames
[] = {
34959 (char *) "self",(char *) "proportion", NULL
34962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34965 arg2
= (int)SWIG_As_int(obj1
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 (arg1
)->SetProportion(arg2
);
34971 wxPyEndAllowThreads(__tstate
);
34972 if (PyErr_Occurred()) SWIG_fail
;
34974 Py_INCREF(Py_None
); resultobj
= Py_None
;
34981 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34982 PyObject
*resultobj
;
34983 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34985 PyObject
* obj0
= 0 ;
34986 char *kwnames
[] = {
34987 (char *) "self", NULL
34990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34995 result
= (int)(arg1
)->GetProportion();
34997 wxPyEndAllowThreads(__tstate
);
34998 if (PyErr_Occurred()) SWIG_fail
;
35000 resultobj
= SWIG_From_int((int)result
);
35007 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35008 PyObject
*resultobj
;
35009 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35011 PyObject
* obj0
= 0 ;
35012 PyObject
* obj1
= 0 ;
35013 char *kwnames
[] = {
35014 (char *) "self",(char *) "flag", NULL
35017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35020 arg2
= (int)SWIG_As_int(obj1
);
35021 if (PyErr_Occurred()) SWIG_fail
;
35023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35024 (arg1
)->SetFlag(arg2
);
35026 wxPyEndAllowThreads(__tstate
);
35027 if (PyErr_Occurred()) SWIG_fail
;
35029 Py_INCREF(Py_None
); resultobj
= Py_None
;
35036 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35037 PyObject
*resultobj
;
35038 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35040 PyObject
* obj0
= 0 ;
35041 char *kwnames
[] = {
35042 (char *) "self", NULL
35045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35050 result
= (int)(arg1
)->GetFlag();
35052 wxPyEndAllowThreads(__tstate
);
35053 if (PyErr_Occurred()) SWIG_fail
;
35055 resultobj
= SWIG_From_int((int)result
);
35062 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35063 PyObject
*resultobj
;
35064 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35066 PyObject
* obj0
= 0 ;
35067 PyObject
* obj1
= 0 ;
35068 char *kwnames
[] = {
35069 (char *) "self",(char *) "border", NULL
35072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35075 arg2
= (int)SWIG_As_int(obj1
);
35076 if (PyErr_Occurred()) SWIG_fail
;
35078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35079 (arg1
)->SetBorder(arg2
);
35081 wxPyEndAllowThreads(__tstate
);
35082 if (PyErr_Occurred()) SWIG_fail
;
35084 Py_INCREF(Py_None
); resultobj
= Py_None
;
35091 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35092 PyObject
*resultobj
;
35093 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35095 PyObject
* obj0
= 0 ;
35096 char *kwnames
[] = {
35097 (char *) "self", NULL
35100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35105 result
= (int)(arg1
)->GetBorder();
35107 wxPyEndAllowThreads(__tstate
);
35108 if (PyErr_Occurred()) SWIG_fail
;
35110 resultobj
= SWIG_From_int((int)result
);
35117 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35118 PyObject
*resultobj
;
35119 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35121 PyObject
* obj0
= 0 ;
35122 char *kwnames
[] = {
35123 (char *) "self", NULL
35126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35131 result
= (wxWindow
*)(arg1
)->GetWindow();
35133 wxPyEndAllowThreads(__tstate
);
35134 if (PyErr_Occurred()) SWIG_fail
;
35137 resultobj
= wxPyMake_wxObject(result
, 0);
35145 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35146 PyObject
*resultobj
;
35147 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35148 wxWindow
*arg2
= (wxWindow
*) 0 ;
35149 PyObject
* obj0
= 0 ;
35150 PyObject
* obj1
= 0 ;
35151 char *kwnames
[] = {
35152 (char *) "self",(char *) "window", NULL
35155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35162 (arg1
)->SetWindow(arg2
);
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35167 Py_INCREF(Py_None
); resultobj
= Py_None
;
35174 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35175 PyObject
*resultobj
;
35176 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35178 PyObject
* obj0
= 0 ;
35179 char *kwnames
[] = {
35180 (char *) "self", NULL
35183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35188 result
= (wxSizer
*)(arg1
)->GetSizer();
35190 wxPyEndAllowThreads(__tstate
);
35191 if (PyErr_Occurred()) SWIG_fail
;
35194 resultobj
= wxPyMake_wxSizer(result
, 0);
35202 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35203 PyObject
*resultobj
;
35204 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35205 wxSizer
*arg2
= (wxSizer
*) 0 ;
35206 PyObject
* obj0
= 0 ;
35207 PyObject
* obj1
= 0 ;
35208 char *kwnames
[] = {
35209 (char *) "self",(char *) "sizer", NULL
35212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35219 (arg1
)->SetSizer(arg2
);
35221 wxPyEndAllowThreads(__tstate
);
35222 if (PyErr_Occurred()) SWIG_fail
;
35224 Py_INCREF(Py_None
); resultobj
= Py_None
;
35231 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35232 PyObject
*resultobj
;
35233 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35235 PyObject
* obj0
= 0 ;
35236 char *kwnames
[] = {
35237 (char *) "self", NULL
35240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35246 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35247 result
= (wxSize
*) &_result_ref
;
35250 wxPyEndAllowThreads(__tstate
);
35251 if (PyErr_Occurred()) SWIG_fail
;
35253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35260 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35261 PyObject
*resultobj
;
35262 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35265 PyObject
* obj0
= 0 ;
35266 PyObject
* obj1
= 0 ;
35267 char *kwnames
[] = {
35268 (char *) "self",(char *) "size", NULL
35271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35276 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35280 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35282 wxPyEndAllowThreads(__tstate
);
35283 if (PyErr_Occurred()) SWIG_fail
;
35285 Py_INCREF(Py_None
); resultobj
= Py_None
;
35292 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35293 PyObject
*resultobj
;
35294 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35296 PyObject
* obj0
= 0 ;
35297 PyObject
* obj1
= 0 ;
35298 char *kwnames
[] = {
35299 (char *) "self",(char *) "show", NULL
35302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35305 arg2
= (bool)SWIG_As_bool(obj1
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35309 (arg1
)->Show(arg2
);
35311 wxPyEndAllowThreads(__tstate
);
35312 if (PyErr_Occurred()) SWIG_fail
;
35314 Py_INCREF(Py_None
); resultobj
= Py_None
;
35321 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35322 PyObject
*resultobj
;
35323 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35325 PyObject
* obj0
= 0 ;
35326 char *kwnames
[] = {
35327 (char *) "self", NULL
35330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35335 result
= (bool)(arg1
)->IsShown();
35337 wxPyEndAllowThreads(__tstate
);
35338 if (PyErr_Occurred()) SWIG_fail
;
35341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35349 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35350 PyObject
*resultobj
;
35351 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35353 PyObject
* obj0
= 0 ;
35354 char *kwnames
[] = {
35355 (char *) "self", NULL
35358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35363 result
= (arg1
)->GetPosition();
35365 wxPyEndAllowThreads(__tstate
);
35366 if (PyErr_Occurred()) SWIG_fail
;
35369 wxPoint
* resultptr
;
35370 resultptr
= new wxPoint((wxPoint
&) result
);
35371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35379 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35380 PyObject
*resultobj
;
35381 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35383 PyObject
* obj0
= 0 ;
35384 char *kwnames
[] = {
35385 (char *) "self", NULL
35388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35393 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35395 wxPyEndAllowThreads(__tstate
);
35396 if (PyErr_Occurred()) SWIG_fail
;
35398 resultobj
= result
;
35405 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35408 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35410 return Py_BuildValue((char *)"");
35412 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35413 PyObject
*resultobj
;
35414 wxSizer
*arg1
= (wxSizer
*) 0 ;
35415 PyObject
*arg2
= (PyObject
*) 0 ;
35416 PyObject
* obj0
= 0 ;
35417 PyObject
* obj1
= 0 ;
35418 char *kwnames
[] = {
35419 (char *) "self",(char *) "_self", NULL
35422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35428 wxSizer__setOORInfo(arg1
,arg2
);
35430 wxPyEndAllowThreads(__tstate
);
35431 if (PyErr_Occurred()) SWIG_fail
;
35433 Py_INCREF(Py_None
); resultobj
= Py_None
;
35440 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35441 PyObject
*resultobj
;
35442 wxSizer
*arg1
= (wxSizer
*) 0 ;
35443 PyObject
*arg2
= (PyObject
*) 0 ;
35444 int arg3
= (int) 0 ;
35445 int arg4
= (int) 0 ;
35446 int arg5
= (int) 0 ;
35447 PyObject
*arg6
= (PyObject
*) NULL
;
35448 PyObject
* obj0
= 0 ;
35449 PyObject
* obj1
= 0 ;
35450 PyObject
* obj2
= 0 ;
35451 PyObject
* obj3
= 0 ;
35452 PyObject
* obj4
= 0 ;
35453 PyObject
* obj5
= 0 ;
35454 char *kwnames
[] = {
35455 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35463 arg3
= (int)SWIG_As_int(obj2
);
35464 if (PyErr_Occurred()) SWIG_fail
;
35467 arg4
= (int)SWIG_As_int(obj3
);
35468 if (PyErr_Occurred()) SWIG_fail
;
35471 arg5
= (int)SWIG_As_int(obj4
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35479 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35481 wxPyEndAllowThreads(__tstate
);
35482 if (PyErr_Occurred()) SWIG_fail
;
35484 Py_INCREF(Py_None
); resultobj
= Py_None
;
35491 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35492 PyObject
*resultobj
;
35493 wxSizer
*arg1
= (wxSizer
*) 0 ;
35495 PyObject
*arg3
= (PyObject
*) 0 ;
35496 int arg4
= (int) 0 ;
35497 int arg5
= (int) 0 ;
35498 int arg6
= (int) 0 ;
35499 PyObject
*arg7
= (PyObject
*) NULL
;
35500 PyObject
* obj0
= 0 ;
35501 PyObject
* obj1
= 0 ;
35502 PyObject
* obj2
= 0 ;
35503 PyObject
* obj3
= 0 ;
35504 PyObject
* obj4
= 0 ;
35505 PyObject
* obj5
= 0 ;
35506 PyObject
* obj6
= 0 ;
35507 char *kwnames
[] = {
35508 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35514 arg2
= (int)SWIG_As_int(obj1
);
35515 if (PyErr_Occurred()) SWIG_fail
;
35518 arg4
= (int)SWIG_As_int(obj3
);
35519 if (PyErr_Occurred()) SWIG_fail
;
35522 arg5
= (int)SWIG_As_int(obj4
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35526 arg6
= (int)SWIG_As_int(obj5
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35534 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35539 Py_INCREF(Py_None
); resultobj
= Py_None
;
35546 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35547 PyObject
*resultobj
;
35548 wxSizer
*arg1
= (wxSizer
*) 0 ;
35549 PyObject
*arg2
= (PyObject
*) 0 ;
35550 int arg3
= (int) 0 ;
35551 int arg4
= (int) 0 ;
35552 int arg5
= (int) 0 ;
35553 PyObject
*arg6
= (PyObject
*) NULL
;
35554 PyObject
* obj0
= 0 ;
35555 PyObject
* obj1
= 0 ;
35556 PyObject
* obj2
= 0 ;
35557 PyObject
* obj3
= 0 ;
35558 PyObject
* obj4
= 0 ;
35559 PyObject
* obj5
= 0 ;
35560 char *kwnames
[] = {
35561 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35569 arg3
= (int)SWIG_As_int(obj2
);
35570 if (PyErr_Occurred()) SWIG_fail
;
35573 arg4
= (int)SWIG_As_int(obj3
);
35574 if (PyErr_Occurred()) SWIG_fail
;
35577 arg5
= (int)SWIG_As_int(obj4
);
35578 if (PyErr_Occurred()) SWIG_fail
;
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35587 wxPyEndAllowThreads(__tstate
);
35588 if (PyErr_Occurred()) SWIG_fail
;
35590 Py_INCREF(Py_None
); resultobj
= Py_None
;
35597 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35598 PyObject
*resultobj
;
35599 wxSizer
*arg1
= (wxSizer
*) 0 ;
35600 PyObject
*arg2
= (PyObject
*) 0 ;
35602 PyObject
* obj0
= 0 ;
35603 PyObject
* obj1
= 0 ;
35604 char *kwnames
[] = {
35605 (char *) "self",(char *) "item", NULL
35608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35614 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35616 wxPyEndAllowThreads(__tstate
);
35617 if (PyErr_Occurred()) SWIG_fail
;
35620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35628 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35629 PyObject
*resultobj
;
35630 wxSizer
*arg1
= (wxSizer
*) 0 ;
35631 PyObject
*arg2
= (PyObject
*) 0 ;
35633 PyObject
* obj0
= 0 ;
35634 PyObject
* obj1
= 0 ;
35635 char *kwnames
[] = {
35636 (char *) "self",(char *) "item", NULL
35639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35645 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35647 wxPyEndAllowThreads(__tstate
);
35648 if (PyErr_Occurred()) SWIG_fail
;
35651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35659 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35660 PyObject
*resultobj
;
35661 wxSizer
*arg1
= (wxSizer
*) 0 ;
35662 PyObject
*arg2
= (PyObject
*) 0 ;
35665 PyObject
* obj0
= 0 ;
35666 PyObject
* obj1
= 0 ;
35667 PyObject
* obj2
= 0 ;
35668 char *kwnames
[] = {
35669 (char *) "self",(char *) "item",(char *) "size", NULL
35672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35678 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35682 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35684 wxPyEndAllowThreads(__tstate
);
35685 if (PyErr_Occurred()) SWIG_fail
;
35687 Py_INCREF(Py_None
); resultobj
= Py_None
;
35694 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35695 PyObject
*resultobj
;
35696 wxSizer
*arg1
= (wxSizer
*) 0 ;
35697 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35698 PyObject
* obj0
= 0 ;
35699 PyObject
* obj1
= 0 ;
35700 char *kwnames
[] = {
35701 (char *) "self",(char *) "item", NULL
35704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35713 wxPyEndAllowThreads(__tstate
);
35714 if (PyErr_Occurred()) SWIG_fail
;
35716 Py_INCREF(Py_None
); resultobj
= Py_None
;
35723 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35724 PyObject
*resultobj
;
35725 wxSizer
*arg1
= (wxSizer
*) 0 ;
35727 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35728 PyObject
* obj0
= 0 ;
35729 PyObject
* obj1
= 0 ;
35730 PyObject
* obj2
= 0 ;
35731 char *kwnames
[] = {
35732 (char *) "self",(char *) "index",(char *) "item", NULL
35735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35738 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35740 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35744 (arg1
)->Insert(arg2
,arg3
);
35746 wxPyEndAllowThreads(__tstate
);
35747 if (PyErr_Occurred()) SWIG_fail
;
35749 Py_INCREF(Py_None
); resultobj
= Py_None
;
35756 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35757 PyObject
*resultobj
;
35758 wxSizer
*arg1
= (wxSizer
*) 0 ;
35759 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35760 PyObject
* obj0
= 0 ;
35761 PyObject
* obj1
= 0 ;
35762 char *kwnames
[] = {
35763 (char *) "self",(char *) "item", NULL
35766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35773 (arg1
)->Prepend(arg2
);
35775 wxPyEndAllowThreads(__tstate
);
35776 if (PyErr_Occurred()) SWIG_fail
;
35778 Py_INCREF(Py_None
); resultobj
= Py_None
;
35785 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35786 PyObject
*resultobj
;
35787 wxSizer
*arg1
= (wxSizer
*) 0 ;
35792 PyObject
* obj0
= 0 ;
35793 PyObject
* obj1
= 0 ;
35794 PyObject
* obj2
= 0 ;
35795 PyObject
* obj3
= 0 ;
35796 PyObject
* obj4
= 0 ;
35797 char *kwnames
[] = {
35798 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35804 arg2
= (int)SWIG_As_int(obj1
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35806 arg3
= (int)SWIG_As_int(obj2
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35808 arg4
= (int)SWIG_As_int(obj3
);
35809 if (PyErr_Occurred()) SWIG_fail
;
35810 arg5
= (int)SWIG_As_int(obj4
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35814 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35816 wxPyEndAllowThreads(__tstate
);
35817 if (PyErr_Occurred()) SWIG_fail
;
35819 Py_INCREF(Py_None
); resultobj
= Py_None
;
35826 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35827 PyObject
*resultobj
;
35828 wxSizer
*arg1
= (wxSizer
*) 0 ;
35831 PyObject
* obj0
= 0 ;
35832 PyObject
* obj1
= 0 ;
35833 char *kwnames
[] = {
35834 (char *) "self",(char *) "size", NULL
35837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35842 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35846 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35848 wxPyEndAllowThreads(__tstate
);
35849 if (PyErr_Occurred()) SWIG_fail
;
35851 Py_INCREF(Py_None
); resultobj
= Py_None
;
35858 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35859 PyObject
*resultobj
;
35860 wxSizer
*arg1
= (wxSizer
*) 0 ;
35862 PyObject
* obj0
= 0 ;
35863 char *kwnames
[] = {
35864 (char *) "self", NULL
35867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35872 result
= (arg1
)->GetSize();
35874 wxPyEndAllowThreads(__tstate
);
35875 if (PyErr_Occurred()) SWIG_fail
;
35878 wxSize
* resultptr
;
35879 resultptr
= new wxSize((wxSize
&) result
);
35880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35888 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35889 PyObject
*resultobj
;
35890 wxSizer
*arg1
= (wxSizer
*) 0 ;
35892 PyObject
* obj0
= 0 ;
35893 char *kwnames
[] = {
35894 (char *) "self", NULL
35897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35902 result
= (arg1
)->GetPosition();
35904 wxPyEndAllowThreads(__tstate
);
35905 if (PyErr_Occurred()) SWIG_fail
;
35908 wxPoint
* resultptr
;
35909 resultptr
= new wxPoint((wxPoint
&) result
);
35910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35918 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35919 PyObject
*resultobj
;
35920 wxSizer
*arg1
= (wxSizer
*) 0 ;
35922 PyObject
* obj0
= 0 ;
35923 char *kwnames
[] = {
35924 (char *) "self", NULL
35927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 result
= (arg1
)->GetMinSize();
35934 wxPyEndAllowThreads(__tstate
);
35935 if (PyErr_Occurred()) SWIG_fail
;
35938 wxSize
* resultptr
;
35939 resultptr
= new wxSize((wxSize
&) result
);
35940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35948 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35949 PyObject
*resultobj
;
35950 wxSizer
*arg1
= (wxSizer
*) 0 ;
35951 PyObject
* obj0
= 0 ;
35952 char *kwnames
[] = {
35953 (char *) "self", NULL
35956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35961 (arg1
)->RecalcSizes();
35963 wxPyEndAllowThreads(__tstate
);
35964 if (PyErr_Occurred()) SWIG_fail
;
35966 Py_INCREF(Py_None
); resultobj
= Py_None
;
35973 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35974 PyObject
*resultobj
;
35975 wxSizer
*arg1
= (wxSizer
*) 0 ;
35977 PyObject
* obj0
= 0 ;
35978 char *kwnames
[] = {
35979 (char *) "self", NULL
35982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35987 result
= (arg1
)->CalcMin();
35989 wxPyEndAllowThreads(__tstate
);
35990 if (PyErr_Occurred()) SWIG_fail
;
35993 wxSize
* resultptr
;
35994 resultptr
= new wxSize((wxSize
&) result
);
35995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36003 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36004 PyObject
*resultobj
;
36005 wxSizer
*arg1
= (wxSizer
*) 0 ;
36006 PyObject
* obj0
= 0 ;
36007 char *kwnames
[] = {
36008 (char *) "self", NULL
36011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36018 wxPyEndAllowThreads(__tstate
);
36019 if (PyErr_Occurred()) SWIG_fail
;
36021 Py_INCREF(Py_None
); resultobj
= Py_None
;
36028 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36029 PyObject
*resultobj
;
36030 wxSizer
*arg1
= (wxSizer
*) 0 ;
36031 wxWindow
*arg2
= (wxWindow
*) 0 ;
36033 PyObject
* obj0
= 0 ;
36034 PyObject
* obj1
= 0 ;
36035 char *kwnames
[] = {
36036 (char *) "self",(char *) "window", NULL
36039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36046 result
= (arg1
)->Fit(arg2
);
36048 wxPyEndAllowThreads(__tstate
);
36049 if (PyErr_Occurred()) SWIG_fail
;
36052 wxSize
* resultptr
;
36053 resultptr
= new wxSize((wxSize
&) result
);
36054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36062 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36063 PyObject
*resultobj
;
36064 wxSizer
*arg1
= (wxSizer
*) 0 ;
36065 wxWindow
*arg2
= (wxWindow
*) 0 ;
36066 PyObject
* obj0
= 0 ;
36067 PyObject
* obj1
= 0 ;
36068 char *kwnames
[] = {
36069 (char *) "self",(char *) "window", NULL
36072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36079 (arg1
)->FitInside(arg2
);
36081 wxPyEndAllowThreads(__tstate
);
36082 if (PyErr_Occurred()) SWIG_fail
;
36084 Py_INCREF(Py_None
); resultobj
= Py_None
;
36091 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36092 PyObject
*resultobj
;
36093 wxSizer
*arg1
= (wxSizer
*) 0 ;
36094 wxWindow
*arg2
= (wxWindow
*) 0 ;
36095 PyObject
* obj0
= 0 ;
36096 PyObject
* obj1
= 0 ;
36097 char *kwnames
[] = {
36098 (char *) "self",(char *) "window", NULL
36101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36108 (arg1
)->SetSizeHints(arg2
);
36110 wxPyEndAllowThreads(__tstate
);
36111 if (PyErr_Occurred()) SWIG_fail
;
36113 Py_INCREF(Py_None
); resultobj
= Py_None
;
36120 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36121 PyObject
*resultobj
;
36122 wxSizer
*arg1
= (wxSizer
*) 0 ;
36123 wxWindow
*arg2
= (wxWindow
*) 0 ;
36124 PyObject
* obj0
= 0 ;
36125 PyObject
* obj1
= 0 ;
36126 char *kwnames
[] = {
36127 (char *) "self",(char *) "window", NULL
36130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36137 (arg1
)->SetVirtualSizeHints(arg2
);
36139 wxPyEndAllowThreads(__tstate
);
36140 if (PyErr_Occurred()) SWIG_fail
;
36142 Py_INCREF(Py_None
); resultobj
= Py_None
;
36149 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36150 PyObject
*resultobj
;
36151 wxSizer
*arg1
= (wxSizer
*) 0 ;
36152 bool arg2
= (bool) False
;
36153 PyObject
* obj0
= 0 ;
36154 PyObject
* obj1
= 0 ;
36155 char *kwnames
[] = {
36156 (char *) "self",(char *) "deleteWindows", NULL
36159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36163 arg2
= (bool)SWIG_As_bool(obj1
);
36164 if (PyErr_Occurred()) SWIG_fail
;
36167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36168 (arg1
)->Clear(arg2
);
36170 wxPyEndAllowThreads(__tstate
);
36171 if (PyErr_Occurred()) SWIG_fail
;
36173 Py_INCREF(Py_None
); resultobj
= Py_None
;
36180 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36181 PyObject
*resultobj
;
36182 wxSizer
*arg1
= (wxSizer
*) 0 ;
36183 PyObject
* obj0
= 0 ;
36184 char *kwnames
[] = {
36185 (char *) "self", NULL
36188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36193 (arg1
)->DeleteWindows();
36195 wxPyEndAllowThreads(__tstate
);
36196 if (PyErr_Occurred()) SWIG_fail
;
36198 Py_INCREF(Py_None
); resultobj
= Py_None
;
36205 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36206 PyObject
*resultobj
;
36207 wxSizer
*arg1
= (wxSizer
*) 0 ;
36209 PyObject
* obj0
= 0 ;
36210 char *kwnames
[] = {
36211 (char *) "self", NULL
36214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36219 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36221 wxPyEndAllowThreads(__tstate
);
36222 if (PyErr_Occurred()) SWIG_fail
;
36224 resultobj
= result
;
36231 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36232 PyObject
*resultobj
;
36233 wxSizer
*arg1
= (wxSizer
*) 0 ;
36234 PyObject
*arg2
= (PyObject
*) 0 ;
36235 bool arg3
= (bool) True
;
36236 bool arg4
= (bool) False
;
36238 PyObject
* obj0
= 0 ;
36239 PyObject
* obj1
= 0 ;
36240 PyObject
* obj2
= 0 ;
36241 PyObject
* obj3
= 0 ;
36242 char *kwnames
[] = {
36243 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36251 arg3
= (bool)SWIG_As_bool(obj2
);
36252 if (PyErr_Occurred()) SWIG_fail
;
36255 arg4
= (bool)SWIG_As_bool(obj3
);
36256 if (PyErr_Occurred()) SWIG_fail
;
36259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36260 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36262 wxPyEndAllowThreads(__tstate
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36274 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36275 PyObject
*resultobj
;
36276 wxSizer
*arg1
= (wxSizer
*) 0 ;
36277 PyObject
*arg2
= (PyObject
*) 0 ;
36279 PyObject
* obj0
= 0 ;
36280 PyObject
* obj1
= 0 ;
36281 char *kwnames
[] = {
36282 (char *) "self",(char *) "item", NULL
36285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36293 wxPyEndAllowThreads(__tstate
);
36294 if (PyErr_Occurred()) SWIG_fail
;
36297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36305 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36306 PyObject
*resultobj
;
36307 wxSizer
*arg1
= (wxSizer
*) 0 ;
36309 PyObject
* obj0
= 0 ;
36310 PyObject
* obj1
= 0 ;
36311 char *kwnames
[] = {
36312 (char *) "self",(char *) "show", NULL
36315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36318 arg2
= (bool)SWIG_As_bool(obj1
);
36319 if (PyErr_Occurred()) SWIG_fail
;
36321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36322 (arg1
)->ShowItems(arg2
);
36324 wxPyEndAllowThreads(__tstate
);
36325 if (PyErr_Occurred()) SWIG_fail
;
36327 Py_INCREF(Py_None
); resultobj
= Py_None
;
36334 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36337 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36339 return Py_BuildValue((char *)"");
36341 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36342 PyObject
*resultobj
;
36344 char *kwnames
[] = {
36348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36351 result
= (wxPySizer
*)new wxPySizer();
36353 wxPyEndAllowThreads(__tstate
);
36354 if (PyErr_Occurred()) SWIG_fail
;
36356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36363 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36364 PyObject
*resultobj
;
36365 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36366 PyObject
*arg2
= (PyObject
*) 0 ;
36367 PyObject
*arg3
= (PyObject
*) 0 ;
36368 PyObject
* obj0
= 0 ;
36369 PyObject
* obj1
= 0 ;
36370 PyObject
* obj2
= 0 ;
36371 char *kwnames
[] = {
36372 (char *) "self",(char *) "self",(char *) "_class", NULL
36375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36384 wxPyEndAllowThreads(__tstate
);
36385 if (PyErr_Occurred()) SWIG_fail
;
36387 Py_INCREF(Py_None
); resultobj
= Py_None
;
36394 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36397 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36399 return Py_BuildValue((char *)"");
36401 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36402 PyObject
*resultobj
;
36403 int arg1
= (int) wxHORIZONTAL
;
36404 wxBoxSizer
*result
;
36405 PyObject
* obj0
= 0 ;
36406 char *kwnames
[] = {
36407 (char *) "orient", NULL
36410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36412 arg1
= (int)SWIG_As_int(obj0
);
36413 if (PyErr_Occurred()) SWIG_fail
;
36416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36417 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36419 wxPyEndAllowThreads(__tstate
);
36420 if (PyErr_Occurred()) SWIG_fail
;
36422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36429 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36430 PyObject
*resultobj
;
36431 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36433 PyObject
* obj0
= 0 ;
36434 char *kwnames
[] = {
36435 (char *) "self", NULL
36438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36443 result
= (int)(arg1
)->GetOrientation();
36445 wxPyEndAllowThreads(__tstate
);
36446 if (PyErr_Occurred()) SWIG_fail
;
36448 resultobj
= SWIG_From_int((int)result
);
36455 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36456 PyObject
*resultobj
;
36457 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36459 PyObject
* obj0
= 0 ;
36460 PyObject
* obj1
= 0 ;
36461 char *kwnames
[] = {
36462 (char *) "self",(char *) "orient", NULL
36465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36468 arg2
= (int)SWIG_As_int(obj1
);
36469 if (PyErr_Occurred()) SWIG_fail
;
36471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36472 (arg1
)->SetOrientation(arg2
);
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36477 Py_INCREF(Py_None
); resultobj
= Py_None
;
36484 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36487 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36489 return Py_BuildValue((char *)"");
36491 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36492 PyObject
*resultobj
;
36493 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36494 int arg2
= (int) wxHORIZONTAL
;
36495 wxStaticBoxSizer
*result
;
36496 PyObject
* obj0
= 0 ;
36497 PyObject
* obj1
= 0 ;
36498 char *kwnames
[] = {
36499 (char *) "box",(char *) "orient", NULL
36502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36506 arg2
= (int)SWIG_As_int(obj1
);
36507 if (PyErr_Occurred()) SWIG_fail
;
36510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36511 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36523 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
;
36525 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36526 wxStaticBox
*result
;
36527 PyObject
* obj0
= 0 ;
36528 char *kwnames
[] = {
36529 (char *) "self", NULL
36532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36537 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36539 wxPyEndAllowThreads(__tstate
);
36540 if (PyErr_Occurred()) SWIG_fail
;
36543 resultobj
= wxPyMake_wxObject(result
, 0);
36551 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36554 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36556 return Py_BuildValue((char *)"");
36558 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36559 PyObject
*resultobj
;
36560 int arg1
= (int) 1 ;
36561 int arg2
= (int) 0 ;
36562 int arg3
= (int) 0 ;
36563 int arg4
= (int) 0 ;
36564 wxGridSizer
*result
;
36565 PyObject
* obj0
= 0 ;
36566 PyObject
* obj1
= 0 ;
36567 PyObject
* obj2
= 0 ;
36568 PyObject
* obj3
= 0 ;
36569 char *kwnames
[] = {
36570 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36575 arg1
= (int)SWIG_As_int(obj0
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36579 arg2
= (int)SWIG_As_int(obj1
);
36580 if (PyErr_Occurred()) SWIG_fail
;
36583 arg3
= (int)SWIG_As_int(obj2
);
36584 if (PyErr_Occurred()) SWIG_fail
;
36587 arg4
= (int)SWIG_As_int(obj3
);
36588 if (PyErr_Occurred()) SWIG_fail
;
36591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36592 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36594 wxPyEndAllowThreads(__tstate
);
36595 if (PyErr_Occurred()) SWIG_fail
;
36597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36604 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36605 PyObject
*resultobj
;
36606 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36608 PyObject
* obj0
= 0 ;
36609 PyObject
* obj1
= 0 ;
36610 char *kwnames
[] = {
36611 (char *) "self",(char *) "cols", NULL
36614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36617 arg2
= (int)SWIG_As_int(obj1
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36621 (arg1
)->SetCols(arg2
);
36623 wxPyEndAllowThreads(__tstate
);
36624 if (PyErr_Occurred()) SWIG_fail
;
36626 Py_INCREF(Py_None
); resultobj
= Py_None
;
36633 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36634 PyObject
*resultobj
;
36635 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36637 PyObject
* obj0
= 0 ;
36638 PyObject
* obj1
= 0 ;
36639 char *kwnames
[] = {
36640 (char *) "self",(char *) "rows", NULL
36643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36646 arg2
= (int)SWIG_As_int(obj1
);
36647 if (PyErr_Occurred()) SWIG_fail
;
36649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36650 (arg1
)->SetRows(arg2
);
36652 wxPyEndAllowThreads(__tstate
);
36653 if (PyErr_Occurred()) SWIG_fail
;
36655 Py_INCREF(Py_None
); resultobj
= Py_None
;
36662 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36663 PyObject
*resultobj
;
36664 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36666 PyObject
* obj0
= 0 ;
36667 PyObject
* obj1
= 0 ;
36668 char *kwnames
[] = {
36669 (char *) "self",(char *) "gap", NULL
36672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36675 arg2
= (int)SWIG_As_int(obj1
);
36676 if (PyErr_Occurred()) SWIG_fail
;
36678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36679 (arg1
)->SetVGap(arg2
);
36681 wxPyEndAllowThreads(__tstate
);
36682 if (PyErr_Occurred()) SWIG_fail
;
36684 Py_INCREF(Py_None
); resultobj
= Py_None
;
36691 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36692 PyObject
*resultobj
;
36693 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36695 PyObject
* obj0
= 0 ;
36696 PyObject
* obj1
= 0 ;
36697 char *kwnames
[] = {
36698 (char *) "self",(char *) "gap", NULL
36701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36704 arg2
= (int)SWIG_As_int(obj1
);
36705 if (PyErr_Occurred()) SWIG_fail
;
36707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36708 (arg1
)->SetHGap(arg2
);
36710 wxPyEndAllowThreads(__tstate
);
36711 if (PyErr_Occurred()) SWIG_fail
;
36713 Py_INCREF(Py_None
); resultobj
= Py_None
;
36720 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36721 PyObject
*resultobj
;
36722 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36724 PyObject
* obj0
= 0 ;
36725 char *kwnames
[] = {
36726 (char *) "self", NULL
36729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36734 result
= (int)(arg1
)->GetCols();
36736 wxPyEndAllowThreads(__tstate
);
36737 if (PyErr_Occurred()) SWIG_fail
;
36739 resultobj
= SWIG_From_int((int)result
);
36746 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36747 PyObject
*resultobj
;
36748 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36750 PyObject
* obj0
= 0 ;
36751 char *kwnames
[] = {
36752 (char *) "self", NULL
36755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36760 result
= (int)(arg1
)->GetRows();
36762 wxPyEndAllowThreads(__tstate
);
36763 if (PyErr_Occurred()) SWIG_fail
;
36765 resultobj
= SWIG_From_int((int)result
);
36772 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36773 PyObject
*resultobj
;
36774 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36776 PyObject
* obj0
= 0 ;
36777 char *kwnames
[] = {
36778 (char *) "self", NULL
36781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36786 result
= (int)(arg1
)->GetVGap();
36788 wxPyEndAllowThreads(__tstate
);
36789 if (PyErr_Occurred()) SWIG_fail
;
36791 resultobj
= SWIG_From_int((int)result
);
36798 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36799 PyObject
*resultobj
;
36800 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36802 PyObject
* obj0
= 0 ;
36803 char *kwnames
[] = {
36804 (char *) "self", NULL
36807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36812 result
= (int)(arg1
)->GetHGap();
36814 wxPyEndAllowThreads(__tstate
);
36815 if (PyErr_Occurred()) SWIG_fail
;
36817 resultobj
= SWIG_From_int((int)result
);
36824 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
36826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36827 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36829 return Py_BuildValue((char *)"");
36831 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36832 PyObject
*resultobj
;
36833 int arg1
= (int) 1 ;
36834 int arg2
= (int) 0 ;
36835 int arg3
= (int) 0 ;
36836 int arg4
= (int) 0 ;
36837 wxFlexGridSizer
*result
;
36838 PyObject
* obj0
= 0 ;
36839 PyObject
* obj1
= 0 ;
36840 PyObject
* obj2
= 0 ;
36841 PyObject
* obj3
= 0 ;
36842 char *kwnames
[] = {
36843 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36848 arg1
= (int)SWIG_As_int(obj0
);
36849 if (PyErr_Occurred()) SWIG_fail
;
36852 arg2
= (int)SWIG_As_int(obj1
);
36853 if (PyErr_Occurred()) SWIG_fail
;
36856 arg3
= (int)SWIG_As_int(obj2
);
36857 if (PyErr_Occurred()) SWIG_fail
;
36860 arg4
= (int)SWIG_As_int(obj3
);
36861 if (PyErr_Occurred()) SWIG_fail
;
36864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36865 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36867 wxPyEndAllowThreads(__tstate
);
36868 if (PyErr_Occurred()) SWIG_fail
;
36870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36877 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36878 PyObject
*resultobj
;
36879 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36881 int arg3
= (int) 0 ;
36882 PyObject
* obj0
= 0 ;
36883 PyObject
* obj1
= 0 ;
36884 PyObject
* obj2
= 0 ;
36885 char *kwnames
[] = {
36886 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36892 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36893 if (PyErr_Occurred()) SWIG_fail
;
36895 arg3
= (int)SWIG_As_int(obj2
);
36896 if (PyErr_Occurred()) SWIG_fail
;
36899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36900 (arg1
)->AddGrowableRow(arg2
,arg3
);
36902 wxPyEndAllowThreads(__tstate
);
36903 if (PyErr_Occurred()) SWIG_fail
;
36905 Py_INCREF(Py_None
); resultobj
= Py_None
;
36912 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36913 PyObject
*resultobj
;
36914 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36916 PyObject
* obj0
= 0 ;
36917 PyObject
* obj1
= 0 ;
36918 char *kwnames
[] = {
36919 (char *) "self",(char *) "idx", NULL
36922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36925 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36926 if (PyErr_Occurred()) SWIG_fail
;
36928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36929 (arg1
)->RemoveGrowableRow(arg2
);
36931 wxPyEndAllowThreads(__tstate
);
36932 if (PyErr_Occurred()) SWIG_fail
;
36934 Py_INCREF(Py_None
); resultobj
= Py_None
;
36941 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36942 PyObject
*resultobj
;
36943 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36945 int arg3
= (int) 0 ;
36946 PyObject
* obj0
= 0 ;
36947 PyObject
* obj1
= 0 ;
36948 PyObject
* obj2
= 0 ;
36949 char *kwnames
[] = {
36950 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36956 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36959 arg3
= (int)SWIG_As_int(obj2
);
36960 if (PyErr_Occurred()) SWIG_fail
;
36963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36964 (arg1
)->AddGrowableCol(arg2
,arg3
);
36966 wxPyEndAllowThreads(__tstate
);
36967 if (PyErr_Occurred()) SWIG_fail
;
36969 Py_INCREF(Py_None
); resultobj
= Py_None
;
36976 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36977 PyObject
*resultobj
;
36978 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36980 PyObject
* obj0
= 0 ;
36981 PyObject
* obj1
= 0 ;
36982 char *kwnames
[] = {
36983 (char *) "self",(char *) "idx", NULL
36986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36989 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36990 if (PyErr_Occurred()) SWIG_fail
;
36992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36993 (arg1
)->RemoveGrowableCol(arg2
);
36995 wxPyEndAllowThreads(__tstate
);
36996 if (PyErr_Occurred()) SWIG_fail
;
36998 Py_INCREF(Py_None
); resultobj
= Py_None
;
37005 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37006 PyObject
*resultobj
;
37007 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37009 PyObject
* obj0
= 0 ;
37010 PyObject
* obj1
= 0 ;
37011 char *kwnames
[] = {
37012 (char *) "self",(char *) "direction", NULL
37015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37018 arg2
= (int)SWIG_As_int(obj1
);
37019 if (PyErr_Occurred()) SWIG_fail
;
37021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37022 (arg1
)->SetFlexibleDirection(arg2
);
37024 wxPyEndAllowThreads(__tstate
);
37025 if (PyErr_Occurred()) SWIG_fail
;
37027 Py_INCREF(Py_None
); resultobj
= Py_None
;
37034 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37035 PyObject
*resultobj
;
37036 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37038 PyObject
* obj0
= 0 ;
37039 char *kwnames
[] = {
37040 (char *) "self", NULL
37043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37048 result
= (int)(arg1
)->GetFlexibleDirection();
37050 wxPyEndAllowThreads(__tstate
);
37051 if (PyErr_Occurred()) SWIG_fail
;
37053 resultobj
= SWIG_From_int((int)result
);
37060 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37061 PyObject
*resultobj
;
37062 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37064 PyObject
* obj0
= 0 ;
37065 PyObject
* obj1
= 0 ;
37066 char *kwnames
[] = {
37067 (char *) "self",(char *) "mode", NULL
37070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37073 arg2
= (int)SWIG_As_int(obj1
);
37074 if (PyErr_Occurred()) SWIG_fail
;
37076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37077 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37079 wxPyEndAllowThreads(__tstate
);
37080 if (PyErr_Occurred()) SWIG_fail
;
37082 Py_INCREF(Py_None
); resultobj
= Py_None
;
37089 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37090 PyObject
*resultobj
;
37091 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37093 PyObject
* obj0
= 0 ;
37094 char *kwnames
[] = {
37095 (char *) "self", NULL
37098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37103 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37105 wxPyEndAllowThreads(__tstate
);
37106 if (PyErr_Occurred()) SWIG_fail
;
37108 resultobj
= SWIG_From_int((int)result
);
37115 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37116 PyObject
*resultobj
;
37117 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37118 wxArrayInt
*result
;
37119 PyObject
* obj0
= 0 ;
37120 char *kwnames
[] = {
37121 (char *) "self", NULL
37124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37130 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37131 result
= (wxArrayInt
*) &_result_ref
;
37134 wxPyEndAllowThreads(__tstate
);
37135 if (PyErr_Occurred()) SWIG_fail
;
37138 resultobj
= PyList_New(0);
37140 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37141 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37142 PyList_Append(resultobj
, val
);
37152 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37153 PyObject
*resultobj
;
37154 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37155 wxArrayInt
*result
;
37156 PyObject
* obj0
= 0 ;
37157 char *kwnames
[] = {
37158 (char *) "self", NULL
37161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37167 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37168 result
= (wxArrayInt
*) &_result_ref
;
37171 wxPyEndAllowThreads(__tstate
);
37172 if (PyErr_Occurred()) SWIG_fail
;
37175 resultobj
= PyList_New(0);
37177 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37178 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37179 PyList_Append(resultobj
, val
);
37189 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37192 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37194 return Py_BuildValue((char *)"");
37196 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37197 PyObject
*resultobj
;
37198 int arg1
= (int) 0 ;
37199 int arg2
= (int) 0 ;
37200 wxGBPosition
*result
;
37201 PyObject
* obj0
= 0 ;
37202 PyObject
* obj1
= 0 ;
37203 char *kwnames
[] = {
37204 (char *) "row",(char *) "col", NULL
37207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37209 arg1
= (int)SWIG_As_int(obj0
);
37210 if (PyErr_Occurred()) SWIG_fail
;
37213 arg2
= (int)SWIG_As_int(obj1
);
37214 if (PyErr_Occurred()) SWIG_fail
;
37217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37218 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37220 wxPyEndAllowThreads(__tstate
);
37221 if (PyErr_Occurred()) SWIG_fail
;
37223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37230 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37231 PyObject
*resultobj
;
37232 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37234 PyObject
* obj0
= 0 ;
37235 char *kwnames
[] = {
37236 (char *) "self", NULL
37239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37244 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37246 wxPyEndAllowThreads(__tstate
);
37247 if (PyErr_Occurred()) SWIG_fail
;
37249 resultobj
= SWIG_From_int((int)result
);
37256 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37257 PyObject
*resultobj
;
37258 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37260 PyObject
* obj0
= 0 ;
37261 char *kwnames
[] = {
37262 (char *) "self", NULL
37265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37270 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37272 wxPyEndAllowThreads(__tstate
);
37273 if (PyErr_Occurred()) SWIG_fail
;
37275 resultobj
= SWIG_From_int((int)result
);
37282 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37283 PyObject
*resultobj
;
37284 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37286 PyObject
* obj0
= 0 ;
37287 PyObject
* obj1
= 0 ;
37288 char *kwnames
[] = {
37289 (char *) "self",(char *) "row", NULL
37292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37295 arg2
= (int)SWIG_As_int(obj1
);
37296 if (PyErr_Occurred()) SWIG_fail
;
37298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37299 (arg1
)->SetRow(arg2
);
37301 wxPyEndAllowThreads(__tstate
);
37302 if (PyErr_Occurred()) SWIG_fail
;
37304 Py_INCREF(Py_None
); resultobj
= Py_None
;
37311 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37312 PyObject
*resultobj
;
37313 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37315 PyObject
* obj0
= 0 ;
37316 PyObject
* obj1
= 0 ;
37317 char *kwnames
[] = {
37318 (char *) "self",(char *) "col", NULL
37321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37324 arg2
= (int)SWIG_As_int(obj1
);
37325 if (PyErr_Occurred()) SWIG_fail
;
37327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37328 (arg1
)->SetCol(arg2
);
37330 wxPyEndAllowThreads(__tstate
);
37331 if (PyErr_Occurred()) SWIG_fail
;
37333 Py_INCREF(Py_None
); resultobj
= Py_None
;
37340 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37341 PyObject
*resultobj
;
37342 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37343 wxGBPosition
*arg2
= 0 ;
37345 wxGBPosition temp2
;
37346 PyObject
* obj0
= 0 ;
37347 PyObject
* obj1
= 0 ;
37348 char *kwnames
[] = {
37349 (char *) "self",(char *) "other", NULL
37352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37357 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37361 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37363 wxPyEndAllowThreads(__tstate
);
37364 if (PyErr_Occurred()) SWIG_fail
;
37367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37375 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37376 PyObject
*resultobj
;
37377 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37378 wxGBPosition
*arg2
= 0 ;
37380 wxGBPosition temp2
;
37381 PyObject
* obj0
= 0 ;
37382 PyObject
* obj1
= 0 ;
37383 char *kwnames
[] = {
37384 (char *) "self",(char *) "other", NULL
37387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37392 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37396 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37398 wxPyEndAllowThreads(__tstate
);
37399 if (PyErr_Occurred()) SWIG_fail
;
37402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37410 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37411 PyObject
*resultobj
;
37412 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37413 int arg2
= (int) 0 ;
37414 int arg3
= (int) 0 ;
37415 PyObject
* obj0
= 0 ;
37416 PyObject
* obj1
= 0 ;
37417 PyObject
* obj2
= 0 ;
37418 char *kwnames
[] = {
37419 (char *) "self",(char *) "row",(char *) "col", NULL
37422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37426 arg2
= (int)SWIG_As_int(obj1
);
37427 if (PyErr_Occurred()) SWIG_fail
;
37430 arg3
= (int)SWIG_As_int(obj2
);
37431 if (PyErr_Occurred()) SWIG_fail
;
37434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37435 wxGBPosition_Set(arg1
,arg2
,arg3
);
37437 wxPyEndAllowThreads(__tstate
);
37438 if (PyErr_Occurred()) SWIG_fail
;
37440 Py_INCREF(Py_None
); resultobj
= Py_None
;
37447 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37448 PyObject
*resultobj
;
37449 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37451 PyObject
* obj0
= 0 ;
37452 char *kwnames
[] = {
37453 (char *) "self", NULL
37456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37461 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37463 wxPyEndAllowThreads(__tstate
);
37464 if (PyErr_Occurred()) SWIG_fail
;
37466 resultobj
= result
;
37473 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37476 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37478 return Py_BuildValue((char *)"");
37480 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37481 PyObject
*resultobj
;
37482 int arg1
= (int) 1 ;
37483 int arg2
= (int) 1 ;
37485 PyObject
* obj0
= 0 ;
37486 PyObject
* obj1
= 0 ;
37487 char *kwnames
[] = {
37488 (char *) "rowspan",(char *) "colspan", NULL
37491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37493 arg1
= (int)SWIG_As_int(obj0
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37497 arg2
= (int)SWIG_As_int(obj1
);
37498 if (PyErr_Occurred()) SWIG_fail
;
37501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37502 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37504 wxPyEndAllowThreads(__tstate
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37514 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37515 PyObject
*resultobj
;
37516 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37518 PyObject
* obj0
= 0 ;
37519 char *kwnames
[] = {
37520 (char *) "self", NULL
37523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37528 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37530 wxPyEndAllowThreads(__tstate
);
37531 if (PyErr_Occurred()) SWIG_fail
;
37533 resultobj
= SWIG_From_int((int)result
);
37540 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37541 PyObject
*resultobj
;
37542 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37544 PyObject
* obj0
= 0 ;
37545 char *kwnames
[] = {
37546 (char *) "self", NULL
37549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37554 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37556 wxPyEndAllowThreads(__tstate
);
37557 if (PyErr_Occurred()) SWIG_fail
;
37559 resultobj
= SWIG_From_int((int)result
);
37566 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37567 PyObject
*resultobj
;
37568 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37570 PyObject
* obj0
= 0 ;
37571 PyObject
* obj1
= 0 ;
37572 char *kwnames
[] = {
37573 (char *) "self",(char *) "rowspan", NULL
37576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37579 arg2
= (int)SWIG_As_int(obj1
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37583 (arg1
)->SetRowspan(arg2
);
37585 wxPyEndAllowThreads(__tstate
);
37586 if (PyErr_Occurred()) SWIG_fail
;
37588 Py_INCREF(Py_None
); resultobj
= Py_None
;
37595 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37596 PyObject
*resultobj
;
37597 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37599 PyObject
* obj0
= 0 ;
37600 PyObject
* obj1
= 0 ;
37601 char *kwnames
[] = {
37602 (char *) "self",(char *) "colspan", NULL
37605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37608 arg2
= (int)SWIG_As_int(obj1
);
37609 if (PyErr_Occurred()) SWIG_fail
;
37611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37612 (arg1
)->SetColspan(arg2
);
37614 wxPyEndAllowThreads(__tstate
);
37615 if (PyErr_Occurred()) SWIG_fail
;
37617 Py_INCREF(Py_None
); resultobj
= Py_None
;
37624 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37625 PyObject
*resultobj
;
37626 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37627 wxGBSpan
*arg2
= 0 ;
37630 PyObject
* obj0
= 0 ;
37631 PyObject
* obj1
= 0 ;
37632 char *kwnames
[] = {
37633 (char *) "self",(char *) "other", NULL
37636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37641 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37645 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37647 wxPyEndAllowThreads(__tstate
);
37648 if (PyErr_Occurred()) SWIG_fail
;
37651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37659 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37660 PyObject
*resultobj
;
37661 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37662 wxGBSpan
*arg2
= 0 ;
37665 PyObject
* obj0
= 0 ;
37666 PyObject
* obj1
= 0 ;
37667 char *kwnames
[] = {
37668 (char *) "self",(char *) "other", NULL
37671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37676 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37680 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37682 wxPyEndAllowThreads(__tstate
);
37683 if (PyErr_Occurred()) SWIG_fail
;
37686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37694 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37695 PyObject
*resultobj
;
37696 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37697 int arg2
= (int) 1 ;
37698 int arg3
= (int) 1 ;
37699 PyObject
* obj0
= 0 ;
37700 PyObject
* obj1
= 0 ;
37701 PyObject
* obj2
= 0 ;
37702 char *kwnames
[] = {
37703 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37710 arg2
= (int)SWIG_As_int(obj1
);
37711 if (PyErr_Occurred()) SWIG_fail
;
37714 arg3
= (int)SWIG_As_int(obj2
);
37715 if (PyErr_Occurred()) SWIG_fail
;
37718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37719 wxGBSpan_Set(arg1
,arg2
,arg3
);
37721 wxPyEndAllowThreads(__tstate
);
37722 if (PyErr_Occurred()) SWIG_fail
;
37724 Py_INCREF(Py_None
); resultobj
= Py_None
;
37731 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37732 PyObject
*resultobj
;
37733 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37735 PyObject
* obj0
= 0 ;
37736 char *kwnames
[] = {
37737 (char *) "self", NULL
37740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37745 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37747 wxPyEndAllowThreads(__tstate
);
37748 if (PyErr_Occurred()) SWIG_fail
;
37750 resultobj
= result
;
37757 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
37759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37760 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37762 return Py_BuildValue((char *)"");
37764 static int _wrap_DefaultSpan_set(PyObject
*) {
37765 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37770 static PyObject
*_wrap_DefaultSpan_get() {
37773 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37778 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37779 PyObject
*resultobj
;
37780 wxGBSizerItem
*result
;
37781 char *kwnames
[] = {
37785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37788 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37790 wxPyEndAllowThreads(__tstate
);
37791 if (PyErr_Occurred()) SWIG_fail
;
37793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37800 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37801 PyObject
*resultobj
;
37802 wxWindow
*arg1
= (wxWindow
*) 0 ;
37803 wxGBPosition
*arg2
= 0 ;
37804 wxGBSpan
*arg3
= 0 ;
37807 PyObject
*arg6
= (PyObject
*) NULL
;
37808 wxGBSizerItem
*result
;
37809 wxGBPosition temp2
;
37811 PyObject
* obj0
= 0 ;
37812 PyObject
* obj1
= 0 ;
37813 PyObject
* obj2
= 0 ;
37814 PyObject
* obj3
= 0 ;
37815 PyObject
* obj4
= 0 ;
37816 PyObject
* obj5
= 0 ;
37817 char *kwnames
[] = {
37818 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37826 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37830 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37832 arg4
= (int)SWIG_As_int(obj3
);
37833 if (PyErr_Occurred()) SWIG_fail
;
37834 arg5
= (int)SWIG_As_int(obj4
);
37835 if (PyErr_Occurred()) SWIG_fail
;
37840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37841 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37843 wxPyEndAllowThreads(__tstate
);
37844 if (PyErr_Occurred()) SWIG_fail
;
37846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37853 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37854 PyObject
*resultobj
;
37855 wxSizer
*arg1
= (wxSizer
*) 0 ;
37856 wxGBPosition
*arg2
= 0 ;
37857 wxGBSpan
*arg3
= 0 ;
37860 PyObject
*arg6
= (PyObject
*) NULL
;
37861 wxGBSizerItem
*result
;
37862 wxGBPosition temp2
;
37864 PyObject
* obj0
= 0 ;
37865 PyObject
* obj1
= 0 ;
37866 PyObject
* obj2
= 0 ;
37867 PyObject
* obj3
= 0 ;
37868 PyObject
* obj4
= 0 ;
37869 PyObject
* obj5
= 0 ;
37870 char *kwnames
[] = {
37871 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37879 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37883 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37885 arg4
= (int)SWIG_As_int(obj3
);
37886 if (PyErr_Occurred()) SWIG_fail
;
37887 arg5
= (int)SWIG_As_int(obj4
);
37888 if (PyErr_Occurred()) SWIG_fail
;
37893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37894 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37896 wxPyEndAllowThreads(__tstate
);
37897 if (PyErr_Occurred()) SWIG_fail
;
37899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37906 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37907 PyObject
*resultobj
;
37910 wxGBPosition
*arg3
= 0 ;
37911 wxGBSpan
*arg4
= 0 ;
37914 PyObject
*arg7
= (PyObject
*) NULL
;
37915 wxGBSizerItem
*result
;
37916 wxGBPosition temp3
;
37918 PyObject
* obj0
= 0 ;
37919 PyObject
* obj1
= 0 ;
37920 PyObject
* obj2
= 0 ;
37921 PyObject
* obj3
= 0 ;
37922 PyObject
* obj4
= 0 ;
37923 PyObject
* obj5
= 0 ;
37924 PyObject
* obj6
= 0 ;
37925 char *kwnames
[] = {
37926 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37930 arg1
= (int)SWIG_As_int(obj0
);
37931 if (PyErr_Occurred()) SWIG_fail
;
37932 arg2
= (int)SWIG_As_int(obj1
);
37933 if (PyErr_Occurred()) SWIG_fail
;
37936 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37940 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37942 arg5
= (int)SWIG_As_int(obj4
);
37943 if (PyErr_Occurred()) SWIG_fail
;
37944 arg6
= (int)SWIG_As_int(obj5
);
37945 if (PyErr_Occurred()) SWIG_fail
;
37950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37951 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37953 wxPyEndAllowThreads(__tstate
);
37954 if (PyErr_Occurred()) SWIG_fail
;
37956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37963 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37964 PyObject
*resultobj
;
37965 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37966 wxGBPosition result
;
37967 PyObject
* obj0
= 0 ;
37968 char *kwnames
[] = {
37969 (char *) "self", NULL
37972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37977 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37979 wxPyEndAllowThreads(__tstate
);
37980 if (PyErr_Occurred()) SWIG_fail
;
37983 wxGBPosition
* resultptr
;
37984 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37993 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37994 PyObject
*resultobj
;
37995 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37997 PyObject
* obj0
= 0 ;
37998 char *kwnames
[] = {
37999 (char *) "self", NULL
38002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38007 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38009 wxPyEndAllowThreads(__tstate
);
38010 if (PyErr_Occurred()) SWIG_fail
;
38013 wxGBSpan
* resultptr
;
38014 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38023 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38024 PyObject
*resultobj
;
38025 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38026 wxGBPosition
*arg2
= 0 ;
38028 wxGBPosition temp2
;
38029 PyObject
* obj0
= 0 ;
38030 PyObject
* obj1
= 0 ;
38031 char *kwnames
[] = {
38032 (char *) "self",(char *) "pos", NULL
38035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38040 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38044 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38046 wxPyEndAllowThreads(__tstate
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38058 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38059 PyObject
*resultobj
;
38060 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38061 wxGBSpan
*arg2
= 0 ;
38064 PyObject
* obj0
= 0 ;
38065 PyObject
* obj1
= 0 ;
38066 char *kwnames
[] = {
38067 (char *) "self",(char *) "span", NULL
38070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38075 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38079 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38081 wxPyEndAllowThreads(__tstate
);
38082 if (PyErr_Occurred()) SWIG_fail
;
38085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38093 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38094 PyObject
*resultobj
;
38095 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38096 wxGBSizerItem
*arg2
= 0 ;
38098 PyObject
* obj0
= 0 ;
38099 PyObject
* obj1
= 0 ;
38100 char *kwnames
[] = {
38101 (char *) "self",(char *) "other", NULL
38104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38110 if (arg2
== NULL
) {
38111 PyErr_SetString(PyExc_TypeError
,"null reference");
38115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38116 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38118 wxPyEndAllowThreads(__tstate
);
38119 if (PyErr_Occurred()) SWIG_fail
;
38122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38130 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38131 PyObject
*resultobj
;
38132 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38133 wxGBPosition
*arg2
= 0 ;
38134 wxGBSpan
*arg3
= 0 ;
38136 wxGBPosition temp2
;
38138 PyObject
* obj0
= 0 ;
38139 PyObject
* obj1
= 0 ;
38140 PyObject
* obj2
= 0 ;
38141 char *kwnames
[] = {
38142 (char *) "self",(char *) "pos",(char *) "span", NULL
38145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38150 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38154 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38158 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38160 wxPyEndAllowThreads(__tstate
);
38161 if (PyErr_Occurred()) SWIG_fail
;
38164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38172 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38173 PyObject
*resultobj
;
38174 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38175 wxGBPosition result
;
38176 PyObject
* obj0
= 0 ;
38177 char *kwnames
[] = {
38178 (char *) "self", NULL
38181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38186 result
= wxGBSizerItem_GetEndPos(arg1
);
38188 wxPyEndAllowThreads(__tstate
);
38189 if (PyErr_Occurred()) SWIG_fail
;
38192 wxGBPosition
* resultptr
;
38193 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38202 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38203 PyObject
*resultobj
;
38204 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38205 wxGridBagSizer
*result
;
38206 PyObject
* obj0
= 0 ;
38207 char *kwnames
[] = {
38208 (char *) "self", NULL
38211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38216 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38218 wxPyEndAllowThreads(__tstate
);
38219 if (PyErr_Occurred()) SWIG_fail
;
38221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38228 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38229 PyObject
*resultobj
;
38230 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38231 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38232 PyObject
* obj0
= 0 ;
38233 PyObject
* obj1
= 0 ;
38234 char *kwnames
[] = {
38235 (char *) "self",(char *) "sizer", NULL
38238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38245 (arg1
)->SetGBSizer(arg2
);
38247 wxPyEndAllowThreads(__tstate
);
38248 if (PyErr_Occurred()) SWIG_fail
;
38250 Py_INCREF(Py_None
); resultobj
= Py_None
;
38257 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38260 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38262 return Py_BuildValue((char *)"");
38264 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38265 PyObject
*resultobj
;
38266 int arg1
= (int) 0 ;
38267 int arg2
= (int) 0 ;
38268 wxGridBagSizer
*result
;
38269 PyObject
* obj0
= 0 ;
38270 PyObject
* obj1
= 0 ;
38271 char *kwnames
[] = {
38272 (char *) "vgap",(char *) "hgap", NULL
38275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38277 arg1
= (int)SWIG_As_int(obj0
);
38278 if (PyErr_Occurred()) SWIG_fail
;
38281 arg2
= (int)SWIG_As_int(obj1
);
38282 if (PyErr_Occurred()) SWIG_fail
;
38285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38286 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38288 wxPyEndAllowThreads(__tstate
);
38289 if (PyErr_Occurred()) SWIG_fail
;
38291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38298 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38299 PyObject
*resultobj
;
38300 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38301 PyObject
*arg2
= (PyObject
*) 0 ;
38302 wxGBPosition
*arg3
= 0 ;
38303 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38304 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38305 int arg5
= (int) 0 ;
38306 int arg6
= (int) 0 ;
38307 PyObject
*arg7
= (PyObject
*) NULL
;
38309 wxGBPosition temp3
;
38311 PyObject
* obj0
= 0 ;
38312 PyObject
* obj1
= 0 ;
38313 PyObject
* obj2
= 0 ;
38314 PyObject
* obj3
= 0 ;
38315 PyObject
* obj4
= 0 ;
38316 PyObject
* obj5
= 0 ;
38317 PyObject
* obj6
= 0 ;
38318 char *kwnames
[] = {
38319 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38328 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38333 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38337 arg5
= (int)SWIG_As_int(obj4
);
38338 if (PyErr_Occurred()) SWIG_fail
;
38341 arg6
= (int)SWIG_As_int(obj5
);
38342 if (PyErr_Occurred()) SWIG_fail
;
38348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38349 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38351 wxPyEndAllowThreads(__tstate
);
38352 if (PyErr_Occurred()) SWIG_fail
;
38355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38363 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38364 PyObject
*resultobj
;
38365 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38366 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38368 PyObject
* obj0
= 0 ;
38369 PyObject
* obj1
= 0 ;
38370 char *kwnames
[] = {
38371 (char *) "self",(char *) "item", NULL
38374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38381 result
= (bool)(arg1
)->Add(arg2
);
38383 wxPyEndAllowThreads(__tstate
);
38384 if (PyErr_Occurred()) SWIG_fail
;
38387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38395 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38396 PyObject
*resultobj
;
38397 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38399 PyObject
* obj0
= 0 ;
38400 char *kwnames
[] = {
38401 (char *) "self", NULL
38404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38409 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38411 wxPyEndAllowThreads(__tstate
);
38412 if (PyErr_Occurred()) SWIG_fail
;
38415 wxSize
* resultptr
;
38416 resultptr
= new wxSize((wxSize
&) result
);
38417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38425 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38426 PyObject
*resultobj
;
38427 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38430 PyObject
* obj0
= 0 ;
38431 PyObject
* obj1
= 0 ;
38432 char *kwnames
[] = {
38433 (char *) "self",(char *) "sz", NULL
38436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38441 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38445 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38447 wxPyEndAllowThreads(__tstate
);
38448 if (PyErr_Occurred()) SWIG_fail
;
38450 Py_INCREF(Py_None
); resultobj
= Py_None
;
38457 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38458 PyObject
*resultobj
;
38459 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38460 wxWindow
*arg2
= (wxWindow
*) 0 ;
38461 wxGBPosition result
;
38462 PyObject
* obj0
= 0 ;
38463 PyObject
* obj1
= 0 ;
38465 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38472 result
= (arg1
)->GetItemPosition(arg2
);
38474 wxPyEndAllowThreads(__tstate
);
38475 if (PyErr_Occurred()) SWIG_fail
;
38478 wxGBPosition
* resultptr
;
38479 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38488 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38489 PyObject
*resultobj
;
38490 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38491 wxSizer
*arg2
= (wxSizer
*) 0 ;
38492 wxGBPosition result
;
38493 PyObject
* obj0
= 0 ;
38494 PyObject
* obj1
= 0 ;
38496 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38503 result
= (arg1
)->GetItemPosition(arg2
);
38505 wxPyEndAllowThreads(__tstate
);
38506 if (PyErr_Occurred()) SWIG_fail
;
38509 wxGBPosition
* resultptr
;
38510 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38519 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38520 PyObject
*resultobj
;
38521 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38523 wxGBPosition result
;
38524 PyObject
* obj0
= 0 ;
38525 PyObject
* obj1
= 0 ;
38527 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38530 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38531 if (PyErr_Occurred()) SWIG_fail
;
38533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38534 result
= (arg1
)->GetItemPosition(arg2
);
38536 wxPyEndAllowThreads(__tstate
);
38537 if (PyErr_Occurred()) SWIG_fail
;
38540 wxGBPosition
* resultptr
;
38541 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38550 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38555 argc
= PyObject_Length(args
);
38556 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38557 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38563 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38573 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38581 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38589 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38599 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38607 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38615 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38623 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38625 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38630 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38635 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38636 PyObject
*resultobj
;
38637 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38638 wxWindow
*arg2
= (wxWindow
*) 0 ;
38639 wxGBPosition
*arg3
= 0 ;
38641 wxGBPosition temp3
;
38642 PyObject
* obj0
= 0 ;
38643 PyObject
* obj1
= 0 ;
38644 PyObject
* obj2
= 0 ;
38646 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38653 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38657 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38659 wxPyEndAllowThreads(__tstate
);
38660 if (PyErr_Occurred()) SWIG_fail
;
38663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38671 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38672 PyObject
*resultobj
;
38673 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38674 wxSizer
*arg2
= (wxSizer
*) 0 ;
38675 wxGBPosition
*arg3
= 0 ;
38677 wxGBPosition temp3
;
38678 PyObject
* obj0
= 0 ;
38679 PyObject
* obj1
= 0 ;
38680 PyObject
* obj2
= 0 ;
38682 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38689 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38693 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38695 wxPyEndAllowThreads(__tstate
);
38696 if (PyErr_Occurred()) SWIG_fail
;
38699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38707 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38708 PyObject
*resultobj
;
38709 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38711 wxGBPosition
*arg3
= 0 ;
38713 wxGBPosition temp3
;
38714 PyObject
* obj0
= 0 ;
38715 PyObject
* obj1
= 0 ;
38716 PyObject
* obj2
= 0 ;
38718 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38721 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38722 if (PyErr_Occurred()) SWIG_fail
;
38725 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38729 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38731 wxPyEndAllowThreads(__tstate
);
38732 if (PyErr_Occurred()) SWIG_fail
;
38735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38743 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38748 argc
= PyObject_Length(args
);
38749 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38750 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38756 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38766 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38775 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38778 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38787 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38797 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38806 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38809 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38818 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38826 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38829 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38832 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38838 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38843 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
38844 PyObject
*resultobj
;
38845 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38846 wxWindow
*arg2
= (wxWindow
*) 0 ;
38848 PyObject
* obj0
= 0 ;
38849 PyObject
* obj1
= 0 ;
38851 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38858 result
= (arg1
)->GetItemSpan(arg2
);
38860 wxPyEndAllowThreads(__tstate
);
38861 if (PyErr_Occurred()) SWIG_fail
;
38864 wxGBSpan
* resultptr
;
38865 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38874 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
38875 PyObject
*resultobj
;
38876 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38877 wxSizer
*arg2
= (wxSizer
*) 0 ;
38879 PyObject
* obj0
= 0 ;
38880 PyObject
* obj1
= 0 ;
38882 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38889 result
= (arg1
)->GetItemSpan(arg2
);
38891 wxPyEndAllowThreads(__tstate
);
38892 if (PyErr_Occurred()) SWIG_fail
;
38895 wxGBSpan
* resultptr
;
38896 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38905 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
38906 PyObject
*resultobj
;
38907 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38910 PyObject
* obj0
= 0 ;
38911 PyObject
* obj1
= 0 ;
38913 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38916 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38917 if (PyErr_Occurred()) SWIG_fail
;
38919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38920 result
= (arg1
)->GetItemSpan(arg2
);
38922 wxPyEndAllowThreads(__tstate
);
38923 if (PyErr_Occurred()) SWIG_fail
;
38926 wxGBSpan
* resultptr
;
38927 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38936 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38941 argc
= PyObject_Length(args
);
38942 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38943 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38949 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38959 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38967 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38975 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38985 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38993 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39001 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39009 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39011 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39016 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39021 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39022 PyObject
*resultobj
;
39023 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39024 wxWindow
*arg2
= (wxWindow
*) 0 ;
39025 wxGBSpan
*arg3
= 0 ;
39028 PyObject
* obj0
= 0 ;
39029 PyObject
* obj1
= 0 ;
39030 PyObject
* obj2
= 0 ;
39032 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39039 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39043 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39045 wxPyEndAllowThreads(__tstate
);
39046 if (PyErr_Occurred()) SWIG_fail
;
39049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39057 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39058 PyObject
*resultobj
;
39059 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39060 wxSizer
*arg2
= (wxSizer
*) 0 ;
39061 wxGBSpan
*arg3
= 0 ;
39064 PyObject
* obj0
= 0 ;
39065 PyObject
* obj1
= 0 ;
39066 PyObject
* obj2
= 0 ;
39068 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39075 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39079 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39081 wxPyEndAllowThreads(__tstate
);
39082 if (PyErr_Occurred()) SWIG_fail
;
39085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39093 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39094 PyObject
*resultobj
;
39095 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39097 wxGBSpan
*arg3
= 0 ;
39100 PyObject
* obj0
= 0 ;
39101 PyObject
* obj1
= 0 ;
39102 PyObject
* obj2
= 0 ;
39104 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39107 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39108 if (PyErr_Occurred()) SWIG_fail
;
39111 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39115 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39117 wxPyEndAllowThreads(__tstate
);
39118 if (PyErr_Occurred()) SWIG_fail
;
39121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39129 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39134 argc
= PyObject_Length(args
);
39135 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39136 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39142 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39152 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39161 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39164 return _wrap_GridBagSizer_SetItemSpan__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) {
39192 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39195 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39204 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39212 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39215 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39218 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39224 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39229 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39230 PyObject
*resultobj
;
39231 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39232 wxWindow
*arg2
= (wxWindow
*) 0 ;
39233 wxGBSizerItem
*result
;
39234 PyObject
* obj0
= 0 ;
39235 PyObject
* obj1
= 0 ;
39237 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39244 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39246 wxPyEndAllowThreads(__tstate
);
39247 if (PyErr_Occurred()) SWIG_fail
;
39249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39256 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39257 PyObject
*resultobj
;
39258 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39259 wxSizer
*arg2
= (wxSizer
*) 0 ;
39260 wxGBSizerItem
*result
;
39261 PyObject
* obj0
= 0 ;
39262 PyObject
* obj1
= 0 ;
39264 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39271 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39273 wxPyEndAllowThreads(__tstate
);
39274 if (PyErr_Occurred()) SWIG_fail
;
39276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39283 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39288 argc
= PyObject_Length(args
);
39289 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39290 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39296 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39306 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39314 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39322 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39332 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39340 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39345 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39350 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39351 PyObject
*resultobj
;
39352 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39353 wxGBPosition
*arg2
= 0 ;
39354 wxGBSizerItem
*result
;
39355 wxGBPosition temp2
;
39356 PyObject
* obj0
= 0 ;
39357 PyObject
* obj1
= 0 ;
39358 char *kwnames
[] = {
39359 (char *) "self",(char *) "pos", NULL
39362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39367 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39371 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39373 wxPyEndAllowThreads(__tstate
);
39374 if (PyErr_Occurred()) SWIG_fail
;
39376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39383 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39384 PyObject
*resultobj
;
39385 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39386 wxPoint
*arg2
= 0 ;
39387 wxGBSizerItem
*result
;
39389 PyObject
* obj0
= 0 ;
39390 PyObject
* obj1
= 0 ;
39391 char *kwnames
[] = {
39392 (char *) "self",(char *) "pt", NULL
39395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39400 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39404 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39406 wxPyEndAllowThreads(__tstate
);
39407 if (PyErr_Occurred()) SWIG_fail
;
39409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39416 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39417 PyObject
*resultobj
;
39418 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39419 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39420 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39422 PyObject
* obj0
= 0 ;
39423 PyObject
* obj1
= 0 ;
39424 PyObject
* obj2
= 0 ;
39425 char *kwnames
[] = {
39426 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39435 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39440 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39442 wxPyEndAllowThreads(__tstate
);
39443 if (PyErr_Occurred()) SWIG_fail
;
39446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39454 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39455 PyObject
*resultobj
;
39456 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39457 wxGBPosition
*arg2
= 0 ;
39458 wxGBSpan
*arg3
= 0 ;
39459 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39461 wxGBPosition temp2
;
39463 PyObject
* obj0
= 0 ;
39464 PyObject
* obj1
= 0 ;
39465 PyObject
* obj2
= 0 ;
39466 PyObject
* obj3
= 0 ;
39467 char *kwnames
[] = {
39468 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39476 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39480 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39483 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39488 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39490 wxPyEndAllowThreads(__tstate
);
39491 if (PyErr_Occurred()) SWIG_fail
;
39494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39502 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39505 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39507 return Py_BuildValue((char *)"");
39509 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39510 PyObject
*resultobj
;
39511 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39513 wxWindow
*arg3
= (wxWindow
*) 0 ;
39515 int arg5
= (int) 0 ;
39516 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39517 PyObject
* obj0
= 0 ;
39518 PyObject
* obj1
= 0 ;
39519 PyObject
* obj2
= 0 ;
39520 PyObject
* obj3
= 0 ;
39521 PyObject
* obj4
= 0 ;
39522 PyObject
* obj5
= 0 ;
39523 char *kwnames
[] = {
39524 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39530 arg2
= (int)SWIG_As_int(obj1
);
39531 if (PyErr_Occurred()) SWIG_fail
;
39532 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39534 arg4
= (int)SWIG_As_int(obj3
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39537 arg5
= (int)SWIG_As_int(obj4
);
39538 if (PyErr_Occurred()) SWIG_fail
;
39541 arg6
= (int)SWIG_As_int(obj5
);
39542 if (PyErr_Occurred()) SWIG_fail
;
39545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39546 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39548 wxPyEndAllowThreads(__tstate
);
39549 if (PyErr_Occurred()) SWIG_fail
;
39551 Py_INCREF(Py_None
); resultobj
= Py_None
;
39558 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39559 PyObject
*resultobj
;
39560 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39561 wxWindow
*arg2
= (wxWindow
*) 0 ;
39562 int arg3
= (int) 0 ;
39563 PyObject
* obj0
= 0 ;
39564 PyObject
* obj1
= 0 ;
39565 PyObject
* obj2
= 0 ;
39566 char *kwnames
[] = {
39567 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39576 arg3
= (int)SWIG_As_int(obj2
);
39577 if (PyErr_Occurred()) SWIG_fail
;
39580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39581 (arg1
)->LeftOf(arg2
,arg3
);
39583 wxPyEndAllowThreads(__tstate
);
39584 if (PyErr_Occurred()) SWIG_fail
;
39586 Py_INCREF(Py_None
); resultobj
= Py_None
;
39593 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39594 PyObject
*resultobj
;
39595 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39596 wxWindow
*arg2
= (wxWindow
*) 0 ;
39597 int arg3
= (int) 0 ;
39598 PyObject
* obj0
= 0 ;
39599 PyObject
* obj1
= 0 ;
39600 PyObject
* obj2
= 0 ;
39601 char *kwnames
[] = {
39602 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39611 arg3
= (int)SWIG_As_int(obj2
);
39612 if (PyErr_Occurred()) SWIG_fail
;
39615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39616 (arg1
)->RightOf(arg2
,arg3
);
39618 wxPyEndAllowThreads(__tstate
);
39619 if (PyErr_Occurred()) SWIG_fail
;
39621 Py_INCREF(Py_None
); resultobj
= Py_None
;
39628 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39629 PyObject
*resultobj
;
39630 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39631 wxWindow
*arg2
= (wxWindow
*) 0 ;
39632 int arg3
= (int) 0 ;
39633 PyObject
* obj0
= 0 ;
39634 PyObject
* obj1
= 0 ;
39635 PyObject
* obj2
= 0 ;
39636 char *kwnames
[] = {
39637 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39646 arg3
= (int)SWIG_As_int(obj2
);
39647 if (PyErr_Occurred()) SWIG_fail
;
39650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39651 (arg1
)->Above(arg2
,arg3
);
39653 wxPyEndAllowThreads(__tstate
);
39654 if (PyErr_Occurred()) SWIG_fail
;
39656 Py_INCREF(Py_None
); resultobj
= Py_None
;
39663 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39664 PyObject
*resultobj
;
39665 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39666 wxWindow
*arg2
= (wxWindow
*) 0 ;
39667 int arg3
= (int) 0 ;
39668 PyObject
* obj0
= 0 ;
39669 PyObject
* obj1
= 0 ;
39670 PyObject
* obj2
= 0 ;
39671 char *kwnames
[] = {
39672 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39681 arg3
= (int)SWIG_As_int(obj2
);
39682 if (PyErr_Occurred()) SWIG_fail
;
39685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39686 (arg1
)->Below(arg2
,arg3
);
39688 wxPyEndAllowThreads(__tstate
);
39689 if (PyErr_Occurred()) SWIG_fail
;
39691 Py_INCREF(Py_None
); resultobj
= Py_None
;
39698 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39699 PyObject
*resultobj
;
39700 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39701 wxWindow
*arg2
= (wxWindow
*) 0 ;
39703 int arg4
= (int) 0 ;
39704 PyObject
* obj0
= 0 ;
39705 PyObject
* obj1
= 0 ;
39706 PyObject
* obj2
= 0 ;
39707 PyObject
* obj3
= 0 ;
39708 char *kwnames
[] = {
39709 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39717 arg3
= (int)SWIG_As_int(obj2
);
39718 if (PyErr_Occurred()) SWIG_fail
;
39720 arg4
= (int)SWIG_As_int(obj3
);
39721 if (PyErr_Occurred()) SWIG_fail
;
39724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39725 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39727 wxPyEndAllowThreads(__tstate
);
39728 if (PyErr_Occurred()) SWIG_fail
;
39730 Py_INCREF(Py_None
); resultobj
= Py_None
;
39737 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39738 PyObject
*resultobj
;
39739 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39740 wxWindow
*arg2
= (wxWindow
*) 0 ;
39743 PyObject
* obj0
= 0 ;
39744 PyObject
* obj1
= 0 ;
39745 PyObject
* obj2
= 0 ;
39746 PyObject
* obj3
= 0 ;
39747 char *kwnames
[] = {
39748 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39756 arg3
= (int)SWIG_As_int(obj2
);
39757 if (PyErr_Occurred()) SWIG_fail
;
39758 arg4
= (int)SWIG_As_int(obj3
);
39759 if (PyErr_Occurred()) SWIG_fail
;
39761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39762 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39764 wxPyEndAllowThreads(__tstate
);
39765 if (PyErr_Occurred()) SWIG_fail
;
39767 Py_INCREF(Py_None
); resultobj
= Py_None
;
39774 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39775 PyObject
*resultobj
;
39776 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39778 PyObject
* obj0
= 0 ;
39779 PyObject
* obj1
= 0 ;
39780 char *kwnames
[] = {
39781 (char *) "self",(char *) "val", NULL
39784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39787 arg2
= (int)SWIG_As_int(obj1
);
39788 if (PyErr_Occurred()) SWIG_fail
;
39790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39791 (arg1
)->Absolute(arg2
);
39793 wxPyEndAllowThreads(__tstate
);
39794 if (PyErr_Occurred()) SWIG_fail
;
39796 Py_INCREF(Py_None
); resultobj
= Py_None
;
39803 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39804 PyObject
*resultobj
;
39805 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39806 PyObject
* obj0
= 0 ;
39807 char *kwnames
[] = {
39808 (char *) "self", NULL
39811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39816 (arg1
)->Unconstrained();
39818 wxPyEndAllowThreads(__tstate
);
39819 if (PyErr_Occurred()) SWIG_fail
;
39821 Py_INCREF(Py_None
); resultobj
= Py_None
;
39828 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39829 PyObject
*resultobj
;
39830 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39831 PyObject
* obj0
= 0 ;
39832 char *kwnames
[] = {
39833 (char *) "self", NULL
39836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39843 wxPyEndAllowThreads(__tstate
);
39844 if (PyErr_Occurred()) SWIG_fail
;
39846 Py_INCREF(Py_None
); resultobj
= Py_None
;
39853 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39854 PyObject
*resultobj
;
39855 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39857 PyObject
* obj0
= 0 ;
39858 char *kwnames
[] = {
39859 (char *) "self", NULL
39862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39867 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39869 wxPyEndAllowThreads(__tstate
);
39870 if (PyErr_Occurred()) SWIG_fail
;
39873 resultobj
= wxPyMake_wxObject(result
, 0);
39881 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39882 PyObject
*resultobj
;
39883 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39885 PyObject
* obj0
= 0 ;
39886 char *kwnames
[] = {
39887 (char *) "self", NULL
39890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39895 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39897 wxPyEndAllowThreads(__tstate
);
39898 if (PyErr_Occurred()) SWIG_fail
;
39900 resultobj
= SWIG_From_int((int)result
);
39907 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39908 PyObject
*resultobj
;
39909 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39911 PyObject
* obj0
= 0 ;
39912 PyObject
* obj1
= 0 ;
39913 char *kwnames
[] = {
39914 (char *) "self",(char *) "which", NULL
39917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39920 arg2
= (int)SWIG_As_int(obj1
);
39921 if (PyErr_Occurred()) SWIG_fail
;
39923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39924 (arg1
)->SetEdge((wxEdge
)arg2
);
39926 wxPyEndAllowThreads(__tstate
);
39927 if (PyErr_Occurred()) SWIG_fail
;
39929 Py_INCREF(Py_None
); resultobj
= Py_None
;
39936 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39937 PyObject
*resultobj
;
39938 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39940 PyObject
* obj0
= 0 ;
39941 PyObject
* obj1
= 0 ;
39942 char *kwnames
[] = {
39943 (char *) "self",(char *) "v", NULL
39946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39949 arg2
= (int)SWIG_As_int(obj1
);
39950 if (PyErr_Occurred()) SWIG_fail
;
39952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39953 (arg1
)->SetValue(arg2
);
39955 wxPyEndAllowThreads(__tstate
);
39956 if (PyErr_Occurred()) SWIG_fail
;
39958 Py_INCREF(Py_None
); resultobj
= Py_None
;
39965 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39966 PyObject
*resultobj
;
39967 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39969 PyObject
* obj0
= 0 ;
39970 char *kwnames
[] = {
39971 (char *) "self", NULL
39974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39979 result
= (int)(arg1
)->GetMargin();
39981 wxPyEndAllowThreads(__tstate
);
39982 if (PyErr_Occurred()) SWIG_fail
;
39984 resultobj
= SWIG_From_int((int)result
);
39991 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39992 PyObject
*resultobj
;
39993 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39995 PyObject
* obj0
= 0 ;
39996 PyObject
* obj1
= 0 ;
39997 char *kwnames
[] = {
39998 (char *) "self",(char *) "m", NULL
40001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40004 arg2
= (int)SWIG_As_int(obj1
);
40005 if (PyErr_Occurred()) SWIG_fail
;
40007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40008 (arg1
)->SetMargin(arg2
);
40010 wxPyEndAllowThreads(__tstate
);
40011 if (PyErr_Occurred()) SWIG_fail
;
40013 Py_INCREF(Py_None
); resultobj
= Py_None
;
40020 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40021 PyObject
*resultobj
;
40022 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40024 PyObject
* obj0
= 0 ;
40025 char *kwnames
[] = {
40026 (char *) "self", NULL
40029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40034 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40036 wxPyEndAllowThreads(__tstate
);
40037 if (PyErr_Occurred()) SWIG_fail
;
40039 resultobj
= SWIG_From_int((int)result
);
40046 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40047 PyObject
*resultobj
;
40048 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40050 PyObject
* obj0
= 0 ;
40051 char *kwnames
[] = {
40052 (char *) "self", NULL
40055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40060 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40062 wxPyEndAllowThreads(__tstate
);
40063 if (PyErr_Occurred()) SWIG_fail
;
40065 resultobj
= SWIG_From_int((int)result
);
40072 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40073 PyObject
*resultobj
;
40074 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40076 PyObject
* obj0
= 0 ;
40077 char *kwnames
[] = {
40078 (char *) "self", NULL
40081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40086 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40088 wxPyEndAllowThreads(__tstate
);
40089 if (PyErr_Occurred()) SWIG_fail
;
40091 resultobj
= SWIG_From_int((int)result
);
40098 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40099 PyObject
*resultobj
;
40100 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40102 PyObject
* obj0
= 0 ;
40103 char *kwnames
[] = {
40104 (char *) "self", NULL
40107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40112 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40114 wxPyEndAllowThreads(__tstate
);
40115 if (PyErr_Occurred()) SWIG_fail
;
40118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40126 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40127 PyObject
*resultobj
;
40128 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40130 PyObject
* obj0
= 0 ;
40131 PyObject
* obj1
= 0 ;
40132 char *kwnames
[] = {
40133 (char *) "self",(char *) "d", NULL
40136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40139 arg2
= (bool)SWIG_As_bool(obj1
);
40140 if (PyErr_Occurred()) SWIG_fail
;
40142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40143 (arg1
)->SetDone(arg2
);
40145 wxPyEndAllowThreads(__tstate
);
40146 if (PyErr_Occurred()) SWIG_fail
;
40148 Py_INCREF(Py_None
); resultobj
= Py_None
;
40155 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40156 PyObject
*resultobj
;
40157 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40159 PyObject
* obj0
= 0 ;
40160 char *kwnames
[] = {
40161 (char *) "self", NULL
40164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40169 result
= (int)(arg1
)->GetRelationship();
40171 wxPyEndAllowThreads(__tstate
);
40172 if (PyErr_Occurred()) SWIG_fail
;
40174 resultobj
= SWIG_From_int((int)result
);
40181 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40182 PyObject
*resultobj
;
40183 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40185 PyObject
* obj0
= 0 ;
40186 PyObject
* obj1
= 0 ;
40187 char *kwnames
[] = {
40188 (char *) "self",(char *) "r", NULL
40191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40194 arg2
= (int)SWIG_As_int(obj1
);
40195 if (PyErr_Occurred()) SWIG_fail
;
40197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40198 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40200 wxPyEndAllowThreads(__tstate
);
40201 if (PyErr_Occurred()) SWIG_fail
;
40203 Py_INCREF(Py_None
); resultobj
= Py_None
;
40210 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40211 PyObject
*resultobj
;
40212 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40213 wxWindow
*arg2
= (wxWindow
*) 0 ;
40215 PyObject
* obj0
= 0 ;
40216 PyObject
* obj1
= 0 ;
40217 char *kwnames
[] = {
40218 (char *) "self",(char *) "otherW", NULL
40221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40228 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40230 wxPyEndAllowThreads(__tstate
);
40231 if (PyErr_Occurred()) SWIG_fail
;
40234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40242 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40243 PyObject
*resultobj
;
40244 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40245 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40246 wxWindow
*arg3
= (wxWindow
*) 0 ;
40248 PyObject
* obj0
= 0 ;
40249 PyObject
* obj1
= 0 ;
40250 PyObject
* obj2
= 0 ;
40251 char *kwnames
[] = {
40252 (char *) "self",(char *) "constraints",(char *) "win", NULL
40255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40260 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40264 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40266 wxPyEndAllowThreads(__tstate
);
40267 if (PyErr_Occurred()) SWIG_fail
;
40270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40278 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40279 PyObject
*resultobj
;
40280 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40282 wxWindow
*arg3
= (wxWindow
*) 0 ;
40283 wxWindow
*arg4
= (wxWindow
*) 0 ;
40285 PyObject
* obj0
= 0 ;
40286 PyObject
* obj1
= 0 ;
40287 PyObject
* obj2
= 0 ;
40288 PyObject
* obj3
= 0 ;
40289 char *kwnames
[] = {
40290 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40296 arg2
= (int)SWIG_As_int(obj1
);
40297 if (PyErr_Occurred()) SWIG_fail
;
40298 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40300 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40304 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40306 wxPyEndAllowThreads(__tstate
);
40307 if (PyErr_Occurred()) SWIG_fail
;
40309 resultobj
= SWIG_From_int((int)result
);
40316 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40319 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40321 return Py_BuildValue((char *)"");
40323 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40324 PyObject
*resultobj
;
40325 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40326 wxIndividualLayoutConstraint
*result
;
40327 PyObject
* obj0
= 0 ;
40328 char *kwnames
[] = {
40329 (char *) "self", NULL
40332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40335 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40344 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40345 PyObject
*resultobj
;
40346 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40347 wxIndividualLayoutConstraint
*result
;
40348 PyObject
* obj0
= 0 ;
40349 char *kwnames
[] = {
40350 (char *) "self", NULL
40353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40356 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40365 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40366 PyObject
*resultobj
;
40367 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40368 wxIndividualLayoutConstraint
*result
;
40369 PyObject
* obj0
= 0 ;
40370 char *kwnames
[] = {
40371 (char *) "self", NULL
40374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40377 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40386 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40387 PyObject
*resultobj
;
40388 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40389 wxIndividualLayoutConstraint
*result
;
40390 PyObject
* obj0
= 0 ;
40391 char *kwnames
[] = {
40392 (char *) "self", NULL
40395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40398 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40407 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40408 PyObject
*resultobj
;
40409 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40410 wxIndividualLayoutConstraint
*result
;
40411 PyObject
* obj0
= 0 ;
40412 char *kwnames
[] = {
40413 (char *) "self", NULL
40416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40419 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40428 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40429 PyObject
*resultobj
;
40430 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40431 wxIndividualLayoutConstraint
*result
;
40432 PyObject
* obj0
= 0 ;
40433 char *kwnames
[] = {
40434 (char *) "self", NULL
40437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40440 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40449 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40450 PyObject
*resultobj
;
40451 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40452 wxIndividualLayoutConstraint
*result
;
40453 PyObject
* obj0
= 0 ;
40454 char *kwnames
[] = {
40455 (char *) "self", NULL
40458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40461 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40470 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40471 PyObject
*resultobj
;
40472 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40473 wxIndividualLayoutConstraint
*result
;
40474 PyObject
* obj0
= 0 ;
40475 char *kwnames
[] = {
40476 (char *) "self", NULL
40479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40482 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40491 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40492 PyObject
*resultobj
;
40493 wxLayoutConstraints
*result
;
40494 char *kwnames
[] = {
40498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40501 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40503 wxPyEndAllowThreads(__tstate
);
40504 if (PyErr_Occurred()) SWIG_fail
;
40506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40513 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40514 PyObject
*resultobj
;
40515 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40516 wxWindow
*arg2
= (wxWindow
*) 0 ;
40517 int *arg3
= (int *) 0 ;
40521 PyObject
* obj0
= 0 ;
40522 PyObject
* obj1
= 0 ;
40523 char *kwnames
[] = {
40524 (char *) "self",(char *) "win", NULL
40527 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40535 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40537 wxPyEndAllowThreads(__tstate
);
40538 if (PyErr_Occurred()) SWIG_fail
;
40541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40543 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40544 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40551 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40552 PyObject
*resultobj
;
40553 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40555 PyObject
* obj0
= 0 ;
40556 char *kwnames
[] = {
40557 (char *) "self", NULL
40560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40565 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40567 wxPyEndAllowThreads(__tstate
);
40568 if (PyErr_Occurred()) SWIG_fail
;
40571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40579 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40582 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40584 return Py_BuildValue((char *)"");
40586 static PyMethodDef SwigMethods
[] = {
40587 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40588 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40589 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40590 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40591 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40592 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40593 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40594 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40595 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40596 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40597 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40598 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40599 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40600 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40601 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40602 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40603 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40604 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40605 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40606 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40607 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40608 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40609 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40610 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40611 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40612 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40613 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40614 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40615 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40616 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40617 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40618 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40619 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40620 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40621 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40622 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40623 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40624 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40625 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40626 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40627 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40628 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40629 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40630 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40631 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40632 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40633 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40634 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40635 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40636 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40637 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40638 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40639 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40640 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40641 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40642 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40643 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40644 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40645 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40646 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40647 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40648 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40649 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40650 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40651 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40652 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40653 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40654 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40655 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40656 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40657 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40658 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40659 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40660 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40661 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40662 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40663 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40664 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40665 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40666 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40667 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40668 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40669 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40670 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40671 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40672 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40673 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40674 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40675 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40676 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40677 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40678 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40679 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40680 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40681 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40682 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40683 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40684 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40685 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40686 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40687 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40688 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40689 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40690 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40691 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
40692 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40693 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40694 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40695 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40696 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40697 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40698 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40699 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40700 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40701 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40702 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40703 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40704 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40705 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40706 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40707 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40708 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40709 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40710 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40711 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40712 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40713 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40714 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40715 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40716 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40717 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40718 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40719 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
40720 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40721 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40722 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40723 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40724 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40725 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40726 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40727 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40728 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40729 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40730 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40731 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40732 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40733 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40734 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40735 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40736 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40737 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
40738 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40739 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
40740 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40741 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40742 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40743 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40744 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40745 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40746 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40747 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
40748 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40749 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40750 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40751 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40752 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40753 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40754 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40755 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40756 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40757 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40758 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40759 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40760 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40761 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40762 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40763 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40764 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40765 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40766 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40767 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40768 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40769 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40770 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40771 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40772 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
40773 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40774 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40776 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
40777 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40778 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40779 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40780 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
40783 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40784 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40787 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40788 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40790 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
40793 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40795 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40797 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40800 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40802 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
40803 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40804 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40805 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40806 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
40807 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40808 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40809 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40811 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40812 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40815 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40818 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40821 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40823 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40824 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40825 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40827 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40829 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40831 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40832 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40833 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40834 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40838 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40843 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40847 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40857 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40875 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
40879 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
40881 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
40883 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40884 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
40885 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
40887 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
40889 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
40891 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
40893 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
40895 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
40897 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
40899 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
40901 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
40903 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40905 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
40917 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
40935 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
40938 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
40941 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40952 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
40953 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
40958 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
40964 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
40970 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41033 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41040 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41076 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41086 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41096 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41098 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41100 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41103 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41107 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41110 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41113 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41115 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41120 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41128 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41132 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41135 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41137 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41141 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41158 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41160 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41163 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41165 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41169 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41173 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41182 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41185 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41188 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41192 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41199 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41204 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41209 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41253 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
41271 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41278 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41282 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41292 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41461 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41501 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41515 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41518 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41573 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41600 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41630 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41638 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41655 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41656 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
41692 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
41721 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
41724 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
41728 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
41731 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
41741 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
41753 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
41763 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
41773 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
41787 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
41793 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
41794 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
41795 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
41796 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
41797 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
41802 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
41829 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
41841 { NULL
, NULL
, 0, NULL
}
41845 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41847 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41848 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41850 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41851 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41853 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41854 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41856 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41857 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41859 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41860 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41862 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41863 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41865 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41866 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41868 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41869 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41871 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41874 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41875 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41877 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41878 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41880 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41881 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41883 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41884 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41886 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41887 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41889 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41890 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41892 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41893 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41895 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41896 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41898 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41901 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41902 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41904 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41905 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41907 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41908 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41910 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41911 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41913 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41914 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41916 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41917 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41919 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41920 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41922 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41923 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41925 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41926 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41928 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41929 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41931 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41932 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41934 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41935 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41937 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41938 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41940 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41941 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41943 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41944 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41946 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41947 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41949 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41950 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41952 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41953 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41955 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41956 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41958 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41959 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41961 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41962 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41964 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41965 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41967 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41968 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41970 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41971 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41973 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41974 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41976 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41977 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41979 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41980 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41982 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41983 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41985 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41986 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41988 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41989 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41991 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41992 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41994 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41995 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41997 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41998 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42000 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42001 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42003 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42004 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42006 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42007 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42009 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42010 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42012 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42013 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42015 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42016 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42018 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42019 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42021 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42022 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42024 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42025 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42027 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42028 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42030 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42031 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42033 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42034 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42036 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42037 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42039 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42040 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42042 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42043 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42045 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42046 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42048 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42049 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42051 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42052 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42054 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42055 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42057 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42058 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42060 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42061 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42063 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42064 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42066 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42067 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42069 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42070 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42072 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42073 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42075 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42076 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42078 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42079 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42081 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42082 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42084 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42087 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42088 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42090 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42091 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42093 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42094 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42096 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42097 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42099 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42102 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42105 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42106 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42108 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42109 return (void *)((wxObject
*) ((wxSizer
*) x
));
42111 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42112 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42114 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42115 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42117 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42118 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42120 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42121 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42123 static void *_p_wxImageTo_p_wxObject(void *x
) {
42124 return (void *)((wxObject
*) ((wxImage
*) x
));
42126 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42129 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42130 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42132 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42133 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42135 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42136 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42138 static void *_p_wxControlTo_p_wxObject(void *x
) {
42139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42141 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42142 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42144 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42145 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42147 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42148 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42150 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42151 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42153 static void *_p_wxEventTo_p_wxObject(void *x
) {
42154 return (void *)((wxObject
*) ((wxEvent
*) x
));
42156 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42157 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42159 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42160 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42162 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42163 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42165 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42166 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42168 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42169 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42171 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42172 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42174 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42177 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42178 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42180 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42183 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42184 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42186 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42187 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42189 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42190 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42192 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42193 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42195 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42196 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42198 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42199 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42201 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42202 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42204 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42205 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42207 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42208 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42210 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42211 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42213 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42214 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42216 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42217 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42219 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42220 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42222 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42223 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42225 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42226 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42228 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42231 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42232 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42234 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42235 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42237 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42238 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42240 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42241 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42243 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42244 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42246 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42247 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42249 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42252 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42253 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42255 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42256 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42258 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42259 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42261 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42262 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42264 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42265 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42267 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42268 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42270 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42271 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42273 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42276 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42277 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42279 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42280 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42282 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42285 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42286 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42288 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42289 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42291 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42292 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42294 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42295 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42297 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42298 return (void *)((wxWindow
*) ((wxControl
*) x
));
42300 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42301 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42303 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42304 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42306 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42307 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42309 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42310 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42312 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42313 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42315 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42316 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42318 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42319 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42321 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42322 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42324 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42325 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42327 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42328 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42330 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42331 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42333 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}};
42334 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}};
42335 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}};
42336 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}};
42337 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}};
42338 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}};
42339 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}};
42340 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}};
42341 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}};
42342 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}};
42343 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}};
42344 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}};
42345 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}};
42346 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}};
42347 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}};
42348 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}};
42349 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}};
42350 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}};
42351 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}};
42352 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}};
42353 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}};
42354 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}};
42355 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}};
42356 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}};
42357 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}};
42358 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}};
42359 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}};
42360 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}};
42361 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}};
42362 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}};
42363 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}};
42364 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}};
42365 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}};
42366 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}};
42367 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}};
42368 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}};
42369 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}};
42370 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}};
42371 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}};
42372 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}};
42373 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}};
42374 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}};
42375 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}};
42376 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}};
42377 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}};
42378 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}};
42379 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}};
42380 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}};
42381 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}};
42382 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}};
42383 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}};
42384 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}};
42385 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}};
42386 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}};
42387 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}};
42388 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}};
42389 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}};
42390 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}};
42391 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}};
42392 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}};
42393 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}};
42394 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}};
42395 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}};
42396 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}};
42397 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}};
42398 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}};
42399 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}};
42400 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}};
42401 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}};
42402 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}};
42403 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}};
42404 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}};
42405 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}};
42406 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}};
42407 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}};
42408 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}};
42409 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}};
42410 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}};
42411 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}};
42412 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}};
42413 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}};
42414 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}};
42415 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}};
42416 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}};
42417 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}};
42418 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}};
42419 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}};
42420 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}};
42421 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}};
42422 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}};
42423 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}};
42424 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}};
42425 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}};
42426 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}};
42427 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}};
42428 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}};
42429 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}};
42430 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}};
42431 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}};
42432 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}};
42433 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}};
42434 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}};
42435 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}};
42436 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}};
42437 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}};
42438 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}};
42439 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}};
42440 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}};
42441 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}};
42442 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}};
42443 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}};
42444 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}};
42445 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}};
42446 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}};
42447 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}};
42448 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}};
42449 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}};
42451 static swig_type_info
*swig_types_initial
[] = {
42452 _swigt__p_wxLayoutConstraints
,
42453 _swigt__p_wxRealPoint
,
42454 _swigt__p_wxSizerItem
,
42455 _swigt__p_wxGBSizerItem
,
42456 _swigt__p_wxScrollEvent
,
42457 _swigt__p_wxEventLoop
,
42458 _swigt__p_wxIndividualLayoutConstraint
,
42460 _swigt__p_wxBoxSizer
,
42461 _swigt__p_wxStaticBoxSizer
,
42462 _swigt__p_wxGridBagSizer
,
42463 _swigt__p_wxAcceleratorEntry
,
42464 _swigt__p_wxUpdateUIEvent
,
42467 _swigt__p_wxGridSizer
,
42468 _swigt__p_wxFlexGridSizer
,
42469 _swigt__p_wxInitDialogEvent
,
42470 _swigt__p_wxItemContainer
,
42471 _swigt__p_wxNcPaintEvent
,
42472 _swigt__p_wxPaintEvent
,
42473 _swigt__p_wxSysColourChangedEvent
,
42474 _swigt__p_wxMouseCaptureChangedEvent
,
42475 _swigt__p_wxDisplayChangedEvent
,
42476 _swigt__p_wxPaletteChangedEvent
,
42477 _swigt__p_wxControl
,
42479 _swigt__p_wxMenuBarBase
,
42480 _swigt__p_wxSetCursorEvent
,
42481 _swigt__p_wxFSFile
,
42483 _swigt__p_wxRegion
,
42484 _swigt__p_wxPoint2D
,
42488 _swigt__p_wxPySizer
,
42489 _swigt__p_wxVisualAttributes
,
42490 _swigt__p_wxNotifyEvent
,
42491 _swigt__p_wxPyEvent
,
42492 _swigt__p_wxPropagationDisabler
,
42493 _swigt__p_wxAppTraits
,
42494 _swigt__p_wxArrayString
,
42495 _swigt__p_wxShowEvent
,
42496 _swigt__p_wxToolTip
,
42497 _swigt__p_wxIconizeEvent
,
42498 _swigt__p_wxActivateEvent
,
42499 _swigt__p_wxMoveEvent
,
42500 _swigt__p_wxSizeEvent
,
42501 _swigt__p_wxMaximizeEvent
,
42502 _swigt__p_wxQueryNewPaletteEvent
,
42503 _swigt__p_wxWindowCreateEvent
,
42504 _swigt__p_wxIdleEvent
,
42505 _swigt__p_wxMenuItem
,
42506 _swigt__p_wxStaticBox
,
42508 _swigt__p_wxTIFFHandler
,
42509 _swigt__p_wxXPMHandler
,
42510 _swigt__p_wxPNMHandler
,
42511 _swigt__p_wxJPEGHandler
,
42512 _swigt__p_wxPCXHandler
,
42513 _swigt__p_wxGIFHandler
,
42514 _swigt__p_wxPNGHandler
,
42515 _swigt__p_wxANIHandler
,
42516 _swigt__p_wxMemoryFSHandler
,
42517 _swigt__p_wxEvtHandler
,
42518 _swigt__p_wxCURHandler
,
42519 _swigt__p_wxICOHandler
,
42520 _swigt__p_wxBMPHandler
,
42521 _swigt__p_wxImageHandler
,
42522 _swigt__p_wxFileSystemHandler
,
42523 _swigt__p_wxPyFileSystemHandler
,
42524 _swigt__p_wxInternetFSHandler
,
42525 _swigt__p_wxZipFSHandler
,
42527 _swigt__p_wxGBSpan
,
42528 _swigt__p_wxPropagateOnce
,
42529 _swigt__p_wxAcceleratorTable
,
42531 _swigt__p_wxGBPosition
,
42534 _swigt__p_wxScrollWinEvent
,
42535 _swigt__p_wxImageHistogram
,
42538 _swigt__p_wxCursor
,
42539 _swigt__p_wxObject
,
42540 _swigt__p_wxPyInputStream
,
42541 _swigt__p_wxOutputStream
,
42542 _swigt__p_wxInputStream
,
42543 _swigt__p_wxDateTime
,
42544 _swigt__p_wxKeyEvent
,
42545 _swigt__p_wxNavigationKeyEvent
,
42546 _swigt__p_wxWindowDestroyEvent
,
42547 _swigt__p_wxWindow
,
42548 _swigt__p_wxMenuBar
,
42549 _swigt__p_wxFileSystem
,
42550 _swigt__p_wxBitmap
,
42551 _swigt__p_wxMenuEvent
,
42552 _swigt__p_wxContextMenuEvent
,
42553 _swigt__p_unsigned_char
,
42554 _swigt__p_wxCloseEvent
,
42555 _swigt__p_wxEraseEvent
,
42556 _swigt__p_wxMouseEvent
,
42558 _swigt__p_wxCommandEvent
,
42559 _swigt__p_wxPyCommandEvent
,
42560 _swigt__p_wxPyDropTarget
,
42561 _swigt__p_wxQuantize
,
42562 _swigt__p_wxChildFocusEvent
,
42563 _swigt__p_wxFocusEvent
,
42564 _swigt__p_wxDropFilesEvent
,
42565 _swigt__p_wxControlWithItems
,
42566 _swigt__p_wxColour
,
42567 _swigt__p_wxValidator
,
42568 _swigt__p_wxPyValidator
,
42573 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42575 static swig_const_info swig_const_table
[] = {
42576 {0, 0, 0, 0.0, 0, 0}};
42585 SWIGEXPORT(void) SWIG_init(void) {
42586 static PyObject
*SWIG_globals
= 0;
42587 static int typeinit
= 0;
42590 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42591 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42592 d
= PyModule_GetDict(m
);
42595 for (i
= 0; swig_types_initial
[i
]; i
++) {
42596 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42600 SWIG_InstallConstants(d
,swig_const_table
);
42603 #ifndef wxPyUSE_EXPORT
42604 // Make our API structure a CObject so other modules can import it
42605 // from this module.
42606 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42607 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42611 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42612 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42613 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42614 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42615 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42616 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42617 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42618 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42619 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42620 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42621 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42622 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42623 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42624 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42625 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42626 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42627 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42628 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42629 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42630 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42631 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42632 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42633 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42634 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42635 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42636 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42637 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42638 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42639 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42640 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42641 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42642 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42643 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42644 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42645 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42646 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42647 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42648 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42649 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42650 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42651 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42652 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42653 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42654 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42655 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42656 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42657 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42658 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42659 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42660 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42661 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42662 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42663 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42664 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42665 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42666 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42667 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42668 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42669 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42670 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42671 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42672 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42673 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42674 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42675 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42676 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42677 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42678 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
42679 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
42680 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
42681 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
42682 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
42683 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
42684 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
42685 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
42686 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
42687 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
42688 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
42689 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
42690 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
42691 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
42692 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
42693 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
42694 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
42695 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
42696 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
42697 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
42698 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
42699 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
42700 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
42701 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
42702 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
42703 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
42704 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
42705 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
42706 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
42707 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
42708 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
42709 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
42710 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
42711 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
42712 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
42713 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
42714 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
42715 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
42716 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
42717 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
42718 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
42719 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
42720 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
42721 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
42722 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
42723 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
42724 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
42725 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
42726 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
42727 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
42728 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
42729 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
42730 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
42731 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
42732 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
42733 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
42734 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
42735 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
42736 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
42737 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
42738 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
42739 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
42740 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
42741 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
42742 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
42743 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
42744 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
42745 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
42746 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
42747 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
42748 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
42749 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
42750 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
42751 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
42752 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
42753 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
42754 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
42755 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
42756 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
42757 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
42758 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
42759 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
42760 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
42761 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
42762 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
42763 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
42764 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
42765 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
42766 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
42767 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
42768 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
42769 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
42770 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
42771 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
42772 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
42773 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
42774 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
42775 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
42776 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
42777 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
42778 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
42779 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
42780 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
42781 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
42782 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
42783 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
42784 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
42785 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
42786 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
42787 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
42788 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
42789 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
42790 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
42791 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
42792 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
42793 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
42794 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
42795 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
42796 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
42797 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
42798 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
42799 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
42800 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
42801 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
42802 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
42803 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
42804 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
42805 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
42806 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
42807 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
42808 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
42809 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
42810 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
42811 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
42812 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
42813 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
42814 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
42815 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
42816 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
42817 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
42818 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
42819 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
42820 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
42821 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
42822 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
42823 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
42824 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
42825 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
42826 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
42827 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
42828 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
42829 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
42830 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42831 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
42832 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
42833 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
42834 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42835 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
42836 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
42837 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
42838 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
42839 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
42840 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
42841 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
42842 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
42843 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
42844 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
42845 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
42846 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
42847 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
42848 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
42849 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
42850 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
42851 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
42852 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
42853 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
42854 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
42855 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
42856 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
42857 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
42858 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
42859 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
42860 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
42861 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
42862 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
42863 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
42864 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
42865 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
42866 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
42867 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
42868 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
42869 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
42870 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
42871 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
42872 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
42873 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
42874 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
42875 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
42876 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
42877 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
42878 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
42879 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
42880 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
42881 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
42882 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
42883 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
42884 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
42885 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
42886 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
42887 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
42888 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
42889 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
42890 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
42891 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
42892 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
42893 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
42894 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
42895 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
42896 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
42897 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
42898 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
42899 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
42900 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
42901 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
42902 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
42903 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
42904 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
42905 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
42906 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
42907 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
42908 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
42909 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
42910 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
42911 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
42912 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
42913 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
42914 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
42915 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
42916 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
42917 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
42918 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
42919 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
42920 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
42921 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
42922 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
42923 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
42924 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
42925 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
42926 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
42927 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
42928 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
42929 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
42930 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
42931 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
42932 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
42933 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
42934 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
42935 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
42936 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
42937 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
42938 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
42939 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
42940 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
42941 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
42942 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
42943 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
42944 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
42945 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
42946 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
42947 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
42948 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
42949 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
42950 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
42951 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
42952 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
42953 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
42954 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
42955 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
42956 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
42957 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
42958 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
42959 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
42960 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
42961 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
42962 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
42963 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
42964 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
42965 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
42966 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
42967 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
42968 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
42969 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
42970 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
42971 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
42972 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
42973 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
42974 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
42975 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
42976 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
42977 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
42978 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
42979 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
42980 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
42981 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
42982 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
42983 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
42984 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
42985 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
42986 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
42987 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
42988 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
42989 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
42990 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
42991 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
42992 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
42993 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
42994 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
42995 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
42996 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
42997 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
42998 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
42999 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43000 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43001 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43002 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43003 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43004 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43005 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43006 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43007 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43008 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43009 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43010 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43011 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43012 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43013 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43014 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43015 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43016 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43017 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43018 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43019 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43020 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43021 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43022 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43023 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43024 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43025 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43026 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43027 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43028 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43029 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43030 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43031 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43032 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43033 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43034 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43035 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43036 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43037 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43038 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43039 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43040 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43041 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43042 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43043 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43044 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43045 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43046 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43047 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43048 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43049 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43050 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43051 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43052 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43053 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43054 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43055 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43056 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43057 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43058 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43059 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43060 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43061 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43062 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43063 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43064 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43065 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43066 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43067 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43068 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43069 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43070 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43071 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43072 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43073 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43074 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43075 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43076 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43077 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43078 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43079 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43080 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43081 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43082 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43083 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43084 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43085 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43086 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43087 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43088 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43089 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43090 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43091 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43092 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43093 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43094 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43095 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43096 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43097 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43098 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43099 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43100 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43101 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43102 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43103 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43104 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43105 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43106 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43107 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43108 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43109 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43110 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43111 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43112 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43113 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43114 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43115 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43116 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43117 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43118 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43119 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43120 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43121 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43122 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43123 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43124 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43125 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43126 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43127 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43128 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43129 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43130 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43131 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43132 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43133 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43134 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43135 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43136 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43137 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43138 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43139 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43140 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43141 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43142 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43143 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43144 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43145 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43146 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43147 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43148 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43149 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43150 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43151 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43152 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43153 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43154 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43155 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43156 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43157 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43158 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43159 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43160 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43161 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43162 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43163 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43164 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43165 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43166 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43167 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43168 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43169 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43170 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43171 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43172 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43173 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43174 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43175 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43176 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43177 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43178 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43179 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43180 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43181 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43182 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43183 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43184 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43185 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43186 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43187 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43188 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43189 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43190 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43191 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43192 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43193 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43194 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43195 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43196 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43197 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43198 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43199 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43200 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43201 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43202 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43203 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43204 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43205 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43206 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43207 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43208 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43209 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43211 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43214 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43216 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43217 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43218 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43219 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43220 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43221 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43222 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43223 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43224 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43225 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43226 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43227 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43228 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43229 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43230 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43231 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43232 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43233 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43234 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43235 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43236 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43237 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43238 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43239 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43240 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43241 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43242 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43243 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43244 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43245 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43246 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43247 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43248 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43249 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43250 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43251 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43252 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43253 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43254 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43255 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43256 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43257 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43258 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43259 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43260 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43261 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43262 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43263 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43264 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43265 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43266 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43267 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43268 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43269 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43270 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43271 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43272 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43273 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43274 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43275 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43276 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43277 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43278 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43279 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43280 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43281 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43282 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43283 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43284 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43285 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43286 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43287 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43288 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43289 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43290 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43291 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43292 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43293 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43294 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43295 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43296 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43297 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43298 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43299 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43300 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43301 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43302 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43303 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43304 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43305 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43306 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43307 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43308 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43309 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43310 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43311 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43312 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43313 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43314 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43315 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43316 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43317 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43318 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43319 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43320 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43321 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43322 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43323 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43324 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43325 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43326 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43327 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43328 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43329 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43330 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43331 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43332 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43333 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43334 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43335 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43336 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43337 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43338 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43339 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43340 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43341 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43342 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43343 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43344 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43345 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43346 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43347 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43348 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43349 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43350 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43351 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43352 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43353 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43354 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43355 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43356 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43357 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43358 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43359 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43360 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43361 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43362 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43363 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43364 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43365 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43366 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43367 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43368 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43369 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43370 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43371 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43372 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43373 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43374 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43375 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43376 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43377 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43378 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43379 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43380 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43381 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43382 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43383 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43384 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43385 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43386 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43387 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43388 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43389 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43390 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43391 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43392 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43393 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43394 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43395 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43396 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43397 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43398 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43399 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43400 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43402 // Initialize threading, some globals and such
43406 // Although these are defined in __version__ they need to be here too so
43407 // that an assert can be done to ensure that the wxPython and the wxWindows
43409 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43410 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43411 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));