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
; }
1544 // A dummy class that raises an exception if used...
1548 wxEventLoop() { wxPyRaiseNotImplemented(); }
1549 int Run() { return 0; }
1550 void Exit(int rc
= 0) {}
1551 bool Pending() const { return false; }
1552 bool Dispatch() { return false; }
1553 bool IsRunning() const { return false; }
1554 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
1555 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
1560 #include <wx/evtloop.h>
1566 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1567 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1568 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1569 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1570 wxWindowList
& list
= self
->GetChildren();
1571 return wxPy_ConvertList(&list
);
1573 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1575 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1580 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1587 long wxWindow_GetHandle(wxWindow
*self
){
1588 return wxPyGetWinHandle(self
);
1590 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1591 self
->AssociateHandle((WXWidget
)handle
);
1594 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1595 return wxWindow::FindWindowById(id
, parent
);
1598 wxWindow
* wxFindWindowByName( const wxString
& name
,
1599 const wxWindow
*parent
= NULL
) {
1600 return wxWindow::FindWindowByName(name
, parent
);
1603 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1604 const wxWindow
*parent
= NULL
) {
1605 return wxWindow::FindWindowByLabel(label
, parent
);
1610 #include <wx/msw/private.h> // to get wxGetWindowId
1614 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1616 WXHWND hWnd
= (WXHWND
)_hWnd
;
1617 long id
= wxGetWindowId(hWnd
);
1618 wxWindow
* win
= new wxWindow
;
1619 parent
->AddChild(win
);
1620 win
->SetEventHandler(win
);
1623 win
->SubclassWin(hWnd
);
1624 win
->AdoptAttributesFromHWND();
1625 win
->SetupColours();
1628 wxPyRaiseNotImplemented();
1634 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1635 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1636 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1638 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1640 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1641 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1642 wxMenuItemList
& list
= self
->GetMenuItems();
1643 return wxPy_ConvertList(&list
);
1645 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1646 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1647 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1649 wxPyClientData
* data
= new wxPyClientData(clientData
);
1650 return self
->Append(item
, data
);
1652 return self
->Append(item
);
1654 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1656 wxPyClientData
* data
= new wxPyClientData(clientData
);
1657 return self
->Insert(item
, pos
, data
);
1659 return self
->Insert(item
, pos
);
1661 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1662 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1664 Py_INCREF(data
->m_obj
);
1671 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1672 wxPyClientData
* data
= new wxPyClientData(clientData
);
1673 self
->SetClientObject(n
, data
);
1677 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1678 wxPyUserData
* data
= NULL
;
1680 bool blocked
= wxPyBeginBlockThreads();
1681 data
= new wxPyUserData(userData
);
1682 wxPyEndBlockThreads(blocked
);
1684 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1686 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1687 wxPyUserData
* data
= NULL
;
1689 bool blocked
= wxPyBeginBlockThreads();
1690 data
= new wxPyUserData(userData
);
1691 wxPyEndBlockThreads(blocked
);
1693 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1695 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1696 wxPyUserData
* data
= NULL
;
1698 bool blocked
= wxPyBeginBlockThreads();
1699 data
= new wxPyUserData(userData
);
1700 wxPyEndBlockThreads(blocked
);
1702 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1706 SWIGSTATICINLINE(int)
1707 SWIG_CheckDoubleInRange(double value
, double min_value
,
1708 double max_value
, const char* errmsg
)
1710 if (value
< min_value
) {
1712 PyErr_Format(PyExc_OverflowError
,
1713 "value %g is less than %s minimum %g",
1714 value
, errmsg
, min_value
);
1717 } else if (value
> max_value
) {
1719 PyErr_Format(PyExc_OverflowError
,
1720 "value %g is greater than %s maximum %g",
1721 value
, errmsg
, max_value
);
1729 SWIGSTATICINLINE(int)
1730 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1732 const char* errmsg
= val
? "float" : 0;
1734 if (SWIG_AsVal_double(obj
, &v
)) {
1735 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1745 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1751 SWIGSTATICINLINE(float)
1752 SWIG_As_float(PyObject
* obj
)
1755 if (!SWIG_AsVal_float(obj
, &v
)) {
1757 this is needed to make valgrind/purify happier. the other
1758 solution is throw an exception, but since this code should work
1761 memset((void*)&v
, 0, sizeof(float));
1767 SWIGSTATICINLINE(int)
1768 SWIG_Check_float(PyObject
* obj
)
1770 return SWIG_AsVal_float(obj
, (float*)0);
1773 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1774 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1776 Py_INCREF(data
->m_obj
);
1784 // Figure out the type of the sizer item
1786 struct wxPySizerItemInfo
{
1788 : window(NULL
), sizer(NULL
), gotSize(false),
1789 size(wxDefaultSize
), gotPos(false), pos(-1)
1800 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1802 wxPySizerItemInfo info
;
1804 wxSize
* sizePtr
= &size
;
1806 // Find out what the type of the item is
1808 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1813 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1817 // try wxSize or (w,h)
1818 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1819 info
.size
= *sizePtr
;
1820 info
.gotSize
= true;
1824 if (checkIdx
&& PyInt_Check(item
)) {
1825 info
.pos
= PyInt_AsLong(item
);
1831 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1832 // no expected type, figure out what kind of error message to generate
1833 if ( !checkSize
&& !checkIdx
)
1834 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1835 else if ( checkSize
&& !checkIdx
)
1836 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1837 else if ( !checkSize
&& checkIdx
)
1838 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1840 // can this one happen?
1841 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1847 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1848 if (!self
->GetClientObject())
1849 self
->SetClientObject(new wxPyOORClientData(_self
));
1851 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1853 wxPyUserData
* data
= NULL
;
1854 bool blocked
= wxPyBeginBlockThreads();
1855 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1856 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1857 data
= new wxPyUserData(userData
);
1858 wxPyEndBlockThreads(blocked
);
1860 // Now call the real Add method if a valid item type was found
1862 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1863 else if ( info
.sizer
)
1864 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1865 else if (info
.gotSize
)
1866 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1867 proportion
, flag
, border
, data
);
1869 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1871 wxPyUserData
* data
= NULL
;
1872 bool blocked
= wxPyBeginBlockThreads();
1873 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1874 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1875 data
= new wxPyUserData(userData
);
1876 wxPyEndBlockThreads(blocked
);
1878 // Now call the real Insert method if a valid item type was found
1880 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1881 else if ( info
.sizer
)
1882 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1883 else if (info
.gotSize
)
1884 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1885 proportion
, flag
, border
, data
);
1887 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1889 wxPyUserData
* data
= NULL
;
1890 bool blocked
= wxPyBeginBlockThreads();
1891 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1892 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1893 data
= new wxPyUserData(userData
);
1894 wxPyEndBlockThreads(blocked
);
1896 // Now call the real Prepend method if a valid item type was found
1898 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1899 else if ( info
.sizer
)
1900 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1901 else if (info
.gotSize
)
1902 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1903 proportion
, flag
, border
, data
);
1905 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1906 bool blocked
= wxPyBeginBlockThreads();
1907 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1908 wxPyEndBlockThreads(blocked
);
1910 return self
->Remove(info
.window
);
1911 else if ( info
.sizer
)
1912 return self
->Remove(info
.sizer
);
1913 else if ( info
.gotPos
)
1914 return self
->Remove(info
.pos
);
1918 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1919 bool blocked
= wxPyBeginBlockThreads();
1920 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1921 wxPyEndBlockThreads(blocked
);
1923 return self
->Detach(info
.window
);
1924 else if ( info
.sizer
)
1925 return self
->Detach(info
.sizer
);
1926 else if ( info
.gotPos
)
1927 return self
->Detach(info
.pos
);
1931 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1932 bool blocked
= wxPyBeginBlockThreads();
1933 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1934 wxPyEndBlockThreads(blocked
);
1936 self
->SetItemMinSize(info
.window
, size
);
1937 else if ( info
.sizer
)
1938 self
->SetItemMinSize(info
.sizer
, size
);
1939 else if ( info
.gotPos
)
1940 self
->SetItemMinSize(info
.pos
, size
);
1942 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1943 wxSizerItemList
& list
= self
->GetChildren();
1944 return wxPy_ConvertList(&list
);
1946 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1947 bool blocked
= wxPyBeginBlockThreads();
1948 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1949 wxPyEndBlockThreads(blocked
);
1951 return self
->Show(info
.window
, show
, recursive
);
1952 else if ( info
.sizer
)
1953 return self
->Show(info
.sizer
, show
, recursive
);
1954 else if ( info
.gotPos
)
1955 return self
->Show(info
.pos
, show
);
1959 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1960 bool blocked
= wxPyBeginBlockThreads();
1961 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1962 wxPyEndBlockThreads(blocked
);
1964 return self
->IsShown(info
.window
);
1965 else if ( info
.sizer
)
1966 return self
->IsShown(info
.sizer
);
1967 else if ( info
.gotPos
)
1968 return self
->IsShown(info
.pos
);
1974 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1975 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1976 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1981 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1983 if (source
== Py_None
) {
1984 **obj
= wxGBPosition(-1,-1);
1987 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1990 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1992 if (source
== Py_None
) {
1993 **obj
= wxGBSpan(-1,-1);
1996 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
2000 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2004 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2005 bool blocked
= wxPyBeginBlockThreads();
2006 PyObject
* tup
= PyTuple_New(2);
2007 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2008 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2009 wxPyEndBlockThreads(blocked
);
2012 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2013 self
->SetRowspan(rowspan
);
2014 self
->SetColspan(colspan
);
2016 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2017 bool blocked
= wxPyBeginBlockThreads();
2018 PyObject
* tup
= PyTuple_New(2);
2019 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2020 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2021 wxPyEndBlockThreads(blocked
);
2024 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2025 wxPyUserData
* data
= NULL
;
2027 bool blocked
= wxPyBeginBlockThreads();
2028 data
= new wxPyUserData(userData
);
2029 wxPyEndBlockThreads(blocked
);
2031 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2033 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2034 wxPyUserData
* data
= NULL
;
2036 bool blocked
= wxPyBeginBlockThreads();
2037 data
= new wxPyUserData(userData
);
2038 wxPyEndBlockThreads(blocked
);
2040 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2042 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2043 wxPyUserData
* data
= NULL
;
2045 bool blocked
= wxPyBeginBlockThreads();
2046 data
= new wxPyUserData(userData
);
2047 wxPyEndBlockThreads(blocked
);
2049 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2051 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2053 self
->GetEndPos(row
, col
);
2054 return wxGBPosition(row
, col
);
2056 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2058 wxPyUserData
* data
= NULL
;
2059 bool blocked
= wxPyBeginBlockThreads();
2060 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2061 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2062 data
= new wxPyUserData(userData
);
2063 wxPyEndBlockThreads(blocked
);
2065 // Now call the real Add method if a valid item type was found
2067 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2068 else if ( info
.sizer
)
2069 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2070 else if (info
.gotSize
)
2071 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2072 pos
, span
, flag
, border
, data
);
2080 static int _wrap_EmptyString_set(PyObject
*) {
2081 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2086 static PyObject
*_wrap_EmptyString_get() {
2091 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2093 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2100 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxObject
*arg1
= (wxObject
*) 0 ;
2104 PyObject
* obj0
= 0 ;
2106 (char *) "self", NULL
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 result
= wxObject_GetClassName(arg1
);
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2132 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2134 wxObject
*arg1
= (wxObject
*) 0 ;
2135 PyObject
* obj0
= 0 ;
2137 (char *) "self", NULL
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 wxObject_Destroy(arg1
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) SWIG_fail
;
2150 Py_INCREF(Py_None
); resultobj
= Py_None
;
2157 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2160 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2162 return Py_BuildValue((char *)"");
2164 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
*resultobj
;
2166 wxSize
*arg1
= (wxSize
*) 0 ;
2168 PyObject
* obj0
= 0 ;
2169 PyObject
* obj1
= 0 ;
2171 (char *) "self",(char *) "x", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2177 arg2
= (int)SWIG_As_int(obj1
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2179 if (arg1
) (arg1
)->x
= arg2
;
2181 Py_INCREF(Py_None
); resultobj
= Py_None
;
2188 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
*resultobj
;
2190 wxSize
*arg1
= (wxSize
*) 0 ;
2192 PyObject
* obj0
= 0 ;
2194 (char *) "self", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 result
= (int) ((arg1
)->x
);
2202 resultobj
= SWIG_From_int((int)result
);
2209 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxSize
*arg1
= (wxSize
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2214 PyObject
* obj1
= 0 ;
2216 (char *) "self",(char *) "y", NULL
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2222 arg2
= (int)SWIG_As_int(obj1
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2224 if (arg1
) (arg1
)->y
= arg2
;
2226 Py_INCREF(Py_None
); resultobj
= Py_None
;
2233 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2235 wxSize
*arg1
= (wxSize
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2239 (char *) "self", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2245 result
= (int) ((arg1
)->y
);
2247 resultobj
= SWIG_From_int((int)result
);
2254 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 int arg1
= (int) 0 ;
2257 int arg2
= (int) 0 ;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 (char *) "w",(char *) "h", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2267 arg1
= (int)SWIG_As_int(obj0
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2271 arg2
= (int)SWIG_As_int(obj1
);
2272 if (PyErr_Occurred()) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2288 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxSize
*arg1
= (wxSize
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2293 (char *) "self", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 Py_INCREF(Py_None
); resultobj
= Py_None
;
2313 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxSize
*arg1
= (wxSize
*) 0 ;
2319 PyObject
* obj0
= 0 ;
2320 PyObject
* obj1
= 0 ;
2322 (char *) "self",(char *) "sz", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2330 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2348 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 wxSize
*arg1
= (wxSize
*) 0 ;
2354 PyObject
* obj0
= 0 ;
2355 PyObject
* obj1
= 0 ;
2357 (char *) "self",(char *) "sz", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2365 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2383 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2385 wxSize
*arg1
= (wxSize
*) 0 ;
2389 PyObject
* obj0
= 0 ;
2390 PyObject
* obj1
= 0 ;
2392 (char *) "self",(char *) "sz", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2411 resultptr
= new wxSize((wxSize
&) result
);
2412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2420 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxSize
*arg1
= (wxSize
*) 0 ;
2426 PyObject
* obj0
= 0 ;
2427 PyObject
* obj1
= 0 ;
2429 (char *) "self",(char *) "sz", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2437 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2448 resultptr
= new wxSize((wxSize
&) result
);
2449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2457 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2459 wxSize
*arg1
= (wxSize
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "sz", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2473 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 (arg1
)->IncTo((wxSize
const &)*arg2
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2482 Py_INCREF(Py_None
); resultobj
= Py_None
;
2489 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
*resultobj
;
2491 wxSize
*arg1
= (wxSize
*) 0 ;
2494 PyObject
* obj0
= 0 ;
2495 PyObject
* obj1
= 0 ;
2497 (char *) "self",(char *) "sz", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2505 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 (arg1
)->DecTo((wxSize
const &)*arg2
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2514 Py_INCREF(Py_None
); resultobj
= Py_None
;
2521 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2523 wxSize
*arg1
= (wxSize
*) 0 ;
2526 PyObject
* obj0
= 0 ;
2527 PyObject
* obj1
= 0 ;
2528 PyObject
* obj2
= 0 ;
2530 (char *) "self",(char *) "w",(char *) "h", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2536 arg2
= (int)SWIG_As_int(obj1
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2538 arg3
= (int)SWIG_As_int(obj2
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 (arg1
)->Set(arg2
,arg3
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxSize
*arg1
= (wxSize
*) 0 ;
2558 PyObject
* obj0
= 0 ;
2559 PyObject
* obj1
= 0 ;
2561 (char *) "self",(char *) "w", NULL
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2567 arg2
= (int)SWIG_As_int(obj1
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 (arg1
)->SetWidth(arg2
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2576 Py_INCREF(Py_None
); resultobj
= Py_None
;
2583 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
*resultobj
;
2585 wxSize
*arg1
= (wxSize
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2588 PyObject
* obj1
= 0 ;
2590 (char *) "self",(char *) "h", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2596 arg2
= (int)SWIG_As_int(obj1
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 (arg1
)->SetHeight(arg2
);
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2605 Py_INCREF(Py_None
); resultobj
= Py_None
;
2612 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
*resultobj
;
2614 wxSize
*arg1
= (wxSize
*) 0 ;
2616 PyObject
* obj0
= 0 ;
2618 (char *) "self", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= SWIG_From_int((int)result
);
2638 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2640 wxSize
*arg1
= (wxSize
*) 0 ;
2642 PyObject
* obj0
= 0 ;
2644 (char *) "self", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 resultobj
= SWIG_From_int((int)result
);
2664 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxSize
*arg1
= (wxSize
*) 0 ;
2668 PyObject
* obj0
= 0 ;
2670 (char *) "self", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) SWIG_fail
;
2684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2692 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
;
2694 wxSize
*arg1
= (wxSize
*) 0 ;
2697 PyObject
* obj0
= 0 ;
2698 PyObject
* obj1
= 0 ;
2700 (char *) "self",(char *) "size", NULL
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2708 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 Py_INCREF(Py_None
); resultobj
= Py_None
;
2724 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxSize
*arg1
= (wxSize
*) 0 ;
2728 PyObject
* obj0
= 0 ;
2730 (char *) "self", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 result
= (PyObject
*)wxSize_Get(arg1
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2750 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2753 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2755 return Py_BuildValue((char *)"");
2757 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
*resultobj
;
2759 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2761 PyObject
* obj0
= 0 ;
2762 PyObject
* obj1
= 0 ;
2764 (char *) "self",(char *) "x", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2770 arg2
= (double)SWIG_As_double(obj1
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2772 if (arg1
) (arg1
)->x
= arg2
;
2774 Py_INCREF(Py_None
); resultobj
= Py_None
;
2781 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2785 PyObject
* obj0
= 0 ;
2787 (char *) "self", NULL
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2793 result
= (double) ((arg1
)->x
);
2795 resultobj
= SWIG_From_double((double)result
);
2802 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2806 PyObject
* obj0
= 0 ;
2807 PyObject
* obj1
= 0 ;
2809 (char *) "self",(char *) "y", NULL
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2815 arg2
= (double)SWIG_As_double(obj1
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2817 if (arg1
) (arg1
)->y
= arg2
;
2819 Py_INCREF(Py_None
); resultobj
= Py_None
;
2826 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2830 PyObject
* obj0
= 0 ;
2832 (char *) "self", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2838 result
= (double) ((arg1
)->y
);
2840 resultobj
= SWIG_From_double((double)result
);
2847 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2849 double arg1
= (double) 0.0 ;
2850 double arg2
= (double) 0.0 ;
2851 wxRealPoint
*result
;
2852 PyObject
* obj0
= 0 ;
2853 PyObject
* obj1
= 0 ;
2855 (char *) "x",(char *) "y", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2860 arg1
= (double)SWIG_As_double(obj0
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2864 arg2
= (double)SWIG_As_double(obj1
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2881 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2884 PyObject
* obj0
= 0 ;
2886 (char *) "self", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2899 Py_INCREF(Py_None
); resultobj
= Py_None
;
2906 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
;
2908 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2909 wxRealPoint
*arg2
= 0 ;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2915 (char *) "self",(char *) "pt", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2923 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2941 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2944 wxRealPoint
*arg2
= 0 ;
2947 PyObject
* obj0
= 0 ;
2948 PyObject
* obj1
= 0 ;
2950 (char *) "self",(char *) "pt", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2958 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2976 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2979 wxRealPoint
*arg2
= 0 ;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2985 (char *) "self",(char *) "pt", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2993 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3003 wxRealPoint
* resultptr
;
3004 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3013 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3016 wxRealPoint
*arg2
= 0 ;
3019 PyObject
* obj0
= 0 ;
3020 PyObject
* obj1
= 0 ;
3022 (char *) "self",(char *) "pt", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3030 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3040 wxRealPoint
* resultptr
;
3041 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3050 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3055 PyObject
* obj0
= 0 ;
3056 PyObject
* obj1
= 0 ;
3057 PyObject
* obj2
= 0 ;
3059 (char *) "self",(char *) "x",(char *) "y", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3065 arg2
= (double)SWIG_As_double(obj1
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3067 arg3
= (double)SWIG_As_double(obj2
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 wxRealPoint_Set(arg1
,arg2
,arg3
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3076 Py_INCREF(Py_None
); resultobj
= Py_None
;
3083 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3087 PyObject
* obj0
= 0 ;
3089 (char *) "self", NULL
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3109 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3112 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3114 return Py_BuildValue((char *)"");
3116 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxPoint
*arg1
= (wxPoint
*) 0 ;
3120 PyObject
* obj0
= 0 ;
3121 PyObject
* obj1
= 0 ;
3123 (char *) "self",(char *) "x", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3129 arg2
= (int)SWIG_As_int(obj1
);
3130 if (PyErr_Occurred()) SWIG_fail
;
3131 if (arg1
) (arg1
)->x
= arg2
;
3133 Py_INCREF(Py_None
); resultobj
= Py_None
;
3140 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
;
3142 wxPoint
*arg1
= (wxPoint
*) 0 ;
3144 PyObject
* obj0
= 0 ;
3146 (char *) "self", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3152 result
= (int) ((arg1
)->x
);
3154 resultobj
= SWIG_From_int((int)result
);
3161 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxPoint
*arg1
= (wxPoint
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3166 PyObject
* obj1
= 0 ;
3168 (char *) "self",(char *) "y", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3174 arg2
= (int)SWIG_As_int(obj1
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3176 if (arg1
) (arg1
)->y
= arg2
;
3178 Py_INCREF(Py_None
); resultobj
= Py_None
;
3185 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxPoint
*arg1
= (wxPoint
*) 0 ;
3189 PyObject
* obj0
= 0 ;
3191 (char *) "self", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 result
= (int) ((arg1
)->y
);
3199 resultobj
= SWIG_From_int((int)result
);
3206 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 int arg1
= (int) 0 ;
3209 int arg2
= (int) 0 ;
3211 PyObject
* obj0
= 0 ;
3212 PyObject
* obj1
= 0 ;
3214 (char *) "x",(char *) "y", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3219 arg1
= (int)SWIG_As_int(obj0
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3223 arg2
= (int)SWIG_As_int(obj1
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3240 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxPoint
*arg1
= (wxPoint
*) 0 ;
3243 PyObject
* obj0
= 0 ;
3245 (char *) "self", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3258 Py_INCREF(Py_None
); resultobj
= Py_None
;
3265 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3267 wxPoint
*arg1
= (wxPoint
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3272 PyObject
* obj1
= 0 ;
3274 (char *) "self",(char *) "pt", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3300 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3302 wxPoint
*arg1
= (wxPoint
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3307 PyObject
* obj1
= 0 ;
3309 (char *) "self",(char *) "pt", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3335 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxPoint
*arg1
= (wxPoint
*) 0 ;
3341 PyObject
* obj0
= 0 ;
3342 PyObject
* obj1
= 0 ;
3344 (char *) "self",(char *) "pt", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3352 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3362 wxPoint
* resultptr
;
3363 resultptr
= new wxPoint((wxPoint
&) result
);
3364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3372 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxPoint
*arg1
= (wxPoint
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3381 (char *) "self",(char *) "pt", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3399 wxPoint
* resultptr
;
3400 resultptr
= new wxPoint((wxPoint
&) result
);
3401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3409 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
*resultobj
;
3411 wxPoint
*arg1
= (wxPoint
*) 0 ;
3415 PyObject
* obj0
= 0 ;
3416 PyObject
* obj1
= 0 ;
3418 (char *) "self",(char *) "pt", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3423 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3432 result
= (wxPoint
*) &_result_ref
;
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3445 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxPoint
*arg1
= (wxPoint
*) 0 ;
3451 PyObject
* obj0
= 0 ;
3452 PyObject
* obj1
= 0 ;
3454 (char *) "self",(char *) "pt", NULL
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3459 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3468 result
= (wxPoint
*) &_result_ref
;
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3481 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxPoint
*arg1
= (wxPoint
*) 0 ;
3486 PyObject
* obj0
= 0 ;
3487 PyObject
* obj1
= 0 ;
3488 PyObject
* obj2
= 0 ;
3490 (char *) "self",(char *) "x",(char *) "y", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3496 arg2
= (long)SWIG_As_long(obj1
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3498 arg3
= (long)SWIG_As_long(obj2
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 wxPoint_Set(arg1
,arg2
,arg3
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 Py_INCREF(Py_None
); resultobj
= Py_None
;
3514 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxPoint
*arg1
= (wxPoint
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3520 (char *) "self", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (PyObject
*)wxPoint_Get(arg1
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3540 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3543 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3545 return Py_BuildValue((char *)"");
3547 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
;
3549 int arg1
= (int) 0 ;
3550 int arg2
= (int) 0 ;
3551 int arg3
= (int) 0 ;
3552 int arg4
= (int) 0 ;
3554 PyObject
* obj0
= 0 ;
3555 PyObject
* obj1
= 0 ;
3556 PyObject
* obj2
= 0 ;
3557 PyObject
* obj3
= 0 ;
3559 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3564 arg1
= (int)SWIG_As_int(obj0
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3568 arg2
= (int)SWIG_As_int(obj1
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3572 arg3
= (int)SWIG_As_int(obj2
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3576 arg4
= (int)SWIG_As_int(obj3
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3593 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3600 PyObject
* obj0
= 0 ;
3601 PyObject
* obj1
= 0 ;
3603 (char *) "topLeft",(char *) "bottomRight", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3609 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3629 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3636 PyObject
* obj0
= 0 ;
3637 PyObject
* obj1
= 0 ;
3639 (char *) "pos",(char *) "size", NULL
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3645 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3649 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3665 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxRect
*arg1
= (wxRect
*) 0 ;
3668 PyObject
* obj0
= 0 ;
3670 (char *) "self", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3683 Py_INCREF(Py_None
); resultobj
= Py_None
;
3690 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxRect
*arg1
= (wxRect
*) 0 ;
3694 PyObject
* obj0
= 0 ;
3696 (char *) "self", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (int)((wxRect
const *)arg1
)->GetX();
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= SWIG_From_int((int)result
);
3716 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3718 wxRect
*arg1
= (wxRect
*) 0 ;
3720 PyObject
* obj0
= 0 ;
3721 PyObject
* obj1
= 0 ;
3723 (char *) "self",(char *) "x", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3729 arg2
= (int)SWIG_As_int(obj1
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3738 Py_INCREF(Py_None
); resultobj
= Py_None
;
3745 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3747 wxRect
*arg1
= (wxRect
*) 0 ;
3749 PyObject
* obj0
= 0 ;
3751 (char *) "self", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (int)(arg1
)->GetY();
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 resultobj
= SWIG_From_int((int)result
);
3771 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxRect
*arg1
= (wxRect
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3776 PyObject
* obj1
= 0 ;
3778 (char *) "self",(char *) "y", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 arg2
= (int)SWIG_As_int(obj1
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 Py_INCREF(Py_None
); resultobj
= Py_None
;
3800 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 wxRect
*arg1
= (wxRect
*) 0 ;
3804 PyObject
* obj0
= 0 ;
3806 (char *) "self", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 resultobj
= SWIG_From_int((int)result
);
3826 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxRect
*arg1
= (wxRect
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3831 PyObject
* obj1
= 0 ;
3833 (char *) "self",(char *) "w", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3839 arg2
= (int)SWIG_As_int(obj1
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 (arg1
)->SetWidth(arg2
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 Py_INCREF(Py_None
); resultobj
= Py_None
;
3855 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
;
3857 wxRect
*arg1
= (wxRect
*) 0 ;
3859 PyObject
* obj0
= 0 ;
3861 (char *) "self", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_From_int((int)result
);
3881 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxRect
*arg1
= (wxRect
*) 0 ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3888 (char *) "self",(char *) "h", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3894 arg2
= (int)SWIG_As_int(obj1
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 (arg1
)->SetHeight(arg2
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 Py_INCREF(Py_None
); resultobj
= Py_None
;
3910 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxRect
*arg1
= (wxRect
*) 0 ;
3914 PyObject
* obj0
= 0 ;
3916 (char *) "self", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= ((wxRect
const *)arg1
)->GetPosition();
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3930 wxPoint
* resultptr
;
3931 resultptr
= new wxPoint((wxPoint
&) result
);
3932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3940 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxRect
*arg1
= (wxRect
*) 0 ;
3945 PyObject
* obj0
= 0 ;
3946 PyObject
* obj1
= 0 ;
3948 (char *) "self",(char *) "p", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 Py_INCREF(Py_None
); resultobj
= Py_None
;
3972 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
;
3974 wxRect
*arg1
= (wxRect
*) 0 ;
3976 PyObject
* obj0
= 0 ;
3978 (char *) "self", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 result
= ((wxRect
const *)arg1
)->GetSize();
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3993 resultptr
= new wxSize((wxSize
&) result
);
3994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4002 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4004 wxRect
*arg1
= (wxRect
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4008 PyObject
* obj1
= 0 ;
4010 (char *) "self",(char *) "s", NULL
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4018 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 (arg1
)->SetSize((wxSize
const &)*arg2
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4027 Py_INCREF(Py_None
); resultobj
= Py_None
;
4034 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 wxRect
*arg1
= (wxRect
*) 0 ;
4038 PyObject
* obj0
= 0 ;
4040 (char *) "self", NULL
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4054 wxPoint
* resultptr
;
4055 resultptr
= new wxPoint((wxPoint
&) result
);
4056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4064 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
;
4066 wxRect
*arg1
= (wxRect
*) 0 ;
4069 PyObject
* obj0
= 0 ;
4070 PyObject
* obj1
= 0 ;
4072 (char *) "self",(char *) "p", NULL
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 Py_INCREF(Py_None
); resultobj
= Py_None
;
4096 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
;
4098 wxRect
*arg1
= (wxRect
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4102 (char *) "self", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4116 wxPoint
* resultptr
;
4117 resultptr
= new wxPoint((wxPoint
&) result
);
4118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4126 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4128 wxRect
*arg1
= (wxRect
*) 0 ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4134 (char *) "self",(char *) "p", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 Py_INCREF(Py_None
); resultobj
= Py_None
;
4158 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxRect
*arg1
= (wxRect
*) 0 ;
4162 PyObject
* obj0
= 0 ;
4164 (char *) "self", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_From_int((int)result
);
4184 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxRect
*arg1
= (wxRect
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4190 (char *) "self", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (int)((wxRect
const *)arg1
)->GetTop();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_From_int((int)result
);
4210 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxRect
*arg1
= (wxRect
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4216 (char *) "self", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_From_int((int)result
);
4236 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxRect
*arg1
= (wxRect
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4242 (char *) "self", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= (int)((wxRect
const *)arg1
)->GetRight();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_From_int((int)result
);
4262 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxRect
*arg1
= (wxRect
*) 0 ;
4266 PyObject
* obj0
= 0 ;
4267 PyObject
* obj1
= 0 ;
4269 (char *) "self",(char *) "left", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4275 arg2
= (int)SWIG_As_int(obj1
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 (arg1
)->SetLeft(arg2
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 Py_INCREF(Py_None
); resultobj
= Py_None
;
4291 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxRect
*arg1
= (wxRect
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4296 PyObject
* obj1
= 0 ;
4298 (char *) "self",(char *) "right", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4304 arg2
= (int)SWIG_As_int(obj1
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->SetRight(arg2
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 Py_INCREF(Py_None
); resultobj
= Py_None
;
4320 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxRect
*arg1
= (wxRect
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4327 (char *) "self",(char *) "top", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4333 arg2
= (int)SWIG_As_int(obj1
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->SetTop(arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxRect
*arg1
= (wxRect
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4356 (char *) "self",(char *) "bottom", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4362 arg2
= (int)SWIG_As_int(obj1
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 (arg1
)->SetBottom(arg2
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 Py_INCREF(Py_None
); resultobj
= Py_None
;
4378 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4380 wxRect
*arg1
= (wxRect
*) 0 ;
4384 PyObject
* obj0
= 0 ;
4385 PyObject
* obj1
= 0 ;
4386 PyObject
* obj2
= 0 ;
4388 (char *) "self",(char *) "dx",(char *) "dy", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4394 arg2
= (int)SWIG_As_int(obj1
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4396 arg3
= (int)SWIG_As_int(obj2
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4402 result
= (wxRect
*) &_result_ref
;
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4415 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 wxRect
*arg1
= (wxRect
*) 0 ;
4421 PyObject
* obj0
= 0 ;
4422 PyObject
* obj1
= 0 ;
4423 PyObject
* obj2
= 0 ;
4425 (char *) "self",(char *) "dx",(char *) "dy", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4431 arg2
= (int)SWIG_As_int(obj1
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4433 arg3
= (int)SWIG_As_int(obj2
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4439 result
= (wxRect
*) &_result_ref
;
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4452 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxRect
*arg1
= (wxRect
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4459 PyObject
* obj2
= 0 ;
4461 (char *) "self",(char *) "dx",(char *) "dy", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4467 arg2
= (int)SWIG_As_int(obj1
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4469 arg3
= (int)SWIG_As_int(obj2
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 (arg1
)->Offset(arg2
,arg3
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 Py_INCREF(Py_None
); resultobj
= Py_None
;
4485 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
;
4487 wxRect
*arg1
= (wxRect
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4493 (char *) "self",(char *) "pt", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 (arg1
)->Offset((wxPoint
const &)*arg2
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 Py_INCREF(Py_None
); resultobj
= Py_None
;
4517 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4519 wxRect
*arg1
= (wxRect
*) 0 ;
4523 PyObject
* obj0
= 0 ;
4524 PyObject
* obj1
= 0 ;
4526 (char *) "self",(char *) "rect", NULL
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4534 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4540 result
= (wxRect
*) &_result_ref
;
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4553 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxRect
*arg1
= (wxRect
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4562 (char *) "self",(char *) "rect", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4570 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4581 resultptr
= new wxRect((wxRect
&) result
);
4582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4590 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxRect
*arg1
= (wxRect
*) 0 ;
4596 PyObject
* obj0
= 0 ;
4597 PyObject
* obj1
= 0 ;
4599 (char *) "self",(char *) "rect", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4604 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4607 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4613 result
= (wxRect
*) &_result_ref
;
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4626 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxRect
*arg1
= (wxRect
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4635 (char *) "self",(char *) "rect", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4643 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4661 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxRect
*arg1
= (wxRect
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4670 (char *) "self",(char *) "rect", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4678 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4696 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
*resultobj
;
4698 wxRect
*arg1
= (wxRect
*) 0 ;
4702 PyObject
* obj0
= 0 ;
4703 PyObject
* obj1
= 0 ;
4704 PyObject
* obj2
= 0 ;
4706 (char *) "self",(char *) "x",(char *) "y", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4712 arg2
= (int)SWIG_As_int(obj1
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4714 arg3
= (int)SWIG_As_int(obj2
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4732 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxRect
*arg1
= (wxRect
*) 0 ;
4738 PyObject
* obj0
= 0 ;
4739 PyObject
* obj1
= 0 ;
4741 (char *) "self",(char *) "pt", NULL
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4749 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4767 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 wxRect
*arg1
= (wxRect
*) 0 ;
4773 PyObject
* obj0
= 0 ;
4774 PyObject
* obj1
= 0 ;
4776 (char *) "self",(char *) "rect", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4784 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4802 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
;
4804 wxRect
*arg1
= (wxRect
*) 0 ;
4806 PyObject
* obj0
= 0 ;
4807 PyObject
* obj1
= 0 ;
4809 (char *) "self",(char *) "x", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4815 arg2
= (int)SWIG_As_int(obj1
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4817 if (arg1
) (arg1
)->x
= arg2
;
4819 Py_INCREF(Py_None
); resultobj
= Py_None
;
4826 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
*resultobj
;
4828 wxRect
*arg1
= (wxRect
*) 0 ;
4830 PyObject
* obj0
= 0 ;
4832 (char *) "self", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4838 result
= (int) ((arg1
)->x
);
4840 resultobj
= SWIG_From_int((int)result
);
4847 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4849 wxRect
*arg1
= (wxRect
*) 0 ;
4851 PyObject
* obj0
= 0 ;
4852 PyObject
* obj1
= 0 ;
4854 (char *) "self",(char *) "y", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4860 arg2
= (int)SWIG_As_int(obj1
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4862 if (arg1
) (arg1
)->y
= arg2
;
4864 Py_INCREF(Py_None
); resultobj
= Py_None
;
4871 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxRect
*arg1
= (wxRect
*) 0 ;
4875 PyObject
* obj0
= 0 ;
4877 (char *) "self", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4883 result
= (int) ((arg1
)->y
);
4885 resultobj
= SWIG_From_int((int)result
);
4892 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 wxRect
*arg1
= (wxRect
*) 0 ;
4896 PyObject
* obj0
= 0 ;
4897 PyObject
* obj1
= 0 ;
4899 (char *) "self",(char *) "width", NULL
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4905 arg2
= (int)SWIG_As_int(obj1
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4907 if (arg1
) (arg1
)->width
= arg2
;
4909 Py_INCREF(Py_None
); resultobj
= Py_None
;
4916 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxRect
*arg1
= (wxRect
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4922 (char *) "self", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 result
= (int) ((arg1
)->width
);
4930 resultobj
= SWIG_From_int((int)result
);
4937 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxRect
*arg1
= (wxRect
*) 0 ;
4941 PyObject
* obj0
= 0 ;
4942 PyObject
* obj1
= 0 ;
4944 (char *) "self",(char *) "height", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4950 arg2
= (int)SWIG_As_int(obj1
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4952 if (arg1
) (arg1
)->height
= arg2
;
4954 Py_INCREF(Py_None
); resultobj
= Py_None
;
4961 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
;
4963 wxRect
*arg1
= (wxRect
*) 0 ;
4965 PyObject
* obj0
= 0 ;
4967 (char *) "self", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4973 result
= (int) ((arg1
)->height
);
4975 resultobj
= SWIG_From_int((int)result
);
4982 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxRect
*arg1
= (wxRect
*) 0 ;
4985 int arg2
= (int) 0 ;
4986 int arg3
= (int) 0 ;
4987 int arg4
= (int) 0 ;
4988 int arg5
= (int) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4991 PyObject
* obj2
= 0 ;
4992 PyObject
* obj3
= 0 ;
4993 PyObject
* obj4
= 0 ;
4995 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5002 arg2
= (int)SWIG_As_int(obj1
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5006 arg3
= (int)SWIG_As_int(obj2
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5010 arg4
= (int)SWIG_As_int(obj3
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 arg5
= (int)SWIG_As_int(obj4
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 Py_INCREF(Py_None
); resultobj
= Py_None
;
5031 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxRect
*arg1
= (wxRect
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5037 (char *) "self", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 result
= (PyObject
*)wxRect_Get(arg1
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5057 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5060 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5062 return Py_BuildValue((char *)"");
5064 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
;
5066 wxRect
*arg1
= (wxRect
*) 0 ;
5067 wxRect
*arg2
= (wxRect
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5072 (char *) "r1",(char *) "r2", NULL
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5081 if (!wxPyCheckForApp()) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5095 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 double arg1
= (double) 0.0 ;
5098 double arg2
= (double) 0.0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5103 (char *) "x",(char *) "y", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5108 arg1
= (double)SWIG_As_double(obj0
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5112 arg2
= (double)SWIG_As_double(obj1
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5129 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxPoint2D
*arg1
= 0 ;
5134 PyObject
* obj0
= 0 ;
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5142 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5158 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5163 PyObject
* obj0
= 0 ;
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5171 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5187 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5190 int *arg2
= (int *) 0 ;
5191 int *arg3
= (int *) 0 ;
5196 PyObject
* obj0
= 0 ;
5198 (char *) "self", NULL
5201 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5202 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5214 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5215 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5216 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5217 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5224 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5227 int *arg2
= (int *) 0 ;
5228 int *arg3
= (int *) 0 ;
5233 PyObject
* obj0
= 0 ;
5235 (char *) "self", NULL
5238 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5239 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5251 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5252 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5253 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5254 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5261 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5265 PyObject
* obj0
= 0 ;
5267 (char *) "self", NULL
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5280 resultobj
= SWIG_From_double((double)result
);
5287 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5291 PyObject
* obj0
= 0 ;
5293 (char *) "self", NULL
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= SWIG_From_double((double)result
);
5313 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5320 (char *) "self",(char *) "length", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5326 arg2
= (double)SWIG_As_double(obj1
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 (arg1
)->SetVectorLength(arg2
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 Py_INCREF(Py_None
); resultobj
= Py_None
;
5342 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5349 (char *) "self",(char *) "degrees", NULL
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 arg2
= (double)SWIG_As_double(obj1
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 (arg1
)->SetVectorAngle(arg2
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 Py_INCREF(Py_None
); resultobj
= Py_None
;
5371 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5374 wxPoint2D
*arg2
= 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "pt", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5388 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_From_double((double)result
);
5404 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5407 wxPoint2D
*arg2
= 0 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5413 (char *) "self",(char *) "pt", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= SWIG_From_double((double)result
);
5437 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5440 wxPoint2D
*arg2
= 0 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5446 (char *) "self",(char *) "vec", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_From_double((double)result
);
5470 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5472 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5473 wxPoint2D
*arg2
= 0 ;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5479 (char *) "self",(char *) "vec", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5487 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_From_double((double)result
);
5503 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "self", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (arg1
)->operator -();
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5523 wxPoint2D
* resultptr
;
5524 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5533 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5536 wxPoint2D
*arg2
= 0 ;
5539 PyObject
* obj0
= 0 ;
5540 PyObject
* obj1
= 0 ;
5542 (char *) "self",(char *) "pt", NULL
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5547 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5550 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5556 result
= (wxPoint2D
*) &_result_ref
;
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5569 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5572 wxPoint2D
*arg2
= 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5578 (char *) "self",(char *) "pt", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5583 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5586 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5592 result
= (wxPoint2D
*) &_result_ref
;
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5605 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5608 wxPoint2D
*arg2
= 0 ;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5614 (char *) "self",(char *) "pt", NULL
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5619 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5622 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5628 result
= (wxPoint2D
*) &_result_ref
;
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5641 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5644 wxPoint2D
*arg2
= 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5650 (char *) "self",(char *) "pt", NULL
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5655 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5658 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5664 result
= (wxPoint2D
*) &_result_ref
;
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5677 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5680 wxPoint2D
*arg2
= 0 ;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj1
= 0 ;
5686 (char *) "self",(char *) "pt", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5694 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5712 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5715 wxPoint2D
*arg2
= 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5721 (char *) "self",(char *) "pt", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5729 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5747 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5751 PyObject
* obj0
= 0 ;
5752 PyObject
* obj1
= 0 ;
5754 (char *) "self",(char *) "m_x", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 arg2
= (double)SWIG_As_double(obj1
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5762 if (arg1
) (arg1
)->m_x
= arg2
;
5764 Py_INCREF(Py_None
); resultobj
= Py_None
;
5771 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 result
= (double) ((arg1
)->m_x
);
5785 resultobj
= SWIG_From_double((double)result
);
5792 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5797 PyObject
* obj1
= 0 ;
5799 (char *) "self",(char *) "m_y", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5805 arg2
= (double)SWIG_As_double(obj1
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5807 if (arg1
) (arg1
)->m_y
= arg2
;
5809 Py_INCREF(Py_None
); resultobj
= Py_None
;
5816 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5822 (char *) "self", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 result
= (double) ((arg1
)->m_y
);
5830 resultobj
= SWIG_From_double((double)result
);
5837 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5840 double arg2
= (double) 0 ;
5841 double arg3
= (double) 0 ;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5844 PyObject
* obj2
= 0 ;
5846 (char *) "self",(char *) "x",(char *) "y", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 arg2
= (double)SWIG_As_double(obj1
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5857 arg3
= (double)SWIG_As_double(obj2
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 wxPoint2D_Set(arg1
,arg2
,arg3
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 Py_INCREF(Py_None
); resultobj
= Py_None
;
5874 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5900 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5903 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5905 return Py_BuildValue((char *)"");
5907 static int _wrap_DefaultPosition_set(PyObject
*) {
5908 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5913 static PyObject
*_wrap_DefaultPosition_get() {
5916 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5921 static int _wrap_DefaultSize_set(PyObject
*) {
5922 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5927 static PyObject
*_wrap_DefaultSize_get() {
5930 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5935 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 PyObject
*arg1
= (PyObject
*) 0 ;
5938 wxPyInputStream
*result
;
5939 PyObject
* obj0
= 0 ;
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5960 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5965 (char *) "self", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 Py_INCREF(Py_None
); resultobj
= Py_None
;
5985 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5987 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 Py_INCREF(Py_None
); resultobj
= Py_None
;
6010 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6016 (char *) "self", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (bool)(arg1
)->eof();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6038 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6041 int arg2
= (int) -1 ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6046 (char *) "self",(char *) "size", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6053 arg2
= (int)SWIG_As_int(obj1
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (PyObject
*)(arg1
)->read(arg2
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6070 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6073 int arg2
= (int) -1 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "size", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 arg2
= (int)SWIG_As_int(obj1
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (PyObject
*)(arg1
)->readline(arg2
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6102 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6105 int arg2
= (int) -1 ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6110 (char *) "self",(char *) "sizehint", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6117 arg2
= (int)SWIG_As_int(obj1
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6134 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6138 int arg3
= (int) 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6141 PyObject
* obj2
= 0 ;
6143 (char *) "self",(char *) "offset",(char *) "whence", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 arg2
= (int)SWIG_As_int(obj1
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 arg3
= (int)SWIG_As_int(obj2
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 (arg1
)->seek(arg2
,arg3
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 Py_INCREF(Py_None
); resultobj
= Py_None
;
6169 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6175 (char *) "self", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 result
= (int)(arg1
)->tell();
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_From_int((int)result
);
6195 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "self", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (char)(arg1
)->Peek();
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= SWIG_From_char((char)result
);
6221 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6227 (char *) "self", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6235 result
= (char)(arg1
)->GetC();
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= SWIG_From_char((char)result
);
6247 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
;
6249 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6251 PyObject
* obj0
= 0 ;
6253 (char *) "self", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (size_t)(arg1
)->LastRead();
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6273 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6279 (char *) "self", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->CanRead();
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6301 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6305 PyObject
* obj0
= 0 ;
6307 (char *) "self", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (bool)(arg1
)->Eof();
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6329 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6335 PyObject
* obj1
= 0 ;
6337 (char *) "self",(char *) "c", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 arg2
= (char)SWIG_As_char(obj1
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (bool)(arg1
)->Ungetch(arg2
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6361 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6365 int arg3
= (int) wxFromStart
;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 PyObject
* obj2
= 0 ;
6371 (char *) "self",(char *) "pos",(char *) "mode", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 arg2
= (long)SWIG_As_long(obj1
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 arg3
= (int)SWIG_As_int(obj2
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= SWIG_From_long((long)result
);
6397 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6401 PyObject
* obj0
= 0 ;
6403 (char *) "self", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 result
= (long)(arg1
)->TellI();
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= SWIG_From_long((long)result
);
6423 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6426 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6428 return Py_BuildValue((char *)"");
6430 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6433 PyObject
*arg2
= (PyObject
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6437 (char *) "self",(char *) "obj", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 wxOutputStream_write(arg1
,arg2
);
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6461 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6463 return Py_BuildValue((char *)"");
6465 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6468 wxString
*arg2
= 0 ;
6469 wxString
*arg3
= 0 ;
6470 wxString
*arg4
= 0 ;
6473 wxPyInputStream
*temp1
;
6475 bool temp2
= false ;
6476 bool temp3
= false ;
6477 bool temp4
= false ;
6479 PyObject
* obj0
= 0 ;
6480 PyObject
* obj1
= 0 ;
6481 PyObject
* obj2
= 0 ;
6482 PyObject
* obj3
= 0 ;
6483 PyObject
* obj4
= 0 ;
6485 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6490 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6491 arg1
= temp1
->m_wxis
;
6494 PyErr_Clear(); // clear the failure of the wxPyConvert above
6495 arg1
= wxPyCBInputStream_create(obj0
, false);
6497 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6504 arg2
= wxString_in_helper(obj1
);
6505 if (arg2
== NULL
) SWIG_fail
;
6509 arg3
= wxString_in_helper(obj2
);
6510 if (arg3
== NULL
) SWIG_fail
;
6514 arg4
= wxString_in_helper(obj3
);
6515 if (arg4
== NULL
) SWIG_fail
;
6518 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6519 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= wxPyMake_wxObject(result
, 1);
6569 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6572 PyObject
* obj0
= 0 ;
6574 (char *) "self", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 Py_INCREF(Py_None
); resultobj
= Py_None
;
6594 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6597 wxInputStream
*result
;
6598 PyObject
* obj0
= 0 ;
6600 (char *) "self", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (wxInputStream
*)(arg1
)->GetStream();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 wxPyInputStream
* _ptr
= NULL
;
6617 _ptr
= new wxPyInputStream(result
);
6619 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
6627 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
;
6629 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6631 PyObject
* obj0
= 0 ;
6633 (char *) "self", NULL
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6643 result
= (wxString
*) &_result_ref
;
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6653 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6662 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "self", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 wxString
const &_result_ref
= (arg1
)->GetLocation();
6678 result
= (wxString
*) &_result_ref
;
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6688 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6697 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6703 (char *) "self", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6713 result
= (wxString
*) &_result_ref
;
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6723 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6732 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6738 (char *) "self", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (arg1
)->GetModificationTime();
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6752 wxDateTime
* resultptr
;
6753 resultptr
= new wxDateTime((wxDateTime
&) result
);
6754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6762 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6765 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6767 return Py_BuildValue((char *)"");
6769 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6772 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6774 return Py_BuildValue((char *)"");
6776 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxPyFileSystemHandler
*result
;
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6798 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6801 PyObject
*arg2
= (PyObject
*) 0 ;
6802 PyObject
*arg3
= (PyObject
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6805 PyObject
* obj2
= 0 ;
6807 (char *) "self",(char *) "self",(char *) "_class", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 Py_INCREF(Py_None
); resultobj
= Py_None
;
6829 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6832 wxString
*arg2
= 0 ;
6834 bool temp2
= false ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6838 (char *) "self",(char *) "location", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6845 arg2
= wxString_in_helper(obj1
);
6846 if (arg2
== NULL
) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6873 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
*resultobj
;
6875 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6876 wxFileSystem
*arg2
= 0 ;
6877 wxString
*arg3
= 0 ;
6879 bool temp3
= false ;
6880 PyObject
* obj0
= 0 ;
6881 PyObject
* obj1
= 0 ;
6882 PyObject
* obj2
= 0 ;
6884 (char *) "self",(char *) "fs",(char *) "location", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6894 PyErr_SetString(PyExc_TypeError
,"null reference");
6898 arg3
= wxString_in_helper(obj2
);
6899 if (arg3
== NULL
) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= wxPyMake_wxObject(result
, 1);
6926 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6929 wxString
*arg2
= 0 ;
6930 int arg3
= (int) 0 ;
6932 bool temp2
= false ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 PyObject
* obj2
= 0 ;
6937 (char *) "self",(char *) "spec",(char *) "flags", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6944 arg2
= wxString_in_helper(obj1
);
6945 if (arg2
== NULL
) SWIG_fail
;
6949 arg3
= (int)SWIG_As_int(obj2
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6980 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6984 PyObject
* obj0
= 0 ;
6986 (char *) "self", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (arg1
)->FindNext();
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7012 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7015 wxString
*arg2
= 0 ;
7017 bool temp2
= false ;
7018 PyObject
* obj0
= 0 ;
7019 PyObject
* obj1
= 0 ;
7021 (char *) "self",(char *) "location", NULL
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7028 arg2
= wxString_in_helper(obj1
);
7029 if (arg2
== NULL
) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7060 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7063 wxString
*arg2
= 0 ;
7065 bool temp2
= false ;
7066 PyObject
* obj0
= 0 ;
7067 PyObject
* obj1
= 0 ;
7069 (char *) "self",(char *) "location", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7076 arg2
= wxString_in_helper(obj1
);
7077 if (arg2
== NULL
) SWIG_fail
;
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7108 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7111 wxString
*arg2
= 0 ;
7113 bool temp2
= false ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7117 (char *) "self",(char *) "location", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7124 arg2
= wxString_in_helper(obj1
);
7125 if (arg2
== NULL
) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7156 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7159 wxString
*arg2
= 0 ;
7161 bool temp2
= false ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7165 (char *) "self",(char *) "location", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7172 arg2
= wxString_in_helper(obj1
);
7173 if (arg2
== NULL
) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7204 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7207 wxString
*arg2
= 0 ;
7209 bool temp2
= false ;
7210 PyObject
* obj0
= 0 ;
7211 PyObject
* obj1
= 0 ;
7213 (char *) "self",(char *) "location", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7220 arg2
= wxString_in_helper(obj1
);
7221 if (arg2
== NULL
) SWIG_fail
;
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7252 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7255 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7257 return Py_BuildValue((char *)"");
7259 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxFileSystem
*result
;
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= (wxFileSystem
*)new wxFileSystem();
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= wxPyMake_wxObject(result
, 1);
7283 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7286 PyObject
* obj0
= 0 ;
7288 (char *) "self", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 Py_INCREF(Py_None
); resultobj
= Py_None
;
7308 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7311 wxString
*arg2
= 0 ;
7312 bool arg3
= (bool) false ;
7313 bool temp2
= false ;
7314 PyObject
* obj0
= 0 ;
7315 PyObject
* obj1
= 0 ;
7316 PyObject
* obj2
= 0 ;
7318 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7325 arg2
= wxString_in_helper(obj1
);
7326 if (arg2
== NULL
) SWIG_fail
;
7330 arg3
= (bool)SWIG_As_bool(obj2
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 Py_INCREF(Py_None
); resultobj
= Py_None
;
7355 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7361 (char *) "self", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 result
= (arg1
)->GetPath();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7387 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7390 wxString
*arg2
= 0 ;
7392 bool temp2
= false ;
7393 PyObject
* obj0
= 0 ;
7394 PyObject
* obj1
= 0 ;
7396 (char *) "self",(char *) "location", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7403 arg2
= wxString_in_helper(obj1
);
7404 if (arg2
== NULL
) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= wxPyMake_wxObject(result
, 1);
7431 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7434 wxString
*arg2
= 0 ;
7435 int arg3
= (int) 0 ;
7437 bool temp2
= false ;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7440 PyObject
* obj2
= 0 ;
7442 (char *) "self",(char *) "spec",(char *) "flags", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7449 arg2
= wxString_in_helper(obj1
);
7450 if (arg2
== NULL
) SWIG_fail
;
7454 arg3
= (int)SWIG_As_int(obj2
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7485 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "self", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (arg1
)->FindNext();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7517 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7520 PyObject
* obj0
= 0 ;
7522 (char *) "handler", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 wxFileSystem::AddHandler(arg1
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 Py_INCREF(Py_None
); resultobj
= Py_None
;
7542 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 wxFileSystem::CleanUpHandlers();
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 Py_INCREF(Py_None
); resultobj
= Py_None
;
7563 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxString
*arg1
= 0 ;
7567 bool temp1
= false ;
7568 PyObject
* obj0
= 0 ;
7570 (char *) "filename", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7575 arg1
= wxString_in_helper(obj0
);
7576 if (arg1
== NULL
) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7607 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxString
*arg1
= 0 ;
7611 bool temp1
= false ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "url", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7619 arg1
= wxString_in_helper(obj0
);
7620 if (arg1
== NULL
) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7651 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7654 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7656 return Py_BuildValue((char *)"");
7658 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxInternetFSHandler
*result
;
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7680 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7682 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7683 wxString
*arg2
= 0 ;
7685 bool temp2
= false ;
7686 PyObject
* obj0
= 0 ;
7687 PyObject
* obj1
= 0 ;
7689 (char *) "self",(char *) "location", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7696 arg2
= wxString_in_helper(obj1
);
7697 if (arg2
== NULL
) SWIG_fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7724 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7727 wxFileSystem
*arg2
= 0 ;
7728 wxString
*arg3
= 0 ;
7730 bool temp3
= false ;
7731 PyObject
* obj0
= 0 ;
7732 PyObject
* obj1
= 0 ;
7733 PyObject
* obj2
= 0 ;
7735 (char *) "self",(char *) "fs",(char *) "location", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7745 PyErr_SetString(PyExc_TypeError
,"null reference");
7749 arg3
= wxString_in_helper(obj2
);
7750 if (arg3
== NULL
) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= wxPyMake_wxObject(result
, 1);
7777 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7780 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7782 return Py_BuildValue((char *)"");
7784 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxZipFSHandler
*result
;
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7806 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7809 wxString
*arg2
= 0 ;
7811 bool temp2
= false ;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7815 (char *) "self",(char *) "location", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7822 arg2
= wxString_in_helper(obj1
);
7823 if (arg2
== NULL
) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7850 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7853 wxFileSystem
*arg2
= 0 ;
7854 wxString
*arg3
= 0 ;
7856 bool temp3
= false ;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7859 PyObject
* obj2
= 0 ;
7861 (char *) "self",(char *) "fs",(char *) "location", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7871 PyErr_SetString(PyExc_TypeError
,"null reference");
7875 arg3
= wxString_in_helper(obj2
);
7876 if (arg3
== NULL
) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= wxPyMake_wxObject(result
, 1);
7903 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7906 wxString
*arg2
= 0 ;
7907 int arg3
= (int) 0 ;
7909 bool temp2
= false ;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7912 PyObject
* obj2
= 0 ;
7914 (char *) "self",(char *) "spec",(char *) "flags", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 arg2
= wxString_in_helper(obj1
);
7922 if (arg2
== NULL
) SWIG_fail
;
7926 arg3
= (int)SWIG_As_int(obj2
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7957 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7963 (char *) "self", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (arg1
)->FindNext();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7989 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7992 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7994 return Py_BuildValue((char *)"");
7996 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxString
*arg1
= 0 ;
8001 bool temp1
= false ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8004 PyObject
* obj2
= 0 ;
8006 (char *) "filename",(char *) "image",(char *) "type", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8011 arg1
= wxString_in_helper(obj0
);
8012 if (arg1
== NULL
) SWIG_fail
;
8015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8019 PyErr_SetString(PyExc_TypeError
,"null reference");
8022 arg3
= (long)SWIG_As_long(obj2
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 Py_INCREF(Py_None
); resultobj
= Py_None
;
8046 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxString
*arg1
= 0 ;
8049 wxBitmap
*arg2
= 0 ;
8051 bool temp1
= false ;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8054 PyObject
* obj2
= 0 ;
8056 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8061 arg1
= wxString_in_helper(obj0
);
8062 if (arg1
== NULL
) SWIG_fail
;
8065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8069 PyErr_SetString(PyExc_TypeError
,"null reference");
8072 arg3
= (long)SWIG_As_long(obj2
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 Py_INCREF(Py_None
); resultobj
= Py_None
;
8096 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxString
*arg1
= 0 ;
8099 PyObject
*arg2
= (PyObject
*) 0 ;
8100 bool temp1
= false ;
8101 PyObject
* obj0
= 0 ;
8102 PyObject
* obj1
= 0 ;
8104 (char *) "filename",(char *) "data", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8109 arg1
= wxString_in_helper(obj0
);
8110 if (arg1
== NULL
) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 Py_INCREF(Py_None
); resultobj
= Py_None
;
8136 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxMemoryFSHandler
*result
;
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8158 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxString
*arg1
= 0 ;
8161 bool temp1
= false ;
8162 PyObject
* obj0
= 0 ;
8164 (char *) "filename", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8169 arg1
= wxString_in_helper(obj0
);
8170 if (arg1
== NULL
) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 Py_INCREF(Py_None
); resultobj
= Py_None
;
8195 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8198 wxString
*arg2
= 0 ;
8200 bool temp2
= false ;
8201 PyObject
* obj0
= 0 ;
8202 PyObject
* obj1
= 0 ;
8204 (char *) "self",(char *) "location", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8211 arg2
= wxString_in_helper(obj1
);
8212 if (arg2
== NULL
) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8239 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8242 wxFileSystem
*arg2
= 0 ;
8243 wxString
*arg3
= 0 ;
8245 bool temp3
= false ;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8248 PyObject
* obj2
= 0 ;
8250 (char *) "self",(char *) "fs",(char *) "location", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8260 PyErr_SetString(PyExc_TypeError
,"null reference");
8264 arg3
= wxString_in_helper(obj2
);
8265 if (arg3
== NULL
) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= wxPyMake_wxObject(result
, 1);
8292 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8295 wxString
*arg2
= 0 ;
8296 int arg3
= (int) 0 ;
8298 bool temp2
= false ;
8299 PyObject
* obj0
= 0 ;
8300 PyObject
* obj1
= 0 ;
8301 PyObject
* obj2
= 0 ;
8303 (char *) "self",(char *) "spec",(char *) "flags", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8310 arg2
= wxString_in_helper(obj1
);
8311 if (arg2
== NULL
) SWIG_fail
;
8315 arg3
= (int)SWIG_As_int(obj2
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8346 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8350 PyObject
* obj0
= 0 ;
8352 (char *) "self", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (arg1
)->FindNext();
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8378 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8381 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8383 return Py_BuildValue((char *)"");
8385 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8389 PyObject
* obj0
= 0 ;
8391 (char *) "self", NULL
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 result
= (arg1
)->GetName();
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8417 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "self", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (arg1
)->GetExtension();
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8449 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8455 (char *) "self", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (long)(arg1
)->GetType();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 resultobj
= SWIG_From_long((long)result
);
8475 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8479 PyObject
* obj0
= 0 ;
8481 (char *) "self", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (arg1
)->GetMimeType();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8507 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8510 wxString
*arg2
= 0 ;
8512 bool temp2
= false ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8516 (char *) "self",(char *) "name", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8523 arg2
= wxString_in_helper(obj1
);
8524 if (arg2
== NULL
) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8551 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8554 wxString
*arg2
= 0 ;
8555 bool temp2
= false ;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8559 (char *) "self",(char *) "name", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8566 arg2
= wxString_in_helper(obj1
);
8567 if (arg2
== NULL
) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 (arg1
)->SetName((wxString
const &)*arg2
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 Py_INCREF(Py_None
); resultobj
= Py_None
;
8592 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8594 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8595 wxString
*arg2
= 0 ;
8596 bool temp2
= false ;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8600 (char *) "self",(char *) "extension", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8607 arg2
= wxString_in_helper(obj1
);
8608 if (arg2
== NULL
) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 (arg1
)->SetExtension((wxString
const &)*arg2
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 Py_INCREF(Py_None
); resultobj
= Py_None
;
8633 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
;
8635 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8640 (char *) "self",(char *) "type", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8646 arg2
= (long)SWIG_As_long(obj1
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 (arg1
)->SetType(arg2
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 Py_INCREF(Py_None
); resultobj
= Py_None
;
8662 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8665 wxString
*arg2
= 0 ;
8666 bool temp2
= false ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8670 (char *) "self",(char *) "mimetype", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 arg2
= wxString_in_helper(obj1
);
8678 if (arg2
== NULL
) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 Py_INCREF(Py_None
); resultobj
= Py_None
;
8703 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8706 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8708 return Py_BuildValue((char *)"");
8710 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxImageHistogram
*result
;
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (wxImageHistogram
*)new wxImageHistogram();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8732 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 unsigned char arg1
;
8735 unsigned char arg2
;
8736 unsigned char arg3
;
8737 unsigned long result
;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8742 (char *) "r",(char *) "g",(char *) "b", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8746 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8748 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8750 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8766 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
;
8768 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8769 unsigned char *arg2
= (unsigned char *) 0 ;
8770 unsigned char *arg3
= (unsigned char *) 0 ;
8771 unsigned char *arg4
= (unsigned char *) 0 ;
8772 unsigned char arg5
= (unsigned char) 1 ;
8773 unsigned char arg6
= (unsigned char) 0 ;
8774 unsigned char arg7
= (unsigned char) 0 ;
8776 unsigned char temp2
;
8778 unsigned char temp3
;
8780 unsigned char temp4
;
8782 PyObject
* obj0
= 0 ;
8783 PyObject
* obj1
= 0 ;
8784 PyObject
* obj2
= 0 ;
8785 PyObject
* obj3
= 0 ;
8787 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8790 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8791 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8792 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8797 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8801 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8805 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8818 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8819 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8820 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8821 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8822 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8823 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8830 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8833 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8835 return Py_BuildValue((char *)"");
8837 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxString
*arg1
= 0 ;
8840 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8841 int arg3
= (int) -1 ;
8843 bool temp1
= false ;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8846 PyObject
* obj2
= 0 ;
8848 (char *) "name",(char *) "type",(char *) "index", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8853 arg1
= wxString_in_helper(obj0
);
8854 if (arg1
== NULL
) SWIG_fail
;
8858 arg2
= (long)SWIG_As_long(obj1
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8862 arg3
= (int)SWIG_As_int(obj2
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8887 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxImage
*arg1
= (wxImage
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8892 (char *) "self", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxString
*arg1
= 0 ;
8915 wxString
*arg2
= 0 ;
8916 int arg3
= (int) -1 ;
8918 bool temp1
= false ;
8919 bool temp2
= false ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 PyObject
* obj2
= 0 ;
8924 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8929 arg1
= wxString_in_helper(obj0
);
8930 if (arg1
== NULL
) SWIG_fail
;
8934 arg2
= wxString_in_helper(obj1
);
8935 if (arg2
== NULL
) SWIG_fail
;
8939 arg3
= (int)SWIG_As_int(obj2
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8972 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxInputStream
*arg1
= 0 ;
8975 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8976 int arg3
= (int) -1 ;
8978 wxPyInputStream
*temp1
;
8980 PyObject
* obj0
= 0 ;
8981 PyObject
* obj1
= 0 ;
8982 PyObject
* obj2
= 0 ;
8984 (char *) "stream",(char *) "type",(char *) "index", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8989 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8990 arg1
= temp1
->m_wxis
;
8993 PyErr_Clear(); // clear the failure of the wxPyConvert above
8994 arg1
= wxPyCBInputStream_create(obj0
, false);
8996 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9003 arg2
= (long)SWIG_As_long(obj1
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9007 arg3
= (int)SWIG_As_int(obj2
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9032 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxInputStream
*arg1
= 0 ;
9035 wxString
*arg2
= 0 ;
9036 int arg3
= (int) -1 ;
9038 wxPyInputStream
*temp1
;
9040 bool temp2
= false ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 PyObject
* obj2
= 0 ;
9045 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9050 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9051 arg1
= temp1
->m_wxis
;
9054 PyErr_Clear(); // clear the failure of the wxPyConvert above
9055 arg1
= wxPyCBInputStream_create(obj0
, false);
9057 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9064 arg2
= wxString_in_helper(obj1
);
9065 if (arg2
== NULL
) SWIG_fail
;
9069 arg3
= (int)SWIG_As_int(obj2
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9102 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 int arg1
= (int) 0 ;
9105 int arg2
= (int) 0 ;
9106 bool arg3
= (bool) true ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9110 PyObject
* obj2
= 0 ;
9112 (char *) "width",(char *) "height",(char *) "clear", NULL
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9117 arg1
= (int)SWIG_As_int(obj0
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9121 arg2
= (int)SWIG_As_int(obj1
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9125 arg3
= (bool)SWIG_As_bool(obj2
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9142 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxBitmap
*arg1
= 0 ;
9146 PyObject
* obj0
= 0 ;
9148 (char *) "bitmap", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9156 PyErr_SetString(PyExc_TypeError
,"null reference");
9160 if (!wxPyCheckForApp()) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9174 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9178 unsigned char *arg3
= (unsigned char *) 0 ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9182 PyObject
* obj2
= 0 ;
9184 (char *) "width",(char *) "height",(char *) "data", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9188 arg1
= (int)SWIG_As_int(obj0
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9190 arg2
= (int)SWIG_As_int(obj1
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9192 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9208 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxImage
*arg1
= (wxImage
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9214 PyObject
* obj1
= 0 ;
9215 PyObject
* obj2
= 0 ;
9217 (char *) "self",(char *) "width",(char *) "height", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9223 arg2
= (int)SWIG_As_int(obj1
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9225 arg3
= (int)SWIG_As_int(obj2
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 (arg1
)->Create(arg2
,arg3
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 Py_INCREF(Py_None
); resultobj
= Py_None
;
9241 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxImage
*arg1
= (wxImage
*) 0 ;
9244 PyObject
* obj0
= 0 ;
9246 (char *) "self", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 Py_INCREF(Py_None
); resultobj
= Py_None
;
9266 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxImage
*arg1
= (wxImage
*) 0 ;
9271 SwigValueWrapper
< wxImage
> result
;
9272 PyObject
* obj0
= 0 ;
9273 PyObject
* obj1
= 0 ;
9274 PyObject
* obj2
= 0 ;
9276 (char *) "self",(char *) "width",(char *) "height", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9282 arg2
= (int)SWIG_As_int(obj1
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9284 arg3
= (int)SWIG_As_int(obj2
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (arg1
)->Scale(arg2
,arg3
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9294 wxImage
* resultptr
;
9295 resultptr
= new wxImage((wxImage
&) result
);
9296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9304 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxImage
*arg1
= (wxImage
*) 0 ;
9309 SwigValueWrapper
< wxImage
> result
;
9310 PyObject
* obj0
= 0 ;
9311 PyObject
* obj1
= 0 ;
9312 PyObject
* obj2
= 0 ;
9314 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9320 arg2
= (int)SWIG_As_int(obj1
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9322 arg3
= (int)SWIG_As_int(obj2
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9332 wxImage
* resultptr
;
9333 resultptr
= new wxImage((wxImage
&) result
);
9334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9342 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxImage
*arg1
= (wxImage
*) 0 ;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9350 PyObject
* obj2
= 0 ;
9352 (char *) "self",(char *) "width",(char *) "height", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9358 arg2
= (int)SWIG_As_int(obj1
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9360 arg3
= (int)SWIG_As_int(obj2
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9366 result
= (wxImage
*) &_result_ref
;
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9379 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxImage
*arg1
= (wxImage
*) 0 ;
9384 unsigned char arg4
;
9385 unsigned char arg5
;
9386 unsigned char arg6
;
9387 PyObject
* obj0
= 0 ;
9388 PyObject
* obj1
= 0 ;
9389 PyObject
* obj2
= 0 ;
9390 PyObject
* obj3
= 0 ;
9391 PyObject
* obj4
= 0 ;
9392 PyObject
* obj5
= 0 ;
9394 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9400 arg2
= (int)SWIG_As_int(obj1
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9402 arg3
= (int)SWIG_As_int(obj2
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9404 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9406 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9408 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 Py_INCREF(Py_None
); resultobj
= Py_None
;
9424 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxImage
*arg1
= (wxImage
*) 0 ;
9429 unsigned char result
;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9432 PyObject
* obj2
= 0 ;
9434 (char *) "self",(char *) "x",(char *) "y", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9440 arg2
= (int)SWIG_As_int(obj1
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9442 arg3
= (int)SWIG_As_int(obj2
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9458 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxImage
*arg1
= (wxImage
*) 0 ;
9463 unsigned char result
;
9464 PyObject
* obj0
= 0 ;
9465 PyObject
* obj1
= 0 ;
9466 PyObject
* obj2
= 0 ;
9468 (char *) "self",(char *) "x",(char *) "y", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9474 arg2
= (int)SWIG_As_int(obj1
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9476 arg3
= (int)SWIG_As_int(obj2
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9492 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxImage
*arg1
= (wxImage
*) 0 ;
9497 unsigned char result
;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 PyObject
* obj2
= 0 ;
9502 (char *) "self",(char *) "x",(char *) "y", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9508 arg2
= (int)SWIG_As_int(obj1
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9510 arg3
= (int)SWIG_As_int(obj2
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9526 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxImage
*arg1
= (wxImage
*) 0 ;
9531 unsigned char arg4
;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 PyObject
* obj2
= 0 ;
9535 PyObject
* obj3
= 0 ;
9537 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9543 arg2
= (int)SWIG_As_int(obj1
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9545 arg3
= (int)SWIG_As_int(obj2
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9547 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 Py_INCREF(Py_None
); resultobj
= Py_None
;
9563 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxImage
*arg1
= (wxImage
*) 0 ;
9568 unsigned char result
;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 PyObject
* obj2
= 0 ;
9573 (char *) "self",(char *) "x",(char *) "y", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 arg2
= (int)SWIG_As_int(obj1
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9581 arg3
= (int)SWIG_As_int(obj2
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9597 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxImage
*arg1
= (wxImage
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9603 (char *) "self", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (bool)(arg1
)->HasAlpha();
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9625 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxImage
*arg1
= (wxImage
*) 0 ;
9628 byte
*arg2
= (byte
*) 0 ;
9629 byte
*arg3
= (byte
*) 0 ;
9630 byte
*arg4
= (byte
*) 0 ;
9631 byte arg5
= (byte
) 0 ;
9632 byte arg6
= (byte
) 0 ;
9633 byte arg7
= (byte
) 0 ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9643 PyObject
* obj2
= 0 ;
9644 PyObject
* obj3
= 0 ;
9646 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9649 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9650 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9651 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9660 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9664 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9677 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9678 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9679 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9680 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9681 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9682 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9689 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxImage
*arg1
= (wxImage
*) 0 ;
9692 byte arg2
= (byte
) 128 ;
9694 PyObject
* obj0
= 0 ;
9695 PyObject
* obj1
= 0 ;
9697 (char *) "self",(char *) "threshold", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9723 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxImage
*arg1
= (wxImage
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9732 PyObject
* obj1
= 0 ;
9733 PyObject
* obj2
= 0 ;
9734 PyObject
* obj3
= 0 ;
9735 PyObject
* obj4
= 0 ;
9737 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9747 PyErr_SetString(PyExc_TypeError
,"null reference");
9750 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9752 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9754 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9772 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxString
*arg1
= 0 ;
9776 bool temp1
= false ;
9777 PyObject
* obj0
= 0 ;
9779 (char *) "name", NULL
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9784 arg1
= wxString_in_helper(obj0
);
9785 if (arg1
== NULL
) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9812 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxString
*arg1
= 0 ;
9815 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9817 bool temp1
= false ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9821 (char *) "name",(char *) "type", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9826 arg1
= wxString_in_helper(obj0
);
9827 if (arg1
== NULL
) SWIG_fail
;
9831 arg2
= (long)SWIG_As_long(obj1
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= SWIG_From_int((int)result
);
9856 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxImage
*arg1
= (wxImage
*) 0 ;
9859 wxString
*arg2
= 0 ;
9860 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9861 int arg4
= (int) -1 ;
9863 bool temp2
= false ;
9864 PyObject
* obj0
= 0 ;
9865 PyObject
* obj1
= 0 ;
9866 PyObject
* obj2
= 0 ;
9867 PyObject
* obj3
= 0 ;
9869 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 arg2
= wxString_in_helper(obj1
);
9877 if (arg2
== NULL
) SWIG_fail
;
9881 arg3
= (long)SWIG_As_long(obj2
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9885 arg4
= (int)SWIG_As_int(obj3
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9912 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxImage
*arg1
= (wxImage
*) 0 ;
9915 wxString
*arg2
= 0 ;
9916 wxString
*arg3
= 0 ;
9917 int arg4
= (int) -1 ;
9919 bool temp2
= false ;
9920 bool temp3
= false ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9923 PyObject
* obj2
= 0 ;
9924 PyObject
* obj3
= 0 ;
9926 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9933 arg2
= wxString_in_helper(obj1
);
9934 if (arg2
== NULL
) SWIG_fail
;
9938 arg3
= wxString_in_helper(obj2
);
9939 if (arg3
== NULL
) SWIG_fail
;
9943 arg4
= (int)SWIG_As_int(obj3
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9978 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxImage
*arg1
= (wxImage
*) 0 ;
9981 wxString
*arg2
= 0 ;
9984 bool temp2
= false ;
9985 PyObject
* obj0
= 0 ;
9986 PyObject
* obj1
= 0 ;
9987 PyObject
* obj2
= 0 ;
9989 (char *) "self",(char *) "name",(char *) "type", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9996 arg2
= wxString_in_helper(obj1
);
9997 if (arg2
== NULL
) SWIG_fail
;
10000 arg3
= (int)SWIG_As_int(obj2
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10026 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
*resultobj
;
10028 wxImage
*arg1
= (wxImage
*) 0 ;
10029 wxString
*arg2
= 0 ;
10030 wxString
*arg3
= 0 ;
10032 bool temp2
= false ;
10033 bool temp3
= false ;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 PyObject
* obj2
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10045 arg2
= wxString_in_helper(obj1
);
10046 if (arg2
== NULL
) SWIG_fail
;
10050 arg3
= wxString_in_helper(obj2
);
10051 if (arg3
== NULL
) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10086 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxInputStream
*arg1
= 0 ;
10090 wxPyInputStream
*temp1
;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "stream", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10099 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10100 arg1
= temp1
->m_wxis
;
10103 PyErr_Clear(); // clear the failure of the wxPyConvert above
10104 arg1
= wxPyCBInputStream_create(obj0
, false);
10105 if (arg1
== NULL
) {
10106 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (bool)wxImage::CanRead(*arg1
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10136 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxImage
*arg1
= (wxImage
*) 0 ;
10139 wxInputStream
*arg2
= 0 ;
10140 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10141 int arg4
= (int) -1 ;
10143 wxPyInputStream
*temp2
;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 PyObject
* obj2
= 0 ;
10148 PyObject
* obj3
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10157 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10158 arg2
= temp2
->m_wxis
;
10161 PyErr_Clear(); // clear the failure of the wxPyConvert above
10162 arg2
= wxPyCBInputStream_create(obj1
, false);
10163 if (arg2
== NULL
) {
10164 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10171 arg3
= (long)SWIG_As_long(obj2
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10175 arg4
= (int)SWIG_As_int(obj3
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10202 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxImage
*arg1
= (wxImage
*) 0 ;
10205 wxInputStream
*arg2
= 0 ;
10206 wxString
*arg3
= 0 ;
10207 int arg4
= (int) -1 ;
10209 wxPyInputStream
*temp2
;
10211 bool temp3
= false ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 PyObject
* obj2
= 0 ;
10215 PyObject
* obj3
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10224 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10225 arg2
= temp2
->m_wxis
;
10228 PyErr_Clear(); // clear the failure of the wxPyConvert above
10229 arg2
= wxPyCBInputStream_create(obj1
, false);
10230 if (arg2
== NULL
) {
10231 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10238 arg3
= wxString_in_helper(obj2
);
10239 if (arg3
== NULL
) SWIG_fail
;
10243 arg4
= (int)SWIG_As_int(obj3
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10278 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxImage
*arg1
= (wxImage
*) 0 ;
10282 PyObject
* obj0
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (bool)(arg1
)->Ok();
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10306 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxImage
*arg1
= (wxImage
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (int)(arg1
)->GetWidth();
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_From_int((int)result
);
10332 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxImage
*arg1
= (wxImage
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (int)(arg1
)->GetHeight();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_From_int((int)result
);
10358 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxImage
*arg1
= (wxImage
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= wxImage_GetSize(arg1
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 wxSize
* resultptr
;
10379 resultptr
= new wxSize((wxSize
&) result
);
10380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10388 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxImage
*arg1
= (wxImage
*) 0 ;
10392 SwigValueWrapper
< wxImage
> result
;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self",(char *) "rect", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10415 wxImage
* resultptr
;
10416 resultptr
= new wxImage((wxImage
&) result
);
10417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10425 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxImage
*arg1
= (wxImage
*) 0 ;
10428 SwigValueWrapper
< wxImage
> result
;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (arg1
)->Copy();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10445 wxImage
* resultptr
;
10446 resultptr
= new wxImage((wxImage
&) result
);
10447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10455 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxImage
*arg1
= (wxImage
*) 0 ;
10458 wxImage
*arg2
= 0 ;
10461 PyObject
* obj0
= 0 ;
10462 PyObject
* obj1
= 0 ;
10463 PyObject
* obj2
= 0 ;
10464 PyObject
* obj3
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10475 if (arg2
== NULL
) {
10476 PyErr_SetString(PyExc_TypeError
,"null reference");
10479 arg3
= (int)SWIG_As_int(obj2
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10481 arg4
= (int)SWIG_As_int(obj3
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxImage
*arg1
= (wxImage
*) 0 ;
10501 PyObject
* obj0
= 0 ;
10502 char *kwnames
[] = {
10503 (char *) "self", NULL
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (PyObject
*)wxImage_GetData(arg1
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= result
;
10523 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxImage
*arg1
= (wxImage
*) 0 ;
10526 PyObject
*arg2
= (PyObject
*) 0 ;
10527 PyObject
* obj0
= 0 ;
10528 PyObject
* obj1
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "data", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 wxImage_SetData(arg1
,arg2
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 Py_INCREF(Py_None
); resultobj
= Py_None
;
10551 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxImage
*arg1
= (wxImage
*) 0 ;
10555 PyObject
* obj0
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "self", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= result
;
10577 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxImage
*arg1
= (wxImage
*) 0 ;
10580 PyObject
*arg2
= (PyObject
*) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self",(char *) "data", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 wxImage_SetDataBuffer(arg1
,arg2
);
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 Py_INCREF(Py_None
); resultobj
= Py_None
;
10605 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxImage
*arg1
= (wxImage
*) 0 ;
10609 PyObject
* obj0
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= result
;
10631 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10633 wxImage
*arg1
= (wxImage
*) 0 ;
10634 PyObject
*arg2
= (PyObject
*) 0 ;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self",(char *) "data", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 wxImage_SetAlphaData(arg1
,arg2
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 Py_INCREF(Py_None
); resultobj
= Py_None
;
10659 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxImage
*arg1
= (wxImage
*) 0 ;
10663 PyObject
* obj0
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= result
;
10685 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxImage
*arg1
= (wxImage
*) 0 ;
10688 PyObject
*arg2
= (PyObject
*) 0 ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 char *kwnames
[] = {
10692 (char *) "self",(char *) "data", NULL
10695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 wxImage_SetAlphaBuffer(arg1
,arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 Py_INCREF(Py_None
); resultobj
= Py_None
;
10713 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxImage
*arg1
= (wxImage
*) 0 ;
10716 unsigned char arg2
;
10717 unsigned char arg3
;
10718 unsigned char arg4
;
10719 PyObject
* obj0
= 0 ;
10720 PyObject
* obj1
= 0 ;
10721 PyObject
* obj2
= 0 ;
10722 PyObject
* obj3
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10730 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10732 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10734 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 Py_INCREF(Py_None
); resultobj
= Py_None
;
10750 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxImage
*arg1
= (wxImage
*) 0 ;
10753 unsigned char result
;
10754 PyObject
* obj0
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (unsigned char)(arg1
)->GetMaskRed();
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10776 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxImage
*arg1
= (wxImage
*) 0 ;
10779 unsigned char result
;
10780 PyObject
* obj0
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= (unsigned char)(arg1
)->GetMaskGreen();
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10802 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
;
10804 wxImage
*arg1
= (wxImage
*) 0 ;
10805 unsigned char result
;
10806 PyObject
* obj0
= 0 ;
10807 char *kwnames
[] = {
10808 (char *) "self", NULL
10811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 result
= (unsigned char)(arg1
)->GetMaskBlue();
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10828 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
;
10830 wxImage
*arg1
= (wxImage
*) 0 ;
10831 bool arg2
= (bool) true ;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "mask", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10842 arg2
= (bool)SWIG_As_bool(obj1
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 (arg1
)->SetMask(arg2
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 Py_INCREF(Py_None
); resultobj
= Py_None
;
10859 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxImage
*arg1
= (wxImage
*) 0 ;
10863 PyObject
* obj0
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= (bool)(arg1
)->HasMask();
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10887 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxImage
*arg1
= (wxImage
*) 0 ;
10891 wxPoint
*arg3
= 0 ;
10892 bool arg4
= (bool) true ;
10893 wxPoint
*arg5
= (wxPoint
*) NULL
;
10894 SwigValueWrapper
< wxImage
> result
;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 PyObject
* obj2
= 0 ;
10899 PyObject
* obj3
= 0 ;
10900 PyObject
* obj4
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 arg2
= (double)SWIG_As_double(obj1
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10915 arg4
= (bool)SWIG_As_bool(obj3
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10919 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10930 wxImage
* resultptr
;
10931 resultptr
= new wxImage((wxImage
&) result
);
10932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10940 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
;
10942 wxImage
*arg1
= (wxImage
*) 0 ;
10943 bool arg2
= (bool) true ;
10944 SwigValueWrapper
< wxImage
> result
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "clockwise", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10955 arg2
= (bool)SWIG_As_bool(obj1
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (arg1
)->Rotate90(arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 wxImage
* resultptr
;
10967 resultptr
= new wxImage((wxImage
&) result
);
10968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10976 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxImage
*arg1
= (wxImage
*) 0 ;
10979 bool arg2
= (bool) true ;
10980 SwigValueWrapper
< wxImage
> result
;
10981 PyObject
* obj0
= 0 ;
10982 PyObject
* obj1
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self",(char *) "horizontally", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 arg2
= (bool)SWIG_As_bool(obj1
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (arg1
)->Mirror(arg2
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 wxImage
* resultptr
;
11003 resultptr
= new wxImage((wxImage
&) result
);
11004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11012 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxImage
*arg1
= (wxImage
*) 0 ;
11015 unsigned char arg2
;
11016 unsigned char arg3
;
11017 unsigned char arg4
;
11018 unsigned char arg5
;
11019 unsigned char arg6
;
11020 unsigned char arg7
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 PyObject
* obj3
= 0 ;
11025 PyObject
* obj4
= 0 ;
11026 PyObject
* obj5
= 0 ;
11027 PyObject
* obj6
= 0 ;
11028 char *kwnames
[] = {
11029 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11035 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11037 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11039 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11041 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11043 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11045 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 Py_INCREF(Py_None
); resultobj
= Py_None
;
11061 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxImage
*arg1
= (wxImage
*) 0 ;
11064 unsigned char arg2
;
11065 unsigned char arg3
;
11066 unsigned char arg4
;
11067 SwigValueWrapper
< wxImage
> result
;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 PyObject
* obj2
= 0 ;
11071 PyObject
* obj3
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11079 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11081 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11083 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11093 wxImage
* resultptr
;
11094 resultptr
= new wxImage((wxImage
&) result
);
11095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11103 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxImage
*arg1
= (wxImage
*) 0 ;
11106 wxString
*arg2
= 0 ;
11107 wxString
*arg3
= 0 ;
11108 bool temp2
= false ;
11109 bool temp3
= false ;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 PyObject
* obj2
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "self",(char *) "name",(char *) "value", NULL
11117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11121 arg2
= wxString_in_helper(obj1
);
11122 if (arg2
== NULL
) SWIG_fail
;
11126 arg3
= wxString_in_helper(obj2
);
11127 if (arg3
== NULL
) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxImage
*arg1
= (wxImage
*) 0 ;
11163 wxString
*arg2
= 0 ;
11165 bool temp2
= false ;
11166 PyObject
* obj0
= 0 ;
11167 PyObject
* obj1
= 0 ;
11168 PyObject
* obj2
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "self",(char *) "name",(char *) "value", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 arg2
= wxString_in_helper(obj1
);
11178 if (arg2
== NULL
) SWIG_fail
;
11181 arg3
= (int)SWIG_As_int(obj2
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11205 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxImage
*arg1
= (wxImage
*) 0 ;
11208 wxString
*arg2
= 0 ;
11210 bool temp2
= false ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 char *kwnames
[] = {
11214 (char *) "self",(char *) "name", NULL
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11221 arg2
= wxString_in_helper(obj1
);
11222 if (arg2
== NULL
) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11253 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxImage
*arg1
= (wxImage
*) 0 ;
11256 wxString
*arg2
= 0 ;
11258 bool temp2
= false ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self",(char *) "name", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 arg2
= wxString_in_helper(obj1
);
11270 if (arg2
== NULL
) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_From_int((int)result
);
11295 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11297 wxImage
*arg1
= (wxImage
*) 0 ;
11298 wxString
*arg2
= 0 ;
11300 bool temp2
= false ;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self",(char *) "name", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11311 arg2
= wxString_in_helper(obj1
);
11312 if (arg2
== NULL
) SWIG_fail
;
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11339 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxImage
*arg1
= (wxImage
*) 0 ;
11342 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11343 unsigned long result
;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "stopafter", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11354 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11371 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxImage
*arg1
= (wxImage
*) 0 ;
11374 wxImageHistogram
*arg2
= 0 ;
11375 unsigned long result
;
11376 PyObject
* obj0
= 0 ;
11377 PyObject
* obj1
= 0 ;
11378 char *kwnames
[] = {
11379 (char *) "self",(char *) "h", NULL
11382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11388 if (arg2
== NULL
) {
11389 PyErr_SetString(PyExc_TypeError
,"null reference");
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11406 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11409 PyObject
* obj0
= 0 ;
11410 char *kwnames
[] = {
11411 (char *) "handler", NULL
11414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 wxImage::AddHandler(arg1
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 Py_INCREF(Py_None
); resultobj
= Py_None
;
11431 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
;
11433 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "handler", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 wxImage::InsertHandler(arg1
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 Py_INCREF(Py_None
); resultobj
= Py_None
;
11456 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxString
*arg1
= 0 ;
11460 bool temp1
= false ;
11461 PyObject
* obj0
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "name", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11468 arg1
= wxString_in_helper(obj0
);
11469 if (arg1
== NULL
) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11496 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11499 char *kwnames
[] = {
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= wxImage::GetImageExtWildcard();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11524 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxImage
*arg1
= (wxImage
*) 0 ;
11527 int arg2
= (int) -1 ;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 char *kwnames
[] = {
11532 (char *) "self",(char *) "depth", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11539 arg2
= (int)SWIG_As_int(obj1
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11543 if (!wxPyCheckForApp()) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 wxBitmap
* resultptr
;
11552 resultptr
= new wxBitmap((wxBitmap
&) result
);
11553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11561 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxImage
*arg1
= (wxImage
*) 0 ;
11564 unsigned char arg2
;
11565 unsigned char arg3
;
11566 unsigned char arg4
;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 PyObject
* obj2
= 0 ;
11571 PyObject
* obj3
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11579 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11581 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11583 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 if (!wxPyCheckForApp()) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 wxBitmap
* resultptr
;
11595 resultptr
= new wxBitmap((wxBitmap
&) result
);
11596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11604 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11607 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11609 return Py_BuildValue((char *)"");
11611 static int _wrap_NullImage_set(PyObject
*) {
11612 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11617 static PyObject
*_wrap_NullImage_get() {
11620 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11625 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11626 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11631 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11636 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11638 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11645 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11646 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11651 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11656 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11658 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11665 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11666 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11671 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11676 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11678 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11685 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11686 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11691 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11696 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11698 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11705 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11706 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11711 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11716 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11718 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11725 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxBMPHandler
*result
;
11728 char *kwnames
[] = {
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (wxBMPHandler
*)new wxBMPHandler();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11747 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11750 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11752 return Py_BuildValue((char *)"");
11754 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxICOHandler
*result
;
11757 char *kwnames
[] = {
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 result
= (wxICOHandler
*)new wxICOHandler();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11776 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11779 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11781 return Py_BuildValue((char *)"");
11783 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxCURHandler
*result
;
11786 char *kwnames
[] = {
11790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (wxCURHandler
*)new wxCURHandler();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11805 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11808 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11810 return Py_BuildValue((char *)"");
11812 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxANIHandler
*result
;
11815 char *kwnames
[] = {
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (wxANIHandler
*)new wxANIHandler();
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11834 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11837 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11839 return Py_BuildValue((char *)"");
11841 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxPNGHandler
*result
;
11844 char *kwnames
[] = {
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (wxPNGHandler
*)new wxPNGHandler();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11863 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11866 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11868 return Py_BuildValue((char *)"");
11870 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
;
11872 wxGIFHandler
*result
;
11873 char *kwnames
[] = {
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (wxGIFHandler
*)new wxGIFHandler();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11892 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11895 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11897 return Py_BuildValue((char *)"");
11899 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
;
11901 wxPCXHandler
*result
;
11902 char *kwnames
[] = {
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 result
= (wxPCXHandler
*)new wxPCXHandler();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11921 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11924 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11926 return Py_BuildValue((char *)"");
11928 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxJPEGHandler
*result
;
11931 char *kwnames
[] = {
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11950 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11953 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11955 return Py_BuildValue((char *)"");
11957 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxPNMHandler
*result
;
11960 char *kwnames
[] = {
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 result
= (wxPNMHandler
*)new wxPNMHandler();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11979 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11982 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11984 return Py_BuildValue((char *)"");
11986 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
;
11988 wxXPMHandler
*result
;
11989 char *kwnames
[] = {
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (wxXPMHandler
*)new wxXPMHandler();
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12008 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12011 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12013 return Py_BuildValue((char *)"");
12015 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxTIFFHandler
*result
;
12018 char *kwnames
[] = {
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12037 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12040 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12042 return Py_BuildValue((char *)"");
12044 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
;
12046 wxImage
*arg1
= 0 ;
12047 wxImage
*arg2
= 0 ;
12048 int arg3
= (int) 236 ;
12049 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12051 PyObject
* obj0
= 0 ;
12052 PyObject
* obj1
= 0 ;
12053 PyObject
* obj2
= 0 ;
12054 PyObject
* obj3
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12063 if (arg1
== NULL
) {
12064 PyErr_SetString(PyExc_TypeError
,"null reference");
12067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12070 if (arg2
== NULL
) {
12071 PyErr_SetString(PyExc_TypeError
,"null reference");
12075 arg3
= (int)SWIG_As_int(obj2
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12079 arg4
= (int)SWIG_As_int(obj3
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12098 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12101 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12103 return Py_BuildValue((char *)"");
12105 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxEvtHandler
*result
;
12108 char *kwnames
[] = {
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (wxEvtHandler
*)new wxEvtHandler();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12127 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12130 wxEvtHandler
*result
;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= wxPyMake_wxObject(result
, 0);
12155 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12158 wxEvtHandler
*result
;
12159 PyObject
* obj0
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= wxPyMake_wxObject(result
, 0);
12183 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12186 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12187 PyObject
* obj0
= 0 ;
12188 PyObject
* obj1
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self",(char *) "handler", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 (arg1
)->SetNextHandler(arg2
);
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 Py_INCREF(Py_None
); resultobj
= Py_None
;
12212 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12215 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12216 PyObject
* obj0
= 0 ;
12217 PyObject
* obj1
= 0 ;
12218 char *kwnames
[] = {
12219 (char *) "self",(char *) "handler", NULL
12222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 (arg1
)->SetPreviousHandler(arg2
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 Py_INCREF(Py_None
); resultobj
= Py_None
;
12241 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12273 PyObject
* obj0
= 0 ;
12274 PyObject
* obj1
= 0 ;
12275 char *kwnames
[] = {
12276 (char *) "self",(char *) "enabled", NULL
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12282 arg2
= (bool)SWIG_As_bool(obj1
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 (arg1
)->SetEvtHandlerEnabled(arg2
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 Py_INCREF(Py_None
); resultobj
= Py_None
;
12298 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12301 wxEvent
*arg2
= 0 ;
12303 PyObject
* obj0
= 0 ;
12304 PyObject
* obj1
= 0 ;
12305 char *kwnames
[] = {
12306 (char *) "self",(char *) "event", NULL
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12315 if (arg2
== NULL
) {
12316 PyErr_SetString(PyExc_TypeError
,"null reference");
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12335 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12338 wxEvent
*arg2
= 0 ;
12339 PyObject
* obj0
= 0 ;
12340 PyObject
* obj1
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self",(char *) "event", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12351 if (arg2
== NULL
) {
12352 PyErr_SetString(PyExc_TypeError
,"null reference");
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->AddPendingEvent(*arg2
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 Py_INCREF(Py_None
); resultobj
= Py_None
;
12369 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12372 PyObject
* obj0
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->ProcessPendingEvents();
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 Py_INCREF(Py_None
); resultobj
= Py_None
;
12394 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12400 PyObject
*arg5
= (PyObject
*) 0 ;
12401 PyObject
* obj0
= 0 ;
12402 PyObject
* obj1
= 0 ;
12403 PyObject
* obj2
= 0 ;
12404 PyObject
* obj3
= 0 ;
12405 PyObject
* obj4
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 arg2
= (int)SWIG_As_int(obj1
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12415 arg3
= (int)SWIG_As_int(obj2
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12417 arg4
= (int)SWIG_As_int(obj3
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 Py_INCREF(Py_None
); resultobj
= Py_None
;
12434 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12438 int arg3
= (int) -1 ;
12439 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 PyObject
* obj2
= 0 ;
12444 PyObject
* obj3
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12452 arg2
= (int)SWIG_As_int(obj1
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 arg3
= (int)SWIG_As_int(obj2
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12459 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12478 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12481 PyObject
*arg2
= (PyObject
*) 0 ;
12482 PyObject
* obj0
= 0 ;
12483 PyObject
* obj1
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "self",(char *) "_self", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 wxEvtHandler__setOORInfo(arg1
,arg2
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 Py_INCREF(Py_None
); resultobj
= Py_None
;
12506 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12509 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12511 return Py_BuildValue((char *)"");
12513 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
;
12515 wxEventType result
;
12516 char *kwnames
[] = {
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (wxEventType
)wxNewEventType();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_From_int((int)result
);
12535 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxEvent
*arg1
= (wxEvent
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxEvent
*arg1
= (wxEvent
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 PyObject
* obj1
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self",(char *) "typ", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12573 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 (arg1
)->SetEventType(arg2
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 Py_INCREF(Py_None
); resultobj
= Py_None
;
12589 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxEvent
*arg1
= (wxEvent
*) 0 ;
12592 wxEventType result
;
12593 PyObject
* obj0
= 0 ;
12594 char *kwnames
[] = {
12595 (char *) "self", NULL
12598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_From_int((int)result
);
12615 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12616 PyObject
*resultobj
;
12617 wxEvent
*arg1
= (wxEvent
*) 0 ;
12619 PyObject
* obj0
= 0 ;
12620 char *kwnames
[] = {
12621 (char *) "self", NULL
12624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= wxPyMake_wxObject(result
, 0);
12643 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
;
12645 wxEvent
*arg1
= (wxEvent
*) 0 ;
12646 wxObject
*arg2
= (wxObject
*) 0 ;
12647 PyObject
* obj0
= 0 ;
12648 PyObject
* obj1
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self",(char *) "obj", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 (arg1
)->SetEventObject(arg2
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 Py_INCREF(Py_None
); resultobj
= Py_None
;
12672 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxEvent
*arg1
= (wxEvent
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= SWIG_From_long((long)result
);
12698 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxEvent
*arg1
= (wxEvent
*) 0 ;
12701 long arg2
= (long) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 PyObject
* obj1
= 0 ;
12704 char *kwnames
[] = {
12705 (char *) "self",(char *) "ts", NULL
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12712 arg2
= (long)SWIG_As_long(obj1
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 (arg1
)->SetTimestamp(arg2
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 Py_INCREF(Py_None
); resultobj
= Py_None
;
12729 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxEvent
*arg1
= (wxEvent
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (int)((wxEvent
const *)arg1
)->GetId();
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_From_int((int)result
);
12755 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxEvent
*arg1
= (wxEvent
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 PyObject
* obj1
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self",(char *) "Id", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12768 arg2
= (int)SWIG_As_int(obj1
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 (arg1
)->SetId(arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 Py_INCREF(Py_None
); resultobj
= Py_None
;
12784 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxEvent
*arg1
= (wxEvent
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12812 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxEvent
*arg1
= (wxEvent
*) 0 ;
12815 bool arg2
= (bool) true ;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self",(char *) "skip", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12826 arg2
= (bool)SWIG_As_bool(obj1
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 (arg1
)->Skip(arg2
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 Py_INCREF(Py_None
); resultobj
= Py_None
;
12843 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxEvent
*arg1
= (wxEvent
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "self", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12871 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxEvent
*arg1
= (wxEvent
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12899 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxEvent
*arg1
= (wxEvent
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (int)(arg1
)->StopPropagation();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_From_int((int)result
);
12925 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxEvent
*arg1
= (wxEvent
*) 0 ;
12929 PyObject
* obj0
= 0 ;
12930 PyObject
* obj1
= 0 ;
12931 char *kwnames
[] = {
12932 (char *) "self",(char *) "propagationLevel", NULL
12935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12938 arg2
= (int)SWIG_As_int(obj1
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 (arg1
)->ResumePropagation(arg2
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 Py_INCREF(Py_None
); resultobj
= Py_None
;
12954 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxEvent
*arg1
= (wxEvent
*) 0 ;
12958 PyObject
* obj0
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 result
= (wxEvent
*)(arg1
)->Clone();
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12980 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12983 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12985 return Py_BuildValue((char *)"");
12987 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxEvent
*arg1
= 0 ;
12990 wxPropagationDisabler
*result
;
12991 PyObject
* obj0
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "event", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13000 if (arg1
== NULL
) {
13001 PyErr_SetString(PyExc_TypeError
,"null reference");
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13018 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 Py_INCREF(Py_None
); resultobj
= Py_None
;
13043 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13046 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13048 return Py_BuildValue((char *)"");
13050 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxEvent
*arg1
= 0 ;
13053 wxPropagateOnce
*result
;
13054 PyObject
* obj0
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "event", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13063 if (arg1
== NULL
) {
13064 PyErr_SetString(PyExc_TypeError
,"null reference");
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13081 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13082 PyObject
*resultobj
;
13083 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13084 PyObject
* obj0
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 Py_INCREF(Py_None
); resultobj
= Py_None
;
13106 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13109 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13111 return Py_BuildValue((char *)"");
13113 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13116 int arg2
= (int) 0 ;
13117 wxCommandEvent
*result
;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "commandType",(char *) "winid", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13126 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13130 arg2
= (int)SWIG_As_int(obj1
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13147 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_From_int((int)result
);
13173 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13176 wxString
*arg2
= 0 ;
13177 bool temp2
= false ;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self",(char *) "s", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 arg2
= wxString_in_helper(obj1
);
13189 if (arg2
== NULL
) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 (arg1
)->SetString((wxString
const &)*arg2
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13246 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13274 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13302 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13306 PyObject
* obj0
= 0 ;
13307 PyObject
* obj1
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "extraLong", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 arg2
= (long)SWIG_As_long(obj1
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 (arg1
)->SetExtraLong(arg2
);
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 Py_INCREF(Py_None
); resultobj
= Py_None
;
13331 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= SWIG_From_long((long)result
);
13357 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "i", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 arg2
= (int)SWIG_As_int(obj1
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 (arg1
)->SetInt(arg2
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 Py_INCREF(Py_None
); resultobj
= Py_None
;
13386 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
;
13388 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13390 PyObject
* obj0
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= SWIG_From_long((long)result
);
13412 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13438 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13441 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13443 return Py_BuildValue((char *)"");
13445 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13448 int arg2
= (int) 0 ;
13449 wxNotifyEvent
*result
;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "commandType",(char *) "winid", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13458 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13462 arg2
= (int)SWIG_As_int(obj1
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13479 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13482 PyObject
* obj0
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 Py_INCREF(Py_None
); resultobj
= Py_None
;
13504 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "self", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 Py_INCREF(Py_None
); resultobj
= Py_None
;
13529 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13533 PyObject
* obj0
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= (bool)(arg1
)->IsAllowed();
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13557 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13560 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13562 return Py_BuildValue((char *)"");
13564 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13567 int arg2
= (int) 0 ;
13568 int arg3
= (int) 0 ;
13569 int arg4
= (int) 0 ;
13570 wxScrollEvent
*result
;
13571 PyObject
* obj0
= 0 ;
13572 PyObject
* obj1
= 0 ;
13573 PyObject
* obj2
= 0 ;
13574 PyObject
* obj3
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13581 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13585 arg2
= (int)SWIG_As_int(obj1
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13589 arg3
= (int)SWIG_As_int(obj2
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 arg4
= (int)SWIG_As_int(obj3
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13610 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "self", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= SWIG_From_int((int)result
);
13636 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 char *kwnames
[] = {
13642 (char *) "self", NULL
13645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= SWIG_From_int((int)result
);
13662 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13666 PyObject
* obj0
= 0 ;
13667 PyObject
* obj1
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "self",(char *) "orient", NULL
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13675 arg2
= (int)SWIG_As_int(obj1
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 (arg1
)->SetOrientation(arg2
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 Py_INCREF(Py_None
); resultobj
= Py_None
;
13691 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "self",(char *) "pos", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13704 arg2
= (int)SWIG_As_int(obj1
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 (arg1
)->SetPosition(arg2
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 Py_INCREF(Py_None
); resultobj
= Py_None
;
13720 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13723 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13725 return Py_BuildValue((char *)"");
13727 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13730 int arg2
= (int) 0 ;
13731 int arg3
= (int) 0 ;
13732 wxScrollWinEvent
*result
;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 PyObject
* obj2
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13742 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13746 arg2
= (int)SWIG_As_int(obj1
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13750 arg3
= (int)SWIG_As_int(obj2
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13767 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_From_int((int)result
);
13793 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_From_int((int)result
);
13819 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13823 PyObject
* obj0
= 0 ;
13824 PyObject
* obj1
= 0 ;
13825 char *kwnames
[] = {
13826 (char *) "self",(char *) "orient", NULL
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13832 arg2
= (int)SWIG_As_int(obj1
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 (arg1
)->SetOrientation(arg2
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 Py_INCREF(Py_None
); resultobj
= Py_None
;
13848 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 PyObject
* obj1
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self",(char *) "pos", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 arg2
= (int)SWIG_As_int(obj1
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 (arg1
)->SetPosition(arg2
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 Py_INCREF(Py_None
); resultobj
= Py_None
;
13877 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13880 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13882 return Py_BuildValue((char *)"");
13884 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13887 wxMouseEvent
*result
;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "mouseType", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13895 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= wxPyMake_wxObject(result
, 1);
13914 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13942 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13945 int arg2
= (int) wxMOUSE_BTN_ANY
;
13947 PyObject
* obj0
= 0 ;
13948 PyObject
* obj1
= 0 ;
13949 char *kwnames
[] = {
13950 (char *) "self",(char *) "but", NULL
13953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13957 arg2
= (int)SWIG_As_int(obj1
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13976 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13979 int arg2
= (int) wxMOUSE_BTN_ANY
;
13981 PyObject
* obj0
= 0 ;
13982 PyObject
* obj1
= 0 ;
13983 char *kwnames
[] = {
13984 (char *) "self",(char *) "but", NULL
13987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13991 arg2
= (int)SWIG_As_int(obj1
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14010 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
*resultobj
;
14012 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14013 int arg2
= (int) wxMOUSE_BTN_ANY
;
14015 PyObject
* obj0
= 0 ;
14016 PyObject
* obj1
= 0 ;
14017 char *kwnames
[] = {
14018 (char *) "self",(char *) "but", NULL
14021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14025 arg2
= (int)SWIG_As_int(obj1
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14044 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14045 PyObject
*resultobj
;
14046 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "self",(char *) "but", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14058 arg2
= (int)SWIG_As_int(obj1
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14076 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14081 PyObject
* obj0
= 0 ;
14082 PyObject
* obj1
= 0 ;
14083 char *kwnames
[] = {
14084 (char *) "self",(char *) "but", NULL
14087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14090 arg2
= (int)SWIG_As_int(obj1
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14108 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_From_int((int)result
);
14134 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14138 PyObject
* obj0
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14162 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14190 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14218 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14246 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14250 PyObject
* obj0
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14274 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "self", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14302 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14330 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
;
14332 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14334 PyObject
* obj0
= 0 ;
14335 char *kwnames
[] = {
14336 (char *) "self", NULL
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14358 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14386 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14414 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "self", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14442 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14470 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14498 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14502 PyObject
* obj0
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14526 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (bool)(arg1
)->LeftIsDown();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14554 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14558 PyObject
* obj0
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (bool)(arg1
)->MiddleIsDown();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14582 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (bool)(arg1
)->RightIsDown();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14610 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14638 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14666 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14694 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
;
14696 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14698 PyObject
* obj0
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "self", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14722 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (arg1
)->GetPosition();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 wxPoint
* resultptr
;
14743 resultptr
= new wxPoint((wxPoint
&) result
);
14744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14752 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14755 long *arg2
= (long *) 0 ;
14756 long *arg3
= (long *) 0 ;
14761 PyObject
* obj0
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self", NULL
14766 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14767 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 (arg1
)->GetPosition(arg2
,arg3
);
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 Py_INCREF(Py_None
); resultobj
= Py_None
;
14779 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14780 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14781 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14782 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14789 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 PyObject
* obj1
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self",(char *) "dc", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14806 if (arg2
== NULL
) {
14807 PyErr_SetString(PyExc_TypeError
,"null reference");
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14818 wxPoint
* resultptr
;
14819 resultptr
= new wxPoint((wxPoint
&) result
);
14820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14828 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14832 PyObject
* obj0
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "self", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_From_int((int)result
);
14854 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
;
14856 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14858 PyObject
* obj0
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= SWIG_From_int((int)result
);
14880 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14884 PyObject
* obj0
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_From_int((int)result
);
14906 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14910 PyObject
* obj0
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_From_int((int)result
);
14932 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_From_int((int)result
);
14958 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14986 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 PyObject
* obj1
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self",(char *) "m_x", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14999 arg2
= (int)SWIG_As_int(obj1
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15001 if (arg1
) (arg1
)->m_x
= arg2
;
15003 Py_INCREF(Py_None
); resultobj
= Py_None
;
15010 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15022 result
= (int) ((arg1
)->m_x
);
15024 resultobj
= SWIG_From_int((int)result
);
15031 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self",(char *) "m_y", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 arg2
= (int)SWIG_As_int(obj1
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15046 if (arg1
) (arg1
)->m_y
= arg2
;
15048 Py_INCREF(Py_None
); resultobj
= Py_None
;
15055 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 result
= (int) ((arg1
)->m_y
);
15069 resultobj
= SWIG_From_int((int)result
);
15076 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 PyObject
* obj1
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "self",(char *) "m_leftDown", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15089 arg2
= (bool)SWIG_As_bool(obj1
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15091 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15093 Py_INCREF(Py_None
); resultobj
= Py_None
;
15100 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15112 result
= (bool) ((arg1
)->m_leftDown
);
15115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15123 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 PyObject
* obj1
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self",(char *) "m_middleDown", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15136 arg2
= (bool)SWIG_As_bool(obj1
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15138 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15159 result
= (bool) ((arg1
)->m_middleDown
);
15162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15170 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 PyObject
* obj1
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self",(char *) "m_rightDown", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15183 arg2
= (bool)SWIG_As_bool(obj1
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15185 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15187 Py_INCREF(Py_None
); resultobj
= Py_None
;
15194 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 char *kwnames
[] = {
15200 (char *) "self", NULL
15203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15206 result
= (bool) ((arg1
)->m_rightDown
);
15209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15217 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self",(char *) "m_controlDown", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15230 arg2
= (bool)SWIG_As_bool(obj1
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15232 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15234 Py_INCREF(Py_None
); resultobj
= Py_None
;
15241 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15253 result
= (bool) ((arg1
)->m_controlDown
);
15256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15264 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
;
15266 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self",(char *) "m_shiftDown", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15277 arg2
= (bool)SWIG_As_bool(obj1
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15279 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15281 Py_INCREF(Py_None
); resultobj
= Py_None
;
15288 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 char *kwnames
[] = {
15294 (char *) "self", NULL
15297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15300 result
= (bool) ((arg1
)->m_shiftDown
);
15303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15311 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
;
15313 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 PyObject
* obj1
= 0 ;
15317 char *kwnames
[] = {
15318 (char *) "self",(char *) "m_altDown", NULL
15321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15324 arg2
= (bool)SWIG_As_bool(obj1
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15326 if (arg1
) (arg1
)->m_altDown
= arg2
;
15328 Py_INCREF(Py_None
); resultobj
= Py_None
;
15335 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "self", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15347 result
= (bool) ((arg1
)->m_altDown
);
15350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15358 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 PyObject
* obj1
= 0 ;
15364 char *kwnames
[] = {
15365 (char *) "self",(char *) "m_metaDown", NULL
15368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15371 arg2
= (bool)SWIG_As_bool(obj1
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15373 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15375 Py_INCREF(Py_None
); resultobj
= Py_None
;
15382 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15394 result
= (bool) ((arg1
)->m_metaDown
);
15397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15405 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 PyObject
* obj1
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self",(char *) "m_wheelRotation", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 arg2
= (int)SWIG_As_int(obj1
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15420 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15422 Py_INCREF(Py_None
); resultobj
= Py_None
;
15429 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15441 result
= (int) ((arg1
)->m_wheelRotation
);
15443 resultobj
= SWIG_From_int((int)result
);
15450 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 PyObject
* obj1
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "m_wheelDelta", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15463 arg2
= (int)SWIG_As_int(obj1
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15465 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15467 Py_INCREF(Py_None
); resultobj
= Py_None
;
15474 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15486 result
= (int) ((arg1
)->m_wheelDelta
);
15488 resultobj
= SWIG_From_int((int)result
);
15495 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15499 PyObject
* obj0
= 0 ;
15500 PyObject
* obj1
= 0 ;
15501 char *kwnames
[] = {
15502 (char *) "self",(char *) "m_linesPerAction", NULL
15505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15508 arg2
= (int)SWIG_As_int(obj1
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15510 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15512 Py_INCREF(Py_None
); resultobj
= Py_None
;
15519 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15521 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15531 result
= (int) ((arg1
)->m_linesPerAction
);
15533 resultobj
= SWIG_From_int((int)result
);
15540 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15543 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15545 return Py_BuildValue((char *)"");
15547 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 int arg1
= (int) 0 ;
15550 int arg2
= (int) 0 ;
15551 wxSetCursorEvent
*result
;
15552 PyObject
* obj0
= 0 ;
15553 PyObject
* obj1
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "x",(char *) "y", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15560 arg1
= (int)SWIG_As_int(obj0
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 arg2
= (int)SWIG_As_int(obj1
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15581 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15583 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15585 PyObject
* obj0
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= SWIG_From_int((int)result
);
15607 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_From_int((int)result
);
15633 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15636 wxCursor
*arg2
= 0 ;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 char *kwnames
[] = {
15640 (char *) "self",(char *) "cursor", NULL
15643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15649 if (arg2
== NULL
) {
15650 PyErr_SetString(PyExc_TypeError
,"null reference");
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 Py_INCREF(Py_None
); resultobj
= Py_None
;
15667 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
;
15669 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15683 result
= (wxCursor
*) &_result_ref
;
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 wxCursor
* resultptr
= new wxCursor(*result
);
15691 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15699 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 char *kwnames
[] = {
15705 (char *) "self", NULL
15708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15727 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15730 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15732 return Py_BuildValue((char *)"");
15734 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15737 wxKeyEvent
*result
;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "keyType", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15745 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15762 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15790 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15818 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15846 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15874 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15902 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15930 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15934 PyObject
* obj0
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "self", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= SWIG_From_int((int)result
);
15956 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15975 resultobj
= SWIG_From_int((int)result
);
15982 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15985 unsigned int result
;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16008 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16011 unsigned int result
;
16012 PyObject
* obj0
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16034 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
;
16036 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16038 PyObject
* obj0
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 result
= (arg1
)->GetPosition();
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16054 wxPoint
* resultptr
;
16055 resultptr
= new wxPoint((wxPoint
&) result
);
16056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16064 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16067 long *arg2
= (long *) 0 ;
16068 long *arg3
= (long *) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self", NULL
16078 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16079 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 (arg1
)->GetPosition(arg2
,arg3
);
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 Py_INCREF(Py_None
); resultobj
= Py_None
;
16091 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16092 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16093 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16094 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16101 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16105 PyObject
* obj0
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= SWIG_From_int((int)result
);
16127 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= SWIG_From_int((int)result
);
16153 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16157 PyObject
* obj0
= 0 ;
16158 PyObject
* obj1
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self",(char *) "m_x", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16166 arg2
= (int)SWIG_As_int(obj1
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16168 if (arg1
) (arg1
)->m_x
= arg2
;
16170 Py_INCREF(Py_None
); resultobj
= Py_None
;
16177 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16189 result
= (int) ((arg1
)->m_x
);
16191 resultobj
= SWIG_From_int((int)result
);
16198 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 PyObject
* obj1
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self",(char *) "m_y", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16211 arg2
= (int)SWIG_As_int(obj1
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16213 if (arg1
) (arg1
)->m_y
= arg2
;
16215 Py_INCREF(Py_None
); resultobj
= Py_None
;
16222 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16226 PyObject
* obj0
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 result
= (int) ((arg1
)->m_y
);
16236 resultobj
= SWIG_From_int((int)result
);
16243 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 PyObject
* obj1
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "m_keyCode", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16256 arg2
= (long)SWIG_As_long(obj1
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16258 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16260 Py_INCREF(Py_None
); resultobj
= Py_None
;
16267 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 result
= (long) ((arg1
)->m_keyCode
);
16281 resultobj
= SWIG_From_long((long)result
);
16288 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 PyObject
* obj1
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self",(char *) "m_controlDown", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16301 arg2
= (bool)SWIG_As_bool(obj1
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16303 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16305 Py_INCREF(Py_None
); resultobj
= Py_None
;
16312 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 result
= (bool) ((arg1
)->m_controlDown
);
16327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16335 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16339 PyObject
* obj0
= 0 ;
16340 PyObject
* obj1
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self",(char *) "m_shiftDown", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16348 arg2
= (bool)SWIG_As_bool(obj1
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16350 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16352 Py_INCREF(Py_None
); resultobj
= Py_None
;
16359 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16371 result
= (bool) ((arg1
)->m_shiftDown
);
16374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16382 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self",(char *) "m_altDown", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16395 arg2
= (bool)SWIG_As_bool(obj1
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16397 if (arg1
) (arg1
)->m_altDown
= arg2
;
16399 Py_INCREF(Py_None
); resultobj
= Py_None
;
16406 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16410 PyObject
* obj0
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16418 result
= (bool) ((arg1
)->m_altDown
);
16421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16429 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "self",(char *) "m_metaDown", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16442 arg2
= (bool)SWIG_As_bool(obj1
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16444 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16446 Py_INCREF(Py_None
); resultobj
= Py_None
;
16453 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16465 result
= (bool) ((arg1
)->m_metaDown
);
16468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16476 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self",(char *) "m_scanCode", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16489 arg2
= (bool)SWIG_As_bool(obj1
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16491 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16493 Py_INCREF(Py_None
); resultobj
= Py_None
;
16500 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16504 PyObject
* obj0
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 result
= (bool) ((arg1
)->m_scanCode
);
16515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16523 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16526 unsigned int arg2
;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self",(char *) "m_rawCode", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16536 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16538 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16540 Py_INCREF(Py_None
); resultobj
= Py_None
;
16547 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16550 unsigned int result
;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 result
= (unsigned int) ((arg1
)->m_rawCode
);
16561 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16568 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16571 unsigned int arg2
;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "self",(char *) "m_rawFlags", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16581 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16583 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16585 Py_INCREF(Py_None
); resultobj
= Py_None
;
16592 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16595 unsigned int result
;
16596 PyObject
* obj0
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16604 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16606 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16613 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16616 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16618 return Py_BuildValue((char *)"");
16620 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16622 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16623 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16624 int arg2
= (int) 0 ;
16625 wxSizeEvent
*result
;
16627 PyObject
* obj0
= 0 ;
16628 PyObject
* obj1
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "sz",(char *) "winid", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16637 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16641 arg2
= (int)SWIG_As_int(obj1
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16658 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16662 PyObject
* obj0
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16678 wxSize
* resultptr
;
16679 resultptr
= new wxSize((wxSize
&) result
);
16680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16688 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 wxRect
* resultptr
;
16709 resultptr
= new wxRect((wxRect
&) result
);
16710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16718 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16720 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 PyObject
* obj1
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self",(char *) "rect", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16732 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16733 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 (arg1
)->SetRect(arg2
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 Py_INCREF(Py_None
); resultobj
= Py_None
;
16749 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "size", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16763 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16764 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 wxSizeEvent_SetSize(arg1
,arg2
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 Py_INCREF(Py_None
); resultobj
= Py_None
;
16780 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16783 wxSize
*arg2
= (wxSize
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self",(char *) "m_size", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16795 if (arg1
) (arg1
)->m_size
= *arg2
;
16797 Py_INCREF(Py_None
); resultobj
= Py_None
;
16804 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16816 result
= (wxSize
*)& ((arg1
)->m_size
);
16818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16825 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16828 wxRect
*arg2
= (wxRect
*) 0 ;
16829 PyObject
* obj0
= 0 ;
16830 PyObject
* obj1
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "self",(char *) "m_rect", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16840 if (arg1
) (arg1
)->m_rect
= *arg2
;
16842 Py_INCREF(Py_None
); resultobj
= Py_None
;
16849 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
;
16851 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16853 PyObject
* obj0
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16861 result
= (wxRect
*)& ((arg1
)->m_rect
);
16863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16870 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16873 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16875 return Py_BuildValue((char *)"");
16877 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16880 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16881 int arg2
= (int) 0 ;
16882 wxMoveEvent
*result
;
16884 PyObject
* obj0
= 0 ;
16885 PyObject
* obj1
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "pos",(char *) "winid", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16894 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16898 arg2
= (int)SWIG_As_int(obj1
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16915 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16919 PyObject
* obj0
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16935 wxPoint
* resultptr
;
16936 resultptr
= new wxPoint((wxPoint
&) result
);
16937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16945 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16949 PyObject
* obj0
= 0 ;
16950 char *kwnames
[] = {
16951 (char *) "self", NULL
16954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 wxRect
* resultptr
;
16966 resultptr
= new wxRect((wxRect
&) result
);
16967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16975 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
;
16977 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self",(char *) "rect", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16990 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 (arg1
)->SetRect(arg2
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 Py_INCREF(Py_None
); resultobj
= Py_None
;
17006 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17011 PyObject
* obj0
= 0 ;
17012 PyObject
* obj1
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "self",(char *) "pos", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17020 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17021 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 wxMoveEvent_SetPosition(arg1
,arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 Py_INCREF(Py_None
); resultobj
= Py_None
;
17037 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17040 wxPoint
*arg2
= (wxPoint
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self",(char *) "m_pos", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17052 if (arg1
) (arg1
)->m_pos
= *arg2
;
17054 Py_INCREF(Py_None
); resultobj
= Py_None
;
17061 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17062 PyObject
*resultobj
;
17063 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17065 PyObject
* obj0
= 0 ;
17066 char *kwnames
[] = {
17067 (char *) "self", NULL
17070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17073 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17082 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17085 wxRect
*arg2
= (wxRect
*) 0 ;
17086 PyObject
* obj0
= 0 ;
17087 PyObject
* obj1
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self",(char *) "m_rect", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17097 if (arg1
) (arg1
)->m_rect
= *arg2
;
17099 Py_INCREF(Py_None
); resultobj
= Py_None
;
17106 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17118 result
= (wxRect
*)& ((arg1
)->m_rect
);
17120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17127 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17130 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17132 return Py_BuildValue((char *)"");
17134 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 int arg1
= (int) 0 ;
17137 wxPaintEvent
*result
;
17138 PyObject
* obj0
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "Id", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17145 arg1
= (int)SWIG_As_int(obj0
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17162 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17165 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17167 return Py_BuildValue((char *)"");
17169 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 int arg1
= (int) 0 ;
17172 wxNcPaintEvent
*result
;
17173 PyObject
* obj0
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "winid", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17180 arg1
= (int)SWIG_As_int(obj0
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17197 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17200 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17202 return Py_BuildValue((char *)"");
17204 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
;
17206 int arg1
= (int) 0 ;
17207 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17208 wxEraseEvent
*result
;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "Id",(char *) "dc", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17217 arg1
= (int)SWIG_As_int(obj0
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17238 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17242 PyObject
* obj0
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= wxPyMake_wxObject(result
, 0);
17266 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17269 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17271 return Py_BuildValue((char *)"");
17273 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17276 int arg2
= (int) 0 ;
17277 wxFocusEvent
*result
;
17278 PyObject
* obj0
= 0 ;
17279 PyObject
* obj1
= 0 ;
17280 char *kwnames
[] = {
17281 (char *) "type",(char *) "winid", NULL
17284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17286 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17290 arg2
= (int)SWIG_As_int(obj1
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17307 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17311 PyObject
* obj0
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= wxPyMake_wxObject(result
, 0);
17335 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17338 wxWindow
*arg2
= (wxWindow
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 PyObject
* obj1
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self",(char *) "win", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 (arg1
)->SetWindow(arg2
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 Py_INCREF(Py_None
); resultobj
= Py_None
;
17364 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17367 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17369 return Py_BuildValue((char *)"");
17371 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxWindow
*arg1
= (wxWindow
*) NULL
;
17374 wxChildFocusEvent
*result
;
17375 PyObject
* obj0
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "win", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17399 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17419 resultobj
= wxPyMake_wxObject(result
, 0);
17427 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17430 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17432 return Py_BuildValue((char *)"");
17434 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17437 bool arg2
= (bool) true ;
17438 int arg3
= (int) 0 ;
17439 wxActivateEvent
*result
;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 PyObject
* obj2
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "type",(char *) "active",(char *) "Id", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17449 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 arg2
= (bool)SWIG_As_bool(obj1
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 arg3
= (int)SWIG_As_int(obj2
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17474 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17476 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17478 PyObject
* obj0
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17502 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17505 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17507 return Py_BuildValue((char *)"");
17509 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 int arg1
= (int) 0 ;
17512 wxInitDialogEvent
*result
;
17513 PyObject
* obj0
= 0 ;
17514 char *kwnames
[] = {
17515 (char *) "Id", NULL
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17520 arg1
= (int)SWIG_As_int(obj0
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17537 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17540 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17542 return Py_BuildValue((char *)"");
17544 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17547 int arg2
= (int) 0 ;
17548 wxMenu
*arg3
= (wxMenu
*) NULL
;
17549 wxMenuEvent
*result
;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 PyObject
* obj2
= 0 ;
17553 char *kwnames
[] = {
17554 (char *) "type",(char *) "winid",(char *) "menu", NULL
17557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17559 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 arg2
= (int)SWIG_As_int(obj1
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17567 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17584 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17588 PyObject
* obj0
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= SWIG_From_int((int)result
);
17610 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
;
17612 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17614 PyObject
* obj0
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17624 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17638 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17642 PyObject
* obj0
= 0 ;
17643 char *kwnames
[] = {
17644 (char *) "self", NULL
17647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= wxPyMake_wxObject(result
, 0);
17666 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17669 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17671 return Py_BuildValue((char *)"");
17673 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17675 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17676 int arg2
= (int) 0 ;
17677 wxCloseEvent
*result
;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "type",(char *) "winid", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17686 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17690 arg2
= (int)SWIG_As_int(obj1
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17707 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 char *kwnames
[] = {
17714 (char *) "self",(char *) "logOff", NULL
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17720 arg2
= (bool)SWIG_As_bool(obj1
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 (arg1
)->SetLoggingOff(arg2
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 Py_INCREF(Py_None
); resultobj
= Py_None
;
17736 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17738 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17740 PyObject
* obj0
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17764 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17767 bool arg2
= (bool) true ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self",(char *) "veto", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17778 arg2
= (bool)SWIG_As_bool(obj1
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 (arg1
)->Veto(arg2
);
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 Py_INCREF(Py_None
); resultobj
= Py_None
;
17795 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17799 PyObject
* obj0
= 0 ;
17800 PyObject
* obj1
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "self",(char *) "canVeto", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17808 arg2
= (bool)SWIG_As_bool(obj1
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 (arg1
)->SetCanVeto(arg2
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 Py_INCREF(Py_None
); resultobj
= Py_None
;
17824 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17828 PyObject
* obj0
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17852 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
;
17854 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17856 PyObject
* obj0
= 0 ;
17857 char *kwnames
[] = {
17858 (char *) "self", NULL
17861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17880 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17883 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17885 return Py_BuildValue((char *)"");
17887 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 int arg1
= (int) 0 ;
17890 bool arg2
= (bool) false ;
17891 wxShowEvent
*result
;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "winid",(char *) "show", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17900 arg1
= (int)SWIG_As_int(obj0
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17904 arg2
= (bool)SWIG_As_bool(obj1
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17921 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17925 PyObject
* obj0
= 0 ;
17926 PyObject
* obj1
= 0 ;
17927 char *kwnames
[] = {
17928 (char *) "self",(char *) "show", NULL
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17934 arg2
= (bool)SWIG_As_bool(obj1
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 (arg1
)->SetShow(arg2
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 Py_INCREF(Py_None
); resultobj
= Py_None
;
17950 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17954 PyObject
* obj0
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17978 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17981 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17983 return Py_BuildValue((char *)"");
17985 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
;
17987 int arg1
= (int) 0 ;
17988 bool arg2
= (bool) true ;
17989 wxIconizeEvent
*result
;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "id",(char *) "iconized", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17998 arg1
= (int)SWIG_As_int(obj0
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18002 arg2
= (bool)SWIG_As_bool(obj1
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18019 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (bool)(arg1
)->Iconized();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18047 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18050 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18052 return Py_BuildValue((char *)"");
18054 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 int arg1
= (int) 0 ;
18057 wxMaximizeEvent
*result
;
18058 PyObject
* obj0
= 0 ;
18059 char *kwnames
[] = {
18060 (char *) "id", NULL
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18065 arg1
= (int)SWIG_As_int(obj0
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18082 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18085 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18087 return Py_BuildValue((char *)"");
18089 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (arg1
)->GetPosition();
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18109 wxPoint
* resultptr
;
18110 resultptr
= new wxPoint((wxPoint
&) result
);
18111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18119 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (int)(arg1
)->GetNumberOfFiles();
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_From_int((int)result
);
18145 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= result
;
18171 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18174 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18176 return Py_BuildValue((char *)"");
18178 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 int arg1
= (int) 0 ;
18181 wxUpdateUIEvent
*result
;
18182 PyObject
* obj0
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "commandId", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18189 arg1
= (int)SWIG_As_int(obj0
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18206 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18210 PyObject
* obj0
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18234 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
;
18236 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18238 PyObject
* obj0
= 0 ;
18239 char *kwnames
[] = {
18240 (char *) "self", NULL
18243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18262 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18264 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18266 PyObject
* obj0
= 0 ;
18267 char *kwnames
[] = {
18268 (char *) "self", NULL
18271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18294 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18298 PyObject
* obj0
= 0 ;
18299 char *kwnames
[] = {
18300 (char *) "self", NULL
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18322 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18326 PyObject
* obj0
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18350 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18378 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 PyObject
* obj1
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self",(char *) "check", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18391 arg2
= (bool)SWIG_As_bool(obj1
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 (arg1
)->Check(arg2
);
18397 wxPyEndAllowThreads(__tstate
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18400 Py_INCREF(Py_None
); resultobj
= Py_None
;
18407 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18408 PyObject
*resultobj
;
18409 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self",(char *) "enable", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18420 arg2
= (bool)SWIG_As_bool(obj1
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 (arg1
)->Enable(arg2
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 Py_INCREF(Py_None
); resultobj
= Py_None
;
18436 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18439 wxString
*arg2
= 0 ;
18440 bool temp2
= false ;
18441 PyObject
* obj0
= 0 ;
18442 PyObject
* obj1
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self",(char *) "text", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18451 arg2
= wxString_in_helper(obj1
);
18452 if (arg2
== NULL
) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 (arg1
)->SetText((wxString
const &)*arg2
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 Py_INCREF(Py_None
); resultobj
= Py_None
;
18477 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
;
18480 PyObject
* obj0
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "updateInterval", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18486 arg1
= (long)SWIG_As_long(obj0
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 Py_INCREF(Py_None
); resultobj
= Py_None
;
18502 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18505 char *kwnames
[] = {
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_From_long((long)result
);
18524 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxWindow
*arg1
= (wxWindow
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "win", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18552 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 char *kwnames
[] = {
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 wxUpdateUIEvent::ResetUpdateTime();
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 Py_INCREF(Py_None
); resultobj
= Py_None
;
18573 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "mode", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18582 arg1
= (int)SWIG_As_int(obj0
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 Py_INCREF(Py_None
); resultobj
= Py_None
;
18598 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
;
18601 char *kwnames
[] = {
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (int)wxUpdateUIEvent::GetMode();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_From_int((int)result
);
18620 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18623 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18625 return Py_BuildValue((char *)"");
18627 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxSysColourChangedEvent
*result
;
18630 char *kwnames
[] = {
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18649 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18652 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18654 return Py_BuildValue((char *)"");
18656 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 int arg1
= (int) 0 ;
18659 wxWindow
*arg2
= (wxWindow
*) NULL
;
18660 wxMouseCaptureChangedEvent
*result
;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "winid",(char *) "gainedCapture", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18669 arg1
= (int)SWIG_As_int(obj0
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18690 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= wxPyMake_wxObject(result
, 0);
18718 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18721 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18723 return Py_BuildValue((char *)"");
18725 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxDisplayChangedEvent
*result
;
18728 char *kwnames
[] = {
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18747 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18750 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18752 return Py_BuildValue((char *)"");
18754 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 int arg1
= (int) 0 ;
18757 wxPaletteChangedEvent
*result
;
18758 PyObject
* obj0
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "id", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18765 arg1
= (int)SWIG_As_int(obj0
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18772 wxPyEndAllowThreads(__tstate
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18782 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
;
18784 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18785 wxWindow
*arg2
= (wxWindow
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 PyObject
* obj1
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self",(char *) "win", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 (arg1
)->SetChangedWindow(arg2
);
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 Py_INCREF(Py_None
); resultobj
= Py_None
;
18811 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= wxPyMake_wxObject(result
, 0);
18839 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18842 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18844 return Py_BuildValue((char *)"");
18846 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 int arg1
= (int) 0 ;
18849 wxQueryNewPaletteEvent
*result
;
18850 PyObject
* obj0
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "winid", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18857 arg1
= (int)SWIG_As_int(obj0
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18874 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 PyObject
* obj1
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self",(char *) "realized", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18887 arg2
= (bool)SWIG_As_bool(obj1
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 (arg1
)->SetPaletteRealized(arg2
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 Py_INCREF(Py_None
); resultobj
= Py_None
;
18903 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18907 PyObject
* obj0
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18931 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18934 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18936 return Py_BuildValue((char *)"");
18938 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxNavigationKeyEvent
*result
;
18941 char *kwnames
[] = {
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18960 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18964 PyObject
* obj0
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18988 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "forward", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19001 arg2
= (bool)SWIG_As_bool(obj1
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 (arg1
)->SetDirection(arg2
);
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19010 Py_INCREF(Py_None
); resultobj
= Py_None
;
19017 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19045 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "ischange", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19058 arg2
= (bool)SWIG_As_bool(obj1
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 (arg1
)->SetWindowChange(arg2
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 Py_INCREF(Py_None
); resultobj
= Py_None
;
19074 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19078 PyObject
* obj0
= 0 ;
19079 PyObject
* obj1
= 0 ;
19080 char *kwnames
[] = {
19081 (char *) "self",(char *) "flags", NULL
19084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19087 arg2
= (long)SWIG_As_long(obj1
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 (arg1
)->SetFlags(arg2
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19096 Py_INCREF(Py_None
); resultobj
= Py_None
;
19103 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
;
19105 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19107 PyObject
* obj0
= 0 ;
19108 char *kwnames
[] = {
19109 (char *) "self", NULL
19112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= wxPyMake_wxObject(result
, 0);
19131 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19134 wxWindow
*arg2
= (wxWindow
*) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self",(char *) "win", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 (arg1
)->SetCurrentFocus(arg2
);
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 Py_INCREF(Py_None
); resultobj
= Py_None
;
19160 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19163 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19165 return Py_BuildValue((char *)"");
19167 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 wxWindow
*arg1
= (wxWindow
*) NULL
;
19170 wxWindowCreateEvent
*result
;
19171 PyObject
* obj0
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "win", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19195 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19199 PyObject
* obj0
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= wxPyMake_wxObject(result
, 0);
19223 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19226 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19228 return Py_BuildValue((char *)"");
19230 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxWindow
*arg1
= (wxWindow
*) NULL
;
19233 wxWindowDestroyEvent
*result
;
19234 PyObject
* obj0
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "win", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19258 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= wxPyMake_wxObject(result
, 0);
19286 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19289 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19291 return Py_BuildValue((char *)"");
19293 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
;
19295 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19296 int arg2
= (int) 0 ;
19297 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19298 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19299 wxContextMenuEvent
*result
;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 PyObject
* obj2
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "type",(char *) "winid",(char *) "pt", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19310 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19314 arg2
= (int)SWIG_As_int(obj1
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19337 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
;
19339 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19353 result
= (wxPoint
*) &_result_ref
;
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19366 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19369 wxPoint
*arg2
= 0 ;
19371 PyObject
* obj0
= 0 ;
19372 PyObject
* obj1
= 0 ;
19373 char *kwnames
[] = {
19374 (char *) "self",(char *) "pos", NULL
19377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19391 Py_INCREF(Py_None
); resultobj
= Py_None
;
19398 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19401 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19403 return Py_BuildValue((char *)"");
19405 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxIdleEvent
*result
;
19408 char *kwnames
[] = {
19412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 result
= (wxIdleEvent
*)new wxIdleEvent();
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19427 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
;
19429 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19430 bool arg2
= (bool) true ;
19431 PyObject
* obj0
= 0 ;
19432 PyObject
* obj1
= 0 ;
19433 char *kwnames
[] = {
19434 (char *) "self",(char *) "needMore", NULL
19437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19441 arg2
= (bool)SWIG_As_bool(obj1
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 (arg1
)->RequestMore(arg2
);
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 Py_INCREF(Py_None
); resultobj
= Py_None
;
19458 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19486 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19489 PyObject
* obj0
= 0 ;
19490 char *kwnames
[] = {
19491 (char *) "mode", NULL
19494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19495 arg1
= (int)SWIG_As_int(obj0
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 Py_INCREF(Py_None
); resultobj
= Py_None
;
19511 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19514 char *kwnames
[] = {
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (int)wxIdleEvent::GetMode();
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= SWIG_From_int((int)result
);
19533 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxWindow
*arg1
= (wxWindow
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "win", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= (bool)wxIdleEvent::CanSend(arg1
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19561 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19564 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19566 return Py_BuildValue((char *)"");
19568 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
;
19570 int arg1
= (int) 0 ;
19571 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19573 PyObject
* obj0
= 0 ;
19574 PyObject
* obj1
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "winid",(char *) "commandType", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19581 arg1
= (int)SWIG_As_int(obj0
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19585 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19602 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19605 PyObject
* obj0
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 Py_INCREF(Py_None
); resultobj
= Py_None
;
19627 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19630 PyObject
*arg2
= (PyObject
*) 0 ;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self",(char *) "self", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 (arg1
)->SetSelf(arg2
);
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19648 Py_INCREF(Py_None
); resultobj
= Py_None
;
19655 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19657 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19659 PyObject
* obj0
= 0 ;
19660 char *kwnames
[] = {
19661 (char *) "self", NULL
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 result
= (PyObject
*)(arg1
)->GetSelf();
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= result
;
19681 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19684 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19686 return Py_BuildValue((char *)"");
19688 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
;
19690 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19691 int arg2
= (int) 0 ;
19692 wxPyCommandEvent
*result
;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "commandType",(char *) "id", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19701 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19705 arg2
= (int)SWIG_As_int(obj1
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19722 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19724 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19725 PyObject
* obj0
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 Py_INCREF(Py_None
); resultobj
= Py_None
;
19747 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
;
19749 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19750 PyObject
*arg2
= (PyObject
*) 0 ;
19751 PyObject
* obj0
= 0 ;
19752 PyObject
* obj1
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self",(char *) "self", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->SetSelf(arg2
);
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 Py_INCREF(Py_None
); resultobj
= Py_None
;
19775 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (PyObject
*)(arg1
)->GetSelf();
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= result
;
19801 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19804 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19806 return Py_BuildValue((char *)"");
19808 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19811 char *kwnames
[] = {
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (wxPyApp
*)new_wxPyApp();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19830 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 Py_INCREF(Py_None
); resultobj
= Py_None
;
19855 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19858 PyObject
*arg2
= (PyObject
*) 0 ;
19859 PyObject
*arg3
= (PyObject
*) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 PyObject
* obj1
= 0 ;
19862 PyObject
* obj2
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "self",(char *) "self",(char *) "_class", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 Py_INCREF(Py_None
); resultobj
= Py_None
;
19886 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19918 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19921 wxString
*arg2
= 0 ;
19922 bool temp2
= false ;
19923 PyObject
* obj0
= 0 ;
19924 PyObject
* obj1
= 0 ;
19925 char *kwnames
[] = {
19926 (char *) "self",(char *) "name", NULL
19929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19933 arg2
= wxString_in_helper(obj1
);
19934 if (arg2
== NULL
) SWIG_fail
;
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 (arg1
)->SetAppName((wxString
const &)*arg2
);
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 Py_INCREF(Py_None
); resultobj
= Py_None
;
19959 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19963 PyObject
* obj0
= 0 ;
19964 char *kwnames
[] = {
19965 (char *) "self", NULL
19968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19991 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19994 wxString
*arg2
= 0 ;
19995 bool temp2
= false ;
19996 PyObject
* obj0
= 0 ;
19997 PyObject
* obj1
= 0 ;
19998 char *kwnames
[] = {
19999 (char *) "self",(char *) "name", NULL
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 arg2
= wxString_in_helper(obj1
);
20007 if (arg2
== NULL
) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 (arg1
)->SetClassName((wxString
const &)*arg2
);
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 Py_INCREF(Py_None
); resultobj
= Py_None
;
20032 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20048 result
= (wxString
*) &_result_ref
;
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20058 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20067 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20070 wxString
*arg2
= 0 ;
20071 bool temp2
= false ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self",(char *) "name", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20082 arg2
= wxString_in_helper(obj1
);
20083 if (arg2
== NULL
) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 Py_INCREF(Py_None
); resultobj
= Py_None
;
20108 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20111 wxAppTraits
*result
;
20112 PyObject
* obj0
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20134 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20137 PyObject
* obj0
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 (arg1
)->ProcessPendingEvents();
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 Py_INCREF(Py_None
); resultobj
= Py_None
;
20159 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20162 bool arg2
= (bool) false ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self",(char *) "onlyIfNeeded", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 arg2
= (bool)SWIG_As_bool(obj1
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (bool)(arg1
)->Yield(arg2
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20193 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20196 PyObject
* obj0
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "self", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 (arg1
)->WakeUpIdle();
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 Py_INCREF(Py_None
); resultobj
= Py_None
;
20218 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
;
20220 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20222 PyObject
* obj0
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 result
= (int)(arg1
)->MainLoop();
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= SWIG_From_int((int)result
);
20244 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
;
20246 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20247 PyObject
* obj0
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 Py_INCREF(Py_None
); resultobj
= Py_None
;
20269 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 (arg1
)->ExitMainLoop();
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 Py_INCREF(Py_None
); resultobj
= Py_None
;
20294 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 char *kwnames
[] = {
20300 (char *) "self", NULL
20303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 result
= (bool)(arg1
)->Pending();
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20322 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20323 PyObject
*resultobj
;
20324 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20326 PyObject
* obj0
= 0 ;
20327 char *kwnames
[] = {
20328 (char *) "self", NULL
20331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 result
= (bool)(arg1
)->Dispatch();
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20350 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20352 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20354 PyObject
* obj0
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 result
= (bool)(arg1
)->ProcessIdle();
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20378 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20381 wxWindow
*arg2
= (wxWindow
*) 0 ;
20382 wxIdleEvent
*arg3
= 0 ;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20386 PyObject
* obj2
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self",(char *) "win",(char *) "event", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20396 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20399 if (arg3
== NULL
) {
20400 PyErr_SetString(PyExc_TypeError
,"null reference");
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20419 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20421 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20423 PyObject
* obj0
= 0 ;
20424 char *kwnames
[] = {
20425 (char *) "self", NULL
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20447 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20450 wxWindow
*arg2
= (wxWindow
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 PyObject
* obj1
= 0 ;
20453 char *kwnames
[] = {
20454 (char *) "self",(char *) "win", NULL
20457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 (arg1
)->SetTopWindow(arg2
);
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 Py_INCREF(Py_None
); resultobj
= Py_None
;
20476 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
;
20478 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20480 PyObject
* obj0
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20496 resultobj
= wxPyMake_wxObject(result
, 0);
20504 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20506 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20508 PyObject
* obj0
= 0 ;
20509 PyObject
* obj1
= 0 ;
20510 char *kwnames
[] = {
20511 (char *) "self",(char *) "flag", NULL
20514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20517 arg2
= (bool)SWIG_As_bool(obj1
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 (arg1
)->SetExitOnFrameDelete(arg2
);
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 Py_INCREF(Py_None
); resultobj
= Py_None
;
20533 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20537 PyObject
* obj0
= 0 ;
20538 char *kwnames
[] = {
20539 (char *) "self", NULL
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20561 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "self",(char *) "flag", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20574 arg2
= (bool)SWIG_As_bool(obj1
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 (arg1
)->SetUseBestVisual(arg2
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 Py_INCREF(Py_None
); resultobj
= Py_None
;
20590 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20594 PyObject
* obj0
= 0 ;
20595 char *kwnames
[] = {
20596 (char *) "self", NULL
20599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20618 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
;
20620 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20622 PyObject
* obj0
= 0 ;
20623 PyObject
* obj1
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "self",(char *) "mode", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20631 arg2
= (int)SWIG_As_int(obj1
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 (arg1
)->SetPrintMode(arg2
);
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20640 Py_INCREF(Py_None
); resultobj
= Py_None
;
20647 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
;
20649 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20651 PyObject
* obj0
= 0 ;
20652 char *kwnames
[] = {
20653 (char *) "self", NULL
20656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 resultobj
= SWIG_From_int((int)result
);
20673 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 PyObject
* obj1
= 0 ;
20679 char *kwnames
[] = {
20680 (char *) "self",(char *) "mode", NULL
20683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20686 arg2
= (int)SWIG_As_int(obj1
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 (arg1
)->SetAssertMode(arg2
);
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 Py_INCREF(Py_None
); resultobj
= Py_None
;
20702 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
;
20704 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20706 PyObject
* obj0
= 0 ;
20707 char *kwnames
[] = {
20708 (char *) "self", NULL
20711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= (int)(arg1
)->GetAssertMode();
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_From_int((int)result
);
20728 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20731 char *kwnames
[] = {
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20752 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20755 char *kwnames
[] = {
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= SWIG_From_long((long)result
);
20774 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20777 char *kwnames
[] = {
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_From_long((long)result
);
20796 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20799 char *kwnames
[] = {
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= (long)wxPyApp::GetMacExitMenuItemId();
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_From_long((long)result
);
20818 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20821 char *kwnames
[] = {
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= wxPyApp::GetMacHelpMenuTitleName();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20846 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20849 PyObject
* obj0
= 0 ;
20850 char *kwnames
[] = {
20851 (char *) "val", NULL
20854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20855 arg1
= (bool)SWIG_As_bool(obj0
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 Py_INCREF(Py_None
); resultobj
= Py_None
;
20871 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20874 PyObject
* obj0
= 0 ;
20875 char *kwnames
[] = {
20876 (char *) "val", NULL
20879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20880 arg1
= (long)SWIG_As_long(obj0
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 wxPyApp::SetMacAboutMenuItemId(arg1
);
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20889 Py_INCREF(Py_None
); resultobj
= Py_None
;
20896 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20899 PyObject
* obj0
= 0 ;
20900 char *kwnames
[] = {
20901 (char *) "val", NULL
20904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20905 arg1
= (long)SWIG_As_long(obj0
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 Py_INCREF(Py_None
); resultobj
= Py_None
;
20921 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
;
20924 PyObject
* obj0
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "val", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20930 arg1
= (long)SWIG_As_long(obj0
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20934 wxPyApp::SetMacExitMenuItemId(arg1
);
20936 wxPyEndAllowThreads(__tstate
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20939 Py_INCREF(Py_None
); resultobj
= Py_None
;
20946 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
;
20948 wxString
*arg1
= 0 ;
20949 bool temp1
= false ;
20950 PyObject
* obj0
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "val", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20957 arg1
= wxString_in_helper(obj0
);
20958 if (arg1
== NULL
) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 Py_INCREF(Py_None
); resultobj
= Py_None
;
20983 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20985 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 (arg1
)->_BootstrapApp();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 Py_INCREF(Py_None
); resultobj
= Py_None
;
21008 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21011 char *kwnames
[] = {
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 result
= (int)PyApp_GetComCtl32Version();
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= SWIG_From_int((int)result
);
21030 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21033 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21035 return Py_BuildValue((char *)"");
21037 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21039 char *kwnames
[] = {
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 Py_INCREF(Py_None
); resultobj
= Py_None
;
21058 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21061 char *kwnames
[] = {
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (bool)wxYield();
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21082 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21085 char *kwnames
[] = {
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (bool)wxYieldIfNeeded();
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21106 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21108 wxWindow
*arg1
= (wxWindow
*) NULL
;
21109 bool arg2
= (bool) false ;
21111 PyObject
* obj0
= 0 ;
21112 PyObject
* obj1
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "win",(char *) "onlyIfNeeded", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21123 arg2
= (bool)SWIG_As_bool(obj1
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21128 result
= (bool)wxSafeYield(arg1
,arg2
);
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21142 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 char *kwnames
[] = {
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 Py_INCREF(Py_None
); resultobj
= Py_None
;
21163 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21166 wxEvent
*arg2
= 0 ;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "dest",(char *) "event", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21179 if (arg2
== NULL
) {
21180 PyErr_SetString(PyExc_TypeError
,"null reference");
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 wxPostEvent(arg1
,*arg2
);
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 Py_INCREF(Py_None
); resultobj
= Py_None
;
21197 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 char *kwnames
[] = {
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 Py_INCREF(Py_None
); resultobj
= Py_None
;
21218 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21221 char *kwnames
[] = {
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21228 result
= (wxPyApp
*)wxPyGetApp();
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= wxPyMake_wxObject(result
, 0);
21242 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
;
21244 wxEventLoop
*result
;
21245 char *kwnames
[] = {
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (wxEventLoop
*)new wxEventLoop();
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21264 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21267 PyObject
* obj0
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 wxPyEndAllowThreads(__tstate
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21282 Py_INCREF(Py_None
); resultobj
= Py_None
;
21289 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21290 PyObject
*resultobj
;
21291 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21293 PyObject
* obj0
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 result
= (int)(arg1
)->Run();
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= SWIG_From_int((int)result
);
21315 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21318 int arg2
= (int) 0 ;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 char *kwnames
[] = {
21322 (char *) "self",(char *) "rc", NULL
21325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21329 arg2
= (int)SWIG_As_int(obj1
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 (arg1
)->Exit(arg2
);
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 Py_INCREF(Py_None
); resultobj
= Py_None
;
21346 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21348 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21350 PyObject
* obj0
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "self", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21374 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21378 PyObject
* obj0
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 result
= (bool)(arg1
)->Dispatch();
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21402 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
;
21404 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21406 PyObject
* obj0
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21430 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxEventLoop
*result
;
21433 char *kwnames
[] = {
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21452 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21455 PyObject
* obj0
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "loop", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 wxEventLoop::SetActive(arg1
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 Py_INCREF(Py_None
); resultobj
= Py_None
;
21477 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21480 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21482 return Py_BuildValue((char *)"");
21484 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 int arg1
= (int) 0 ;
21487 int arg2
= (int) 0 ;
21488 int arg3
= (int) 0 ;
21489 wxAcceleratorEntry
*result
;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 PyObject
* obj2
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21499 arg1
= (int)SWIG_As_int(obj0
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21503 arg2
= (int)SWIG_As_int(obj1
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21507 arg3
= (int)SWIG_As_int(obj2
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21524 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
;
21526 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 Py_INCREF(Py_None
); resultobj
= Py_None
;
21549 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
;
21551 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 PyObject
* obj1
= 0 ;
21557 PyObject
* obj2
= 0 ;
21558 PyObject
* obj3
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21566 arg2
= (int)SWIG_As_int(obj1
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21568 arg3
= (int)SWIG_As_int(obj2
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21570 arg4
= (int)SWIG_As_int(obj3
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 (arg1
)->Set(arg2
,arg3
,arg4
);
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 Py_INCREF(Py_None
); resultobj
= Py_None
;
21586 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21590 PyObject
* obj0
= 0 ;
21591 char *kwnames
[] = {
21592 (char *) "self", NULL
21595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (int)(arg1
)->GetFlags();
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 resultobj
= SWIG_From_int((int)result
);
21612 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21616 PyObject
* obj0
= 0 ;
21617 char *kwnames
[] = {
21618 (char *) "self", NULL
21621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= (int)(arg1
)->GetKeyCode();
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 resultobj
= SWIG_From_int((int)result
);
21638 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
;
21640 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 char *kwnames
[] = {
21644 (char *) "self", NULL
21647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (int)(arg1
)->GetCommand();
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= SWIG_From_int((int)result
);
21664 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21667 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21669 return Py_BuildValue((char *)"");
21671 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21674 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21675 wxAcceleratorTable
*result
;
21676 PyObject
* obj0
= 0 ;
21677 char *kwnames
[] = {
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21683 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21684 if (arg2
) arg1
= PyList_Size(obj0
);
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21707 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 Py_INCREF(Py_None
); resultobj
= Py_None
;
21732 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
;
21734 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21736 PyObject
* obj0
= 0 ;
21737 char *kwnames
[] = {
21738 (char *) "self", NULL
21741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21760 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21763 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21765 return Py_BuildValue((char *)"");
21767 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21768 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21773 static PyObject
*_wrap_NullAcceleratorTable_get() {
21776 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21781 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxString
*arg1
= 0 ;
21784 wxAcceleratorEntry
*result
;
21785 bool temp1
= false ;
21786 PyObject
* obj0
= 0 ;
21787 char *kwnames
[] = {
21788 (char *) "label", NULL
21791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21793 arg1
= wxString_in_helper(obj0
);
21794 if (arg1
== NULL
) SWIG_fail
;
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21819 static int _wrap_PanelNameStr_set(PyObject
*) {
21820 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21825 static PyObject
*_wrap_PanelNameStr_get() {
21830 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21832 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21839 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxVisualAttributes
*result
;
21842 char *kwnames
[] = {
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21861 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21864 PyObject
* obj0
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 delete_wxVisualAttributes(arg1
);
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21879 Py_INCREF(Py_None
); resultobj
= Py_None
;
21886 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
;
21888 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21889 wxFont
*arg2
= (wxFont
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self",(char *) "font", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21901 if (arg1
) (arg1
)->font
= *arg2
;
21903 Py_INCREF(Py_None
); resultobj
= Py_None
;
21910 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21922 result
= (wxFont
*)& ((arg1
)->font
);
21924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21931 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
;
21933 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21934 wxColour
*arg2
= (wxColour
*) 0 ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self",(char *) "colFg", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 if (arg1
) (arg1
)->colFg
= *arg2
;
21948 Py_INCREF(Py_None
); resultobj
= Py_None
;
21955 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21967 result
= (wxColour
*)& ((arg1
)->colFg
);
21969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21976 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21979 wxColour
*arg2
= (wxColour
*) 0 ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "colBg", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21991 if (arg1
) (arg1
)->colBg
= *arg2
;
21993 Py_INCREF(Py_None
); resultobj
= Py_None
;
22000 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22002 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22004 PyObject
* obj0
= 0 ;
22005 char *kwnames
[] = {
22006 (char *) "self", NULL
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22012 result
= (wxColour
*)& ((arg1
)->colBg
);
22014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22021 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22024 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22026 return Py_BuildValue((char *)"");
22028 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
;
22030 wxWindow
*arg1
= (wxWindow
*) 0 ;
22031 int arg2
= (int) (int)-1 ;
22032 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22033 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22034 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22035 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22036 long arg5
= (long) 0 ;
22037 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22038 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22042 bool temp6
= false ;
22043 PyObject
* obj0
= 0 ;
22044 PyObject
* obj1
= 0 ;
22045 PyObject
* obj2
= 0 ;
22046 PyObject
* obj3
= 0 ;
22047 PyObject
* obj4
= 0 ;
22048 PyObject
* obj5
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22057 arg2
= (int)SWIG_As_int(obj1
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22063 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22069 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22073 arg5
= (long)SWIG_As_long(obj4
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22078 arg6
= wxString_in_helper(obj5
);
22079 if (arg6
== NULL
) SWIG_fail
;
22084 if (!wxPyCheckForApp()) SWIG_fail
;
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22106 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
;
22109 char *kwnames
[] = {
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22115 if (!wxPyCheckForApp()) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 result
= (wxWindow
*)new wxWindow();
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22129 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
;
22131 wxWindow
*arg1
= (wxWindow
*) 0 ;
22132 wxWindow
*arg2
= (wxWindow
*) 0 ;
22133 int arg3
= (int) (int)-1 ;
22134 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22135 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22136 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22137 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22138 long arg6
= (long) 0 ;
22139 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22140 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22144 bool temp7
= false ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 PyObject
* obj2
= 0 ;
22148 PyObject
* obj3
= 0 ;
22149 PyObject
* obj4
= 0 ;
22150 PyObject
* obj5
= 0 ;
22151 PyObject
* obj6
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 arg3
= (int)SWIG_As_int(obj2
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22168 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22174 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22178 arg6
= (long)SWIG_As_long(obj5
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22183 arg7
= wxString_in_helper(obj6
);
22184 if (arg7
== NULL
) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22212 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
;
22214 wxWindow
*arg1
= (wxWindow
*) 0 ;
22215 bool arg2
= (bool) false ;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self",(char *) "force", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 arg2
= (bool)SWIG_As_bool(obj1
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (bool)(arg1
)->Close(arg2
);
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22246 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxWindow
*arg1
= (wxWindow
*) 0 ;
22250 PyObject
* obj0
= 0 ;
22251 char *kwnames
[] = {
22252 (char *) "self", NULL
22255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (bool)(arg1
)->Destroy();
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22274 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxWindow
*arg1
= (wxWindow
*) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 result
= (bool)(arg1
)->DestroyChildren();
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22302 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
;
22304 wxWindow
*arg1
= (wxWindow
*) 0 ;
22306 PyObject
* obj0
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "self", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22330 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
;
22332 wxWindow
*arg1
= (wxWindow
*) 0 ;
22333 wxString
*arg2
= 0 ;
22334 bool temp2
= false ;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self",(char *) "title", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 arg2
= wxString_in_helper(obj1
);
22346 if (arg2
== NULL
) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 (arg1
)->SetTitle((wxString
const &)*arg2
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22356 Py_INCREF(Py_None
); resultobj
= Py_None
;
22371 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
;
22373 wxWindow
*arg1
= (wxWindow
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 result
= ((wxWindow
const *)arg1
)->GetTitle();
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22403 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxWindow
*arg1
= (wxWindow
*) 0 ;
22406 wxString
*arg2
= 0 ;
22407 bool temp2
= false ;
22408 PyObject
* obj0
= 0 ;
22409 PyObject
* obj1
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self",(char *) "label", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22418 arg2
= wxString_in_helper(obj1
);
22419 if (arg2
== NULL
) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 (arg1
)->SetLabel((wxString
const &)*arg2
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 Py_INCREF(Py_None
); resultobj
= Py_None
;
22444 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22445 PyObject
*resultobj
;
22446 wxWindow
*arg1
= (wxWindow
*) 0 ;
22448 PyObject
* obj0
= 0 ;
22449 char *kwnames
[] = {
22450 (char *) "self", NULL
22453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= ((wxWindow
const *)arg1
)->GetLabel();
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22476 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
;
22478 wxWindow
*arg1
= (wxWindow
*) 0 ;
22479 wxString
*arg2
= 0 ;
22480 bool temp2
= false ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 char *kwnames
[] = {
22484 (char *) "self",(char *) "name", NULL
22487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22491 arg2
= wxString_in_helper(obj1
);
22492 if (arg2
== NULL
) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 (arg1
)->SetName((wxString
const &)*arg2
);
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 Py_INCREF(Py_None
); resultobj
= Py_None
;
22517 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
;
22519 wxWindow
*arg1
= (wxWindow
*) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 char *kwnames
[] = {
22523 (char *) "self", NULL
22526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 result
= ((wxWindow
const *)arg1
)->GetName();
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22549 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxWindow
*arg1
= (wxWindow
*) 0 ;
22553 PyObject
* obj0
= 0 ;
22554 PyObject
* obj1
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self",(char *) "variant", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22562 arg2
= (int)SWIG_As_int(obj1
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 Py_INCREF(Py_None
); resultobj
= Py_None
;
22578 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxWindow
*arg1
= (wxWindow
*) 0 ;
22582 PyObject
* obj0
= 0 ;
22583 char *kwnames
[] = {
22584 (char *) "self", NULL
22587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= SWIG_From_int((int)result
);
22604 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxWindow
*arg1
= (wxWindow
*) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 PyObject
* obj1
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self",(char *) "winid", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22617 arg2
= (int)SWIG_As_int(obj1
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 (arg1
)->SetId(arg2
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 Py_INCREF(Py_None
); resultobj
= Py_None
;
22633 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxWindow
*arg1
= (wxWindow
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= (int)((wxWindow
const *)arg1
)->GetId();
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= SWIG_From_int((int)result
);
22659 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22660 PyObject
*resultobj
;
22662 char *kwnames
[] = {
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= (int)wxWindow::NewControlId();
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= SWIG_From_int((int)result
);
22681 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22685 PyObject
* obj0
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "winid", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22691 arg1
= (int)SWIG_As_int(obj0
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= (int)wxWindow::NextControlId(arg1
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 resultobj
= SWIG_From_int((int)result
);
22707 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22711 PyObject
* obj0
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "winid", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22717 arg1
= (int)SWIG_As_int(obj0
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= (int)wxWindow::PrevControlId(arg1
);
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22726 resultobj
= SWIG_From_int((int)result
);
22733 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxWindow
*arg1
= (wxWindow
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self",(char *) "size", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22749 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 (arg1
)->SetSize((wxSize
const &)*arg2
);
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22758 Py_INCREF(Py_None
); resultobj
= Py_None
;
22765 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
;
22767 wxWindow
*arg1
= (wxWindow
*) 0 ;
22772 int arg6
= (int) wxSIZE_AUTO
;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 PyObject
* obj2
= 0 ;
22776 PyObject
* obj3
= 0 ;
22777 PyObject
* obj4
= 0 ;
22778 PyObject
* obj5
= 0 ;
22779 char *kwnames
[] = {
22780 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22786 arg2
= (int)SWIG_As_int(obj1
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22788 arg3
= (int)SWIG_As_int(obj2
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22790 arg4
= (int)SWIG_As_int(obj3
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22792 arg5
= (int)SWIG_As_int(obj4
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 arg6
= (int)SWIG_As_int(obj5
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 Py_INCREF(Py_None
); resultobj
= Py_None
;
22812 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxWindow
*arg1
= (wxWindow
*) 0 ;
22816 int arg3
= (int) wxSIZE_AUTO
;
22818 PyObject
* obj0
= 0 ;
22819 PyObject
* obj1
= 0 ;
22820 PyObject
* obj2
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22830 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22833 arg3
= (int)SWIG_As_int(obj2
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22838 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22843 Py_INCREF(Py_None
); resultobj
= Py_None
;
22850 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22852 wxWindow
*arg1
= (wxWindow
*) 0 ;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 PyObject
* obj2
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self",(char *) "width",(char *) "height", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22865 arg2
= (int)SWIG_As_int(obj1
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22867 arg3
= (int)SWIG_As_int(obj2
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 (arg1
)->SetSize(arg2
,arg3
);
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 Py_INCREF(Py_None
); resultobj
= Py_None
;
22883 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxWindow
*arg1
= (wxWindow
*) 0 ;
22886 wxPoint
*arg2
= 0 ;
22887 int arg3
= (int) wxSIZE_USE_EXISTING
;
22889 PyObject
* obj0
= 0 ;
22890 PyObject
* obj1
= 0 ;
22891 PyObject
* obj2
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "pt",(char *) "flags", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22901 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22904 arg3
= (int)SWIG_As_int(obj2
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 Py_INCREF(Py_None
); resultobj
= Py_None
;
22921 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxWindow
*arg1
= (wxWindow
*) 0 ;
22926 int arg4
= (int) wxSIZE_USE_EXISTING
;
22927 PyObject
* obj0
= 0 ;
22928 PyObject
* obj1
= 0 ;
22929 PyObject
* obj2
= 0 ;
22930 PyObject
* obj3
= 0 ;
22931 char *kwnames
[] = {
22932 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22938 arg2
= (int)SWIG_As_int(obj1
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22940 arg3
= (int)SWIG_As_int(obj2
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 arg4
= (int)SWIG_As_int(obj3
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 (arg1
)->Move(arg2
,arg3
,arg4
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 Py_INCREF(Py_None
); resultobj
= Py_None
;
22960 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxWindow
*arg1
= (wxWindow
*) 0 ;
22963 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22964 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22966 PyObject
* obj0
= 0 ;
22967 PyObject
* obj1
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "self",(char *) "size", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22978 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 Py_INCREF(Py_None
); resultobj
= Py_None
;
22995 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxWindow
*arg1
= (wxWindow
*) 0 ;
22998 PyObject
* obj0
= 0 ;
22999 char *kwnames
[] = {
23000 (char *) "self", NULL
23003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 Py_INCREF(Py_None
); resultobj
= Py_None
;
23020 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxWindow
*arg1
= (wxWindow
*) 0 ;
23023 PyObject
* obj0
= 0 ;
23024 char *kwnames
[] = {
23025 (char *) "self", NULL
23028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 Py_INCREF(Py_None
); resultobj
= Py_None
;
23045 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
;
23047 wxWindow
*arg1
= (wxWindow
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self",(char *) "size", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 Py_INCREF(Py_None
); resultobj
= Py_None
;
23077 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23079 wxWindow
*arg1
= (wxWindow
*) 0 ;
23082 PyObject
* obj0
= 0 ;
23083 PyObject
* obj1
= 0 ;
23084 PyObject
* obj2
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self",(char *) "width",(char *) "height", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23092 arg2
= (int)SWIG_As_int(obj1
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23094 arg3
= (int)SWIG_As_int(obj2
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 (arg1
)->SetClientSize(arg2
,arg3
);
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 Py_INCREF(Py_None
); resultobj
= Py_None
;
23110 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxWindow
*arg1
= (wxWindow
*) 0 ;
23115 PyObject
* obj0
= 0 ;
23116 PyObject
* obj1
= 0 ;
23117 char *kwnames
[] = {
23118 (char *) "self",(char *) "rect", NULL
23121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23126 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 Py_INCREF(Py_None
); resultobj
= Py_None
;
23142 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
;
23144 wxWindow
*arg1
= (wxWindow
*) 0 ;
23146 PyObject
* obj0
= 0 ;
23147 char *kwnames
[] = {
23148 (char *) "self", NULL
23151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (arg1
)->GetPosition();
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23162 wxPoint
* resultptr
;
23163 resultptr
= new wxPoint((wxPoint
&) result
);
23164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23172 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
;
23174 wxWindow
*arg1
= (wxWindow
*) 0 ;
23175 int *arg2
= (int *) 0 ;
23176 int *arg3
= (int *) 0 ;
23181 PyObject
* obj0
= 0 ;
23182 char *kwnames
[] = {
23183 (char *) "self", NULL
23186 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23187 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23193 (arg1
)->GetPosition(arg2
,arg3
);
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 Py_INCREF(Py_None
); resultobj
= Py_None
;
23199 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23200 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23201 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23202 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23209 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23210 PyObject
*resultobj
;
23211 wxWindow
*arg1
= (wxWindow
*) 0 ;
23213 PyObject
* obj0
= 0 ;
23214 char *kwnames
[] = {
23215 (char *) "self", NULL
23218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 result
= ((wxWindow
const *)arg1
)->GetSize();
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23229 wxSize
* resultptr
;
23230 resultptr
= new wxSize((wxSize
&) result
);
23231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23239 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxWindow
*arg1
= (wxWindow
*) 0 ;
23242 int *arg2
= (int *) 0 ;
23243 int *arg3
= (int *) 0 ;
23248 PyObject
* obj0
= 0 ;
23249 char *kwnames
[] = {
23250 (char *) "self", NULL
23253 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23254 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 Py_INCREF(Py_None
); resultobj
= Py_None
;
23266 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23267 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23268 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23269 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23276 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23278 wxWindow
*arg1
= (wxWindow
*) 0 ;
23280 PyObject
* obj0
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= ((wxWindow
const *)arg1
)->GetRect();
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23296 wxRect
* resultptr
;
23297 resultptr
= new wxRect((wxRect
&) result
);
23298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23306 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
;
23308 wxWindow
*arg1
= (wxWindow
*) 0 ;
23310 PyObject
* obj0
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23326 wxSize
* resultptr
;
23327 resultptr
= new wxSize((wxSize
&) result
);
23328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23336 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
;
23338 wxWindow
*arg1
= (wxWindow
*) 0 ;
23339 int *arg2
= (int *) 0 ;
23340 int *arg3
= (int *) 0 ;
23345 PyObject
* obj0
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "self", NULL
23350 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23351 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 Py_INCREF(Py_None
); resultobj
= Py_None
;
23363 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23364 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23365 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23366 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23373 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 wxWindow
*arg1
= (wxWindow
*) 0 ;
23377 PyObject
* obj0
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23393 wxPoint
* resultptr
;
23394 resultptr
= new wxPoint((wxPoint
&) result
);
23395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23403 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxWindow
*arg1
= (wxWindow
*) 0 ;
23407 PyObject
* obj0
= 0 ;
23408 char *kwnames
[] = {
23409 (char *) "self", NULL
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23423 wxRect
* resultptr
;
23424 resultptr
= new wxRect((wxRect
&) result
);
23425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23433 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxWindow
*arg1
= (wxWindow
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23453 wxSize
* resultptr
;
23454 resultptr
= new wxSize((wxSize
&) result
);
23455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23463 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxWindow
*arg1
= (wxWindow
*) 0 ;
23466 int *arg2
= (int *) 0 ;
23467 int *arg3
= (int *) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self", NULL
23477 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23478 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 Py_INCREF(Py_None
); resultobj
= Py_None
;
23490 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23491 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23492 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23493 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23500 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxWindow
*arg1
= (wxWindow
*) 0 ;
23503 PyObject
* obj0
= 0 ;
23504 char *kwnames
[] = {
23505 (char *) "self", NULL
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 (arg1
)->InvalidateBestSize();
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 Py_INCREF(Py_None
); resultobj
= Py_None
;
23525 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
;
23527 wxWindow
*arg1
= (wxWindow
*) 0 ;
23529 PyObject
* obj0
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23545 wxSize
* resultptr
;
23546 resultptr
= new wxSize((wxSize
&) result
);
23547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23555 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 wxWindow
*arg1
= (wxWindow
*) 0 ;
23559 PyObject
* obj0
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23575 wxSize
* resultptr
;
23576 resultptr
= new wxSize((wxSize
&) result
);
23577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23585 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
;
23587 wxWindow
*arg1
= (wxWindow
*) 0 ;
23588 int arg2
= (int) wxBOTH
;
23589 PyObject
* obj0
= 0 ;
23590 PyObject
* obj1
= 0 ;
23591 char *kwnames
[] = {
23592 (char *) "self",(char *) "direction", NULL
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23599 arg2
= (int)SWIG_As_int(obj1
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 (arg1
)->Center(arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 Py_INCREF(Py_None
); resultobj
= Py_None
;
23616 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
;
23618 wxWindow
*arg1
= (wxWindow
*) 0 ;
23619 int arg2
= (int) wxBOTH
;
23620 PyObject
* obj0
= 0 ;
23621 PyObject
* obj1
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self",(char *) "dir", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23630 arg2
= (int)SWIG_As_int(obj1
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 (arg1
)->CenterOnScreen(arg2
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 Py_INCREF(Py_None
); resultobj
= Py_None
;
23647 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
;
23649 wxWindow
*arg1
= (wxWindow
*) 0 ;
23650 int arg2
= (int) wxBOTH
;
23651 PyObject
* obj0
= 0 ;
23652 PyObject
* obj1
= 0 ;
23653 char *kwnames
[] = {
23654 (char *) "self",(char *) "dir", NULL
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23661 arg2
= (int)SWIG_As_int(obj1
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 (arg1
)->CenterOnParent(arg2
);
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 Py_INCREF(Py_None
); resultobj
= Py_None
;
23678 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23679 PyObject
*resultobj
;
23680 wxWindow
*arg1
= (wxWindow
*) 0 ;
23681 PyObject
* obj0
= 0 ;
23682 char *kwnames
[] = {
23683 (char *) "self", NULL
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 Py_INCREF(Py_None
); resultobj
= Py_None
;
23703 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23705 wxWindow
*arg1
= (wxWindow
*) 0 ;
23706 PyObject
* obj0
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "self", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->FitInside();
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 Py_INCREF(Py_None
); resultobj
= Py_None
;
23728 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxWindow
*arg1
= (wxWindow
*) 0 ;
23733 int arg4
= (int) -1 ;
23734 int arg5
= (int) -1 ;
23735 int arg6
= (int) -1 ;
23736 int arg7
= (int) -1 ;
23737 PyObject
* obj0
= 0 ;
23738 PyObject
* obj1
= 0 ;
23739 PyObject
* obj2
= 0 ;
23740 PyObject
* obj3
= 0 ;
23741 PyObject
* obj4
= 0 ;
23742 PyObject
* obj5
= 0 ;
23743 PyObject
* obj6
= 0 ;
23744 char *kwnames
[] = {
23745 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23751 arg2
= (int)SWIG_As_int(obj1
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23753 arg3
= (int)SWIG_As_int(obj2
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23756 arg4
= (int)SWIG_As_int(obj3
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23760 arg5
= (int)SWIG_As_int(obj4
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23764 arg6
= (int)SWIG_As_int(obj5
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23768 arg7
= (int)SWIG_As_int(obj6
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 Py_INCREF(Py_None
); resultobj
= Py_None
;
23785 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23787 wxWindow
*arg1
= (wxWindow
*) 0 ;
23789 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23790 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23791 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23792 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23796 PyObject
* obj0
= 0 ;
23797 PyObject
* obj1
= 0 ;
23798 PyObject
* obj2
= 0 ;
23799 PyObject
* obj3
= 0 ;
23800 char *kwnames
[] = {
23801 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23809 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23814 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23820 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 Py_INCREF(Py_None
); resultobj
= Py_None
;
23837 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxWindow
*arg1
= (wxWindow
*) 0 ;
23842 int arg4
= (int) -1 ;
23843 int arg5
= (int) -1 ;
23844 PyObject
* obj0
= 0 ;
23845 PyObject
* obj1
= 0 ;
23846 PyObject
* obj2
= 0 ;
23847 PyObject
* obj3
= 0 ;
23848 PyObject
* obj4
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23856 arg2
= (int)SWIG_As_int(obj1
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23858 arg3
= (int)SWIG_As_int(obj2
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 arg4
= (int)SWIG_As_int(obj3
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23865 arg5
= (int)SWIG_As_int(obj4
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 Py_INCREF(Py_None
); resultobj
= Py_None
;
23882 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23884 wxWindow
*arg1
= (wxWindow
*) 0 ;
23886 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23887 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23890 PyObject
* obj0
= 0 ;
23891 PyObject
* obj1
= 0 ;
23892 PyObject
* obj2
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23902 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23907 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 Py_INCREF(Py_None
); resultobj
= Py_None
;
23924 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23926 wxWindow
*arg1
= (wxWindow
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 char *kwnames
[] = {
23930 (char *) "self", NULL
23933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 wxSize
* resultptr
;
23945 resultptr
= new wxSize((wxSize
&) result
);
23946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23954 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
;
23956 wxWindow
*arg1
= (wxWindow
*) 0 ;
23958 PyObject
* obj0
= 0 ;
23959 char *kwnames
[] = {
23960 (char *) "self", NULL
23963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23974 wxSize
* resultptr
;
23975 resultptr
= new wxSize((wxSize
&) result
);
23976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23984 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxWindow
*arg1
= (wxWindow
*) 0 ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self",(char *) "minSize", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24000 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24009 Py_INCREF(Py_None
); resultobj
= Py_None
;
24016 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24017 PyObject
*resultobj
;
24018 wxWindow
*arg1
= (wxWindow
*) 0 ;
24021 PyObject
* obj0
= 0 ;
24022 PyObject
* obj1
= 0 ;
24023 char *kwnames
[] = {
24024 (char *) "self",(char *) "maxSize", NULL
24027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 Py_INCREF(Py_None
); resultobj
= Py_None
;
24048 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxWindow
*arg1
= (wxWindow
*) 0 ;
24052 PyObject
* obj0
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= SWIG_From_int((int)result
);
24074 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
;
24076 wxWindow
*arg1
= (wxWindow
*) 0 ;
24078 PyObject
* obj0
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24088 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24093 resultobj
= SWIG_From_int((int)result
);
24100 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
;
24102 wxWindow
*arg1
= (wxWindow
*) 0 ;
24104 PyObject
* obj0
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= SWIG_From_int((int)result
);
24126 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxWindow
*arg1
= (wxWindow
*) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 char *kwnames
[] = {
24132 (char *) "self", NULL
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= SWIG_From_int((int)result
);
24152 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24154 wxWindow
*arg1
= (wxWindow
*) 0 ;
24157 PyObject
* obj0
= 0 ;
24158 PyObject
* obj1
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self",(char *) "size", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24168 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 Py_INCREF(Py_None
); resultobj
= Py_None
;
24184 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxWindow
*arg1
= (wxWindow
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24191 PyObject
* obj2
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self",(char *) "w",(char *) "h", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24199 arg2
= (int)SWIG_As_int(obj1
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24201 arg3
= (int)SWIG_As_int(obj2
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->SetVirtualSize(arg2
,arg3
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 Py_INCREF(Py_None
); resultobj
= Py_None
;
24217 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxWindow
*arg1
= (wxWindow
*) 0 ;
24221 PyObject
* obj0
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24237 wxSize
* resultptr
;
24238 resultptr
= new wxSize((wxSize
&) result
);
24239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24247 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxWindow
*arg1
= (wxWindow
*) 0 ;
24250 int *arg2
= (int *) 0 ;
24251 int *arg3
= (int *) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "self", NULL
24261 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24262 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24273 Py_INCREF(Py_None
); resultobj
= Py_None
;
24274 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24275 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24276 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24277 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24284 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24286 wxWindow
*arg1
= (wxWindow
*) 0 ;
24288 PyObject
* obj0
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "self", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24304 wxSize
* resultptr
;
24305 resultptr
= new wxSize((wxSize
&) result
);
24306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24314 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxWindow
*arg1
= (wxWindow
*) 0 ;
24317 bool arg2
= (bool) true ;
24319 PyObject
* obj0
= 0 ;
24320 PyObject
* obj1
= 0 ;
24321 char *kwnames
[] = {
24322 (char *) "self",(char *) "show", NULL
24325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24329 arg2
= (bool)SWIG_As_bool(obj1
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (bool)(arg1
)->Show(arg2
);
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24348 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
;
24350 wxWindow
*arg1
= (wxWindow
*) 0 ;
24352 PyObject
* obj0
= 0 ;
24353 char *kwnames
[] = {
24354 (char *) "self", NULL
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 result
= (bool)(arg1
)->Hide();
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24376 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxWindow
*arg1
= (wxWindow
*) 0 ;
24379 bool arg2
= (bool) true ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self",(char *) "enable", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24391 arg2
= (bool)SWIG_As_bool(obj1
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 result
= (bool)(arg1
)->Enable(arg2
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24410 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
;
24412 wxWindow
*arg1
= (wxWindow
*) 0 ;
24414 PyObject
* obj0
= 0 ;
24415 char *kwnames
[] = {
24416 (char *) "self", NULL
24419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 result
= (bool)(arg1
)->Disable();
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24438 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
;
24440 wxWindow
*arg1
= (wxWindow
*) 0 ;
24442 PyObject
* obj0
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "self", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24466 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxWindow
*arg1
= (wxWindow
*) 0 ;
24470 PyObject
* obj0
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24494 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24495 PyObject
*resultobj
;
24496 wxWindow
*arg1
= (wxWindow
*) 0 ;
24498 PyObject
* obj0
= 0 ;
24499 PyObject
* obj1
= 0 ;
24500 char *kwnames
[] = {
24501 (char *) "self",(char *) "style", NULL
24504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24507 arg2
= (long)SWIG_As_long(obj1
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 (arg1
)->SetWindowStyleFlag(arg2
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 Py_INCREF(Py_None
); resultobj
= Py_None
;
24523 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxWindow
*arg1
= (wxWindow
*) 0 ;
24527 PyObject
* obj0
= 0 ;
24528 char *kwnames
[] = {
24529 (char *) "self", NULL
24532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= SWIG_From_long((long)result
);
24549 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxWindow
*arg1
= (wxWindow
*) 0 ;
24554 PyObject
* obj0
= 0 ;
24555 PyObject
* obj1
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "self",(char *) "flag", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 arg2
= (int)SWIG_As_int(obj1
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24581 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxWindow
*arg1
= (wxWindow
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24609 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxWindow
*arg1
= (wxWindow
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self",(char *) "exStyle", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24622 arg2
= (long)SWIG_As_long(obj1
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->SetExtraStyle(arg2
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 Py_INCREF(Py_None
); resultobj
= Py_None
;
24638 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxWindow
*arg1
= (wxWindow
*) 0 ;
24642 PyObject
* obj0
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24657 resultobj
= SWIG_From_long((long)result
);
24664 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
;
24666 wxWindow
*arg1
= (wxWindow
*) 0 ;
24667 bool arg2
= (bool) true ;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 char *kwnames
[] = {
24671 (char *) "self",(char *) "modal", NULL
24674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24678 arg2
= (bool)SWIG_As_bool(obj1
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 (arg1
)->MakeModal(arg2
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 Py_INCREF(Py_None
); resultobj
= Py_None
;
24695 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
;
24697 wxWindow
*arg1
= (wxWindow
*) 0 ;
24699 PyObject
* obj0
= 0 ;
24700 PyObject
* obj1
= 0 ;
24701 char *kwnames
[] = {
24702 (char *) "self",(char *) "enableTheme", NULL
24705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24708 arg2
= (bool)SWIG_As_bool(obj1
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 (arg1
)->SetThemeEnabled(arg2
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 Py_INCREF(Py_None
); resultobj
= Py_None
;
24724 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
;
24726 wxWindow
*arg1
= (wxWindow
*) 0 ;
24728 PyObject
* obj0
= 0 ;
24729 char *kwnames
[] = {
24730 (char *) "self", NULL
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24752 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
;
24754 wxWindow
*arg1
= (wxWindow
*) 0 ;
24755 PyObject
* obj0
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 (arg1
)->SetFocus();
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 Py_INCREF(Py_None
); resultobj
= Py_None
;
24777 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxWindow
*arg1
= (wxWindow
*) 0 ;
24780 PyObject
* obj0
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 (arg1
)->SetFocusFromKbd();
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 Py_INCREF(Py_None
); resultobj
= Py_None
;
24802 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
;
24805 char *kwnames
[] = {
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24811 if (!wxPyCheckForApp()) SWIG_fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (wxWindow
*)wxWindow::FindFocus();
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24819 resultobj
= wxPyMake_wxObject(result
, 0);
24827 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
;
24829 wxWindow
*arg1
= (wxWindow
*) 0 ;
24831 PyObject
* obj0
= 0 ;
24832 char *kwnames
[] = {
24833 (char *) "self", NULL
24836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24855 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
;
24857 wxWindow
*arg1
= (wxWindow
*) 0 ;
24859 PyObject
* obj0
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "self", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24883 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
;
24885 wxWindow
*arg1
= (wxWindow
*) 0 ;
24887 PyObject
* obj0
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= wxPyMake_wxObject(result
, 0);
24911 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
;
24913 wxWindow
*arg1
= (wxWindow
*) 0 ;
24914 wxWindow
*arg2
= (wxWindow
*) 0 ;
24916 PyObject
* obj0
= 0 ;
24917 PyObject
* obj1
= 0 ;
24918 char *kwnames
[] = {
24919 (char *) "self",(char *) "child", NULL
24922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= wxPyMake_wxObject(result
, 0);
24943 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24944 PyObject
*resultobj
;
24945 wxWindow
*arg1
= (wxWindow
*) 0 ;
24946 wxWindow
*arg2
= (wxWindow
*) 0 ;
24947 PyObject
* obj0
= 0 ;
24948 PyObject
* obj1
= 0 ;
24949 char *kwnames
[] = {
24950 (char *) "self",(char *) "win", NULL
24953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 (arg1
)->SetTmpDefaultItem(arg2
);
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24965 Py_INCREF(Py_None
); resultobj
= Py_None
;
24972 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
;
24974 wxWindow
*arg1
= (wxWindow
*) 0 ;
24975 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24977 PyObject
* obj0
= 0 ;
24978 PyObject
* obj1
= 0 ;
24979 char *kwnames
[] = {
24980 (char *) "self",(char *) "flags", NULL
24983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24987 arg2
= (int)SWIG_As_int(obj1
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (bool)(arg1
)->Navigate(arg2
);
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25006 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
;
25008 wxWindow
*arg1
= (wxWindow
*) 0 ;
25009 wxWindow
*arg2
= (wxWindow
*) 0 ;
25010 PyObject
* obj0
= 0 ;
25011 PyObject
* obj1
= 0 ;
25012 char *kwnames
[] = {
25013 (char *) "self",(char *) "win", NULL
25016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 (arg1
)->MoveAfterInTabOrder(arg2
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 Py_INCREF(Py_None
); resultobj
= Py_None
;
25035 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxWindow
*arg1
= (wxWindow
*) 0 ;
25038 wxWindow
*arg2
= (wxWindow
*) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 PyObject
* obj1
= 0 ;
25041 char *kwnames
[] = {
25042 (char *) "self",(char *) "win", NULL
25045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 (arg1
)->MoveBeforeInTabOrder(arg2
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 Py_INCREF(Py_None
); resultobj
= Py_None
;
25064 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxWindow
*arg1
= (wxWindow
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 char *kwnames
[] = {
25070 (char *) "self", NULL
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= result
;
25090 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxWindow
*arg1
= (wxWindow
*) 0 ;
25094 PyObject
* obj0
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= wxPyMake_wxObject(result
, 0);
25118 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxWindow
*arg1
= (wxWindow
*) 0 ;
25122 PyObject
* obj0
= 0 ;
25123 char *kwnames
[] = {
25124 (char *) "self", NULL
25127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25138 resultobj
= wxPyMake_wxObject(result
, 0);
25146 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25147 PyObject
*resultobj
;
25148 wxWindow
*arg1
= (wxWindow
*) 0 ;
25150 PyObject
* obj0
= 0 ;
25151 char *kwnames
[] = {
25152 (char *) "self", NULL
25155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25174 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
;
25176 wxWindow
*arg1
= (wxWindow
*) 0 ;
25177 wxWindow
*arg2
= (wxWindow
*) 0 ;
25179 PyObject
* obj0
= 0 ;
25180 PyObject
* obj1
= 0 ;
25181 char *kwnames
[] = {
25182 (char *) "self",(char *) "newParent", NULL
25185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25192 result
= (bool)(arg1
)->Reparent(arg2
);
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25206 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
;
25208 wxWindow
*arg1
= (wxWindow
*) 0 ;
25209 wxWindow
*arg2
= (wxWindow
*) 0 ;
25210 PyObject
* obj0
= 0 ;
25211 PyObject
* obj1
= 0 ;
25212 char *kwnames
[] = {
25213 (char *) "self",(char *) "child", NULL
25216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25223 (arg1
)->AddChild(arg2
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25228 Py_INCREF(Py_None
); resultobj
= Py_None
;
25235 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
;
25237 wxWindow
*arg1
= (wxWindow
*) 0 ;
25238 wxWindow
*arg2
= (wxWindow
*) 0 ;
25239 PyObject
* obj0
= 0 ;
25240 PyObject
* obj1
= 0 ;
25241 char *kwnames
[] = {
25242 (char *) "self",(char *) "child", NULL
25245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 (arg1
)->RemoveChild(arg2
);
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 Py_INCREF(Py_None
); resultobj
= Py_None
;
25264 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
;
25266 wxWindow
*arg1
= (wxWindow
*) 0 ;
25269 PyObject
* obj0
= 0 ;
25270 PyObject
* obj1
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self",(char *) "winid", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25278 arg2
= (long)SWIG_As_long(obj1
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= wxPyMake_wxObject(result
, 0);
25296 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxWindow
*arg1
= (wxWindow
*) 0 ;
25299 wxString
*arg2
= 0 ;
25301 bool temp2
= false ;
25302 PyObject
* obj0
= 0 ;
25303 PyObject
* obj1
= 0 ;
25304 char *kwnames
[] = {
25305 (char *) "self",(char *) "name", NULL
25308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25312 arg2
= wxString_in_helper(obj1
);
25313 if (arg2
== NULL
) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25324 resultobj
= wxPyMake_wxObject(result
, 0);
25340 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
;
25342 wxWindow
*arg1
= (wxWindow
*) 0 ;
25343 wxEvtHandler
*result
;
25344 PyObject
* obj0
= 0 ;
25345 char *kwnames
[] = {
25346 (char *) "self", NULL
25349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25360 resultobj
= wxPyMake_wxObject(result
, 0);
25368 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
;
25370 wxWindow
*arg1
= (wxWindow
*) 0 ;
25371 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 char *kwnames
[] = {
25375 (char *) "self",(char *) "handler", NULL
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 (arg1
)->SetEventHandler(arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 Py_INCREF(Py_None
); resultobj
= Py_None
;
25397 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
;
25399 wxWindow
*arg1
= (wxWindow
*) 0 ;
25400 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25401 PyObject
* obj0
= 0 ;
25402 PyObject
* obj1
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "self",(char *) "handler", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 (arg1
)->PushEventHandler(arg2
);
25416 wxPyEndAllowThreads(__tstate
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25419 Py_INCREF(Py_None
); resultobj
= Py_None
;
25426 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25427 PyObject
*resultobj
;
25428 wxWindow
*arg1
= (wxWindow
*) 0 ;
25429 bool arg2
= (bool) false ;
25430 wxEvtHandler
*result
;
25431 PyObject
* obj0
= 0 ;
25432 PyObject
* obj1
= 0 ;
25433 char *kwnames
[] = {
25434 (char *) "self",(char *) "deleteHandler", NULL
25437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25441 arg2
= (bool)SWIG_As_bool(obj1
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= wxPyMake_wxObject(result
, 0);
25460 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25462 wxWindow
*arg1
= (wxWindow
*) 0 ;
25463 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25465 PyObject
* obj0
= 0 ;
25466 PyObject
* obj1
= 0 ;
25467 char *kwnames
[] = {
25468 (char *) "self",(char *) "handler", NULL
25471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25492 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
;
25494 wxWindow
*arg1
= (wxWindow
*) 0 ;
25495 wxValidator
*arg2
= 0 ;
25496 PyObject
* obj0
= 0 ;
25497 PyObject
* obj1
= 0 ;
25498 char *kwnames
[] = {
25499 (char *) "self",(char *) "validator", NULL
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25508 if (arg2
== NULL
) {
25509 PyErr_SetString(PyExc_TypeError
,"null reference");
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 Py_INCREF(Py_None
); resultobj
= Py_None
;
25526 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25527 PyObject
*resultobj
;
25528 wxWindow
*arg1
= (wxWindow
*) 0 ;
25529 wxValidator
*result
;
25530 PyObject
* obj0
= 0 ;
25531 char *kwnames
[] = {
25532 (char *) "self", NULL
25535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 result
= (wxValidator
*)(arg1
)->GetValidator();
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= wxPyMake_wxObject(result
, 0);
25554 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
;
25556 wxWindow
*arg1
= (wxWindow
*) 0 ;
25558 PyObject
* obj0
= 0 ;
25559 char *kwnames
[] = {
25560 (char *) "self", NULL
25563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (bool)(arg1
)->Validate();
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25582 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxWindow
*arg1
= (wxWindow
*) 0 ;
25586 PyObject
* obj0
= 0 ;
25587 char *kwnames
[] = {
25588 (char *) "self", NULL
25591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= (bool)(arg1
)->TransferDataToWindow();
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25610 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25611 PyObject
*resultobj
;
25612 wxWindow
*arg1
= (wxWindow
*) 0 ;
25614 PyObject
* obj0
= 0 ;
25615 char *kwnames
[] = {
25616 (char *) "self", NULL
25619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (bool)(arg1
)->TransferDataFromWindow();
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25638 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxWindow
*arg1
= (wxWindow
*) 0 ;
25641 PyObject
* obj0
= 0 ;
25642 char *kwnames
[] = {
25643 (char *) "self", NULL
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 (arg1
)->InitDialog();
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 Py_INCREF(Py_None
); resultobj
= Py_None
;
25663 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
;
25665 wxWindow
*arg1
= (wxWindow
*) 0 ;
25666 wxAcceleratorTable
*arg2
= 0 ;
25667 PyObject
* obj0
= 0 ;
25668 PyObject
* obj1
= 0 ;
25669 char *kwnames
[] = {
25670 (char *) "self",(char *) "accel", NULL
25673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25679 if (arg2
== NULL
) {
25680 PyErr_SetString(PyExc_TypeError
,"null reference");
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25690 Py_INCREF(Py_None
); resultobj
= Py_None
;
25697 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
;
25699 wxWindow
*arg1
= (wxWindow
*) 0 ;
25700 wxAcceleratorTable
*result
;
25701 PyObject
* obj0
= 0 ;
25702 char *kwnames
[] = {
25703 (char *) "self", NULL
25706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25723 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
;
25725 wxWindow
*arg1
= (wxWindow
*) 0 ;
25730 PyObject
* obj0
= 0 ;
25731 PyObject
* obj1
= 0 ;
25732 PyObject
* obj2
= 0 ;
25733 PyObject
* obj3
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25741 arg2
= (int)SWIG_As_int(obj1
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25743 arg3
= (int)SWIG_As_int(obj2
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25745 arg4
= (int)SWIG_As_int(obj3
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25763 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25764 PyObject
*resultobj
;
25765 wxWindow
*arg1
= (wxWindow
*) 0 ;
25768 PyObject
* obj0
= 0 ;
25769 PyObject
* obj1
= 0 ;
25770 char *kwnames
[] = {
25771 (char *) "self",(char *) "hotkeyId", NULL
25774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25777 arg2
= (int)SWIG_As_int(obj1
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25795 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
;
25797 wxWindow
*arg1
= (wxWindow
*) 0 ;
25798 wxPoint
*arg2
= 0 ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 char *kwnames
[] = {
25804 (char *) "self",(char *) "pt", NULL
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25822 wxPoint
* resultptr
;
25823 resultptr
= new wxPoint((wxPoint
&) result
);
25824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25832 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxWindow
*arg1
= (wxWindow
*) 0 ;
25838 PyObject
* obj0
= 0 ;
25839 PyObject
* obj1
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "sz", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25849 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25859 wxSize
* resultptr
;
25860 resultptr
= new wxSize((wxSize
&) result
);
25861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25869 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
;
25871 wxWindow
*arg1
= (wxWindow
*) 0 ;
25872 wxPoint
*arg2
= 0 ;
25875 PyObject
* obj0
= 0 ;
25876 PyObject
* obj1
= 0 ;
25877 char *kwnames
[] = {
25878 (char *) "self",(char *) "pt", NULL
25881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25896 wxPoint
* resultptr
;
25897 resultptr
= new wxPoint((wxPoint
&) result
);
25898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25906 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxWindow
*arg1
= (wxWindow
*) 0 ;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 char *kwnames
[] = {
25915 (char *) "self",(char *) "sz", NULL
25918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25923 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25933 wxSize
* resultptr
;
25934 resultptr
= new wxSize((wxSize
&) result
);
25935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25943 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxWindow
*arg1
= (wxWindow
*) 0 ;
25946 wxPoint
*arg2
= 0 ;
25949 PyObject
* obj0
= 0 ;
25950 PyObject
* obj1
= 0 ;
25951 char *kwnames
[] = {
25952 (char *) "self",(char *) "pt", NULL
25955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25960 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25966 wxPyEndAllowThreads(__tstate
);
25967 if (PyErr_Occurred()) SWIG_fail
;
25970 wxPoint
* resultptr
;
25971 resultptr
= new wxPoint((wxPoint
&) result
);
25972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25980 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
;
25982 wxWindow
*arg1
= (wxWindow
*) 0 ;
25986 PyObject
* obj0
= 0 ;
25987 PyObject
* obj1
= 0 ;
25988 char *kwnames
[] = {
25989 (char *) "self",(char *) "sz", NULL
25992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25997 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26007 wxSize
* resultptr
;
26008 resultptr
= new wxSize((wxSize
&) result
);
26009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26017 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26018 PyObject
*resultobj
;
26019 wxWindow
*arg1
= (wxWindow
*) 0 ;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 PyObject
* obj2
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "x",(char *) "y", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26032 arg2
= (int)SWIG_As_int(obj1
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26034 arg3
= (int)SWIG_As_int(obj2
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 (arg1
)->WarpPointer(arg2
,arg3
);
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 Py_INCREF(Py_None
); resultobj
= Py_None
;
26050 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
;
26052 wxWindow
*arg1
= (wxWindow
*) 0 ;
26053 PyObject
* obj0
= 0 ;
26054 char *kwnames
[] = {
26055 (char *) "self", NULL
26058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 (arg1
)->CaptureMouse();
26065 wxPyEndAllowThreads(__tstate
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26068 Py_INCREF(Py_None
); resultobj
= Py_None
;
26075 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
;
26077 wxWindow
*arg1
= (wxWindow
*) 0 ;
26078 PyObject
* obj0
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 (arg1
)->ReleaseMouse();
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 Py_INCREF(Py_None
); resultobj
= Py_None
;
26100 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26103 char *kwnames
[] = {
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26109 if (!wxPyCheckForApp()) SWIG_fail
;
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 result
= (wxWindow
*)wxWindow::GetCapture();
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26117 resultobj
= wxPyMake_wxObject(result
, 0);
26125 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxWindow
*arg1
= (wxWindow
*) 0 ;
26129 PyObject
* obj0
= 0 ;
26130 char *kwnames
[] = {
26131 (char *) "self", NULL
26134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26153 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxWindow
*arg1
= (wxWindow
*) 0 ;
26156 bool arg2
= (bool) true ;
26157 wxRect
*arg3
= (wxRect
*) NULL
;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 PyObject
* obj2
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26169 arg2
= (bool)SWIG_As_bool(obj1
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26173 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26183 Py_INCREF(Py_None
); resultobj
= Py_None
;
26190 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxWindow
*arg1
= (wxWindow
*) 0 ;
26195 PyObject
* obj0
= 0 ;
26196 PyObject
* obj1
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self",(char *) "rect", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26206 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 Py_INCREF(Py_None
); resultobj
= Py_None
;
26222 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxWindow
*arg1
= (wxWindow
*) 0 ;
26225 PyObject
* obj0
= 0 ;
26226 char *kwnames
[] = {
26227 (char *) "self", NULL
26230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26240 Py_INCREF(Py_None
); resultobj
= Py_None
;
26247 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26248 PyObject
*resultobj
;
26249 wxWindow
*arg1
= (wxWindow
*) 0 ;
26250 PyObject
* obj0
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 (arg1
)->ClearBackground();
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 Py_INCREF(Py_None
); resultobj
= Py_None
;
26272 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxWindow
*arg1
= (wxWindow
*) 0 ;
26275 PyObject
* obj0
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 Py_INCREF(Py_None
); resultobj
= Py_None
;
26297 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxWindow
*arg1
= (wxWindow
*) 0 ;
26300 PyObject
* obj0
= 0 ;
26301 char *kwnames
[] = {
26302 (char *) "self", NULL
26305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 wxPyEndAllowThreads(__tstate
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26315 Py_INCREF(Py_None
); resultobj
= Py_None
;
26322 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26323 PyObject
*resultobj
;
26324 wxWindow
*arg1
= (wxWindow
*) 0 ;
26326 PyObject
* obj0
= 0 ;
26327 PyObject
* obj1
= 0 ;
26328 char *kwnames
[] = {
26329 (char *) "self",(char *) "dc", NULL
26332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26338 if (arg2
== NULL
) {
26339 PyErr_SetString(PyExc_TypeError
,"null reference");
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 (arg1
)->PrepareDC(*arg2
);
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 Py_INCREF(Py_None
); resultobj
= Py_None
;
26356 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
;
26358 wxWindow
*arg1
= (wxWindow
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26372 result
= (wxRegion
*) &_result_ref
;
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26385 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
;
26387 wxWindow
*arg1
= (wxWindow
*) 0 ;
26389 PyObject
* obj0
= 0 ;
26390 char *kwnames
[] = {
26391 (char *) "self", NULL
26394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26405 wxRect
* resultptr
;
26406 resultptr
= new wxRect((wxRect
&) result
);
26407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26415 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26417 wxWindow
*arg1
= (wxWindow
*) 0 ;
26420 int arg4
= (int) 1 ;
26421 int arg5
= (int) 1 ;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 PyObject
* obj2
= 0 ;
26426 PyObject
* obj3
= 0 ;
26427 PyObject
* obj4
= 0 ;
26428 char *kwnames
[] = {
26429 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26435 arg2
= (int)SWIG_As_int(obj1
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26437 arg3
= (int)SWIG_As_int(obj2
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 arg4
= (int)SWIG_As_int(obj3
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26444 arg5
= (int)SWIG_As_int(obj4
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26463 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxWindow
*arg1
= (wxWindow
*) 0 ;
26466 wxPoint
*arg2
= 0 ;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self",(char *) "pt", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26480 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26498 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxWindow
*arg1
= (wxWindow
*) 0 ;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "self",(char *) "rect", NULL
26510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26515 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26533 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26534 PyObject
*resultobj
;
26535 wxWindow
*arg1
= (wxWindow
*) 0 ;
26536 wxVisualAttributes result
;
26537 PyObject
* obj0
= 0 ;
26538 char *kwnames
[] = {
26539 (char *) "self", NULL
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26553 wxVisualAttributes
* resultptr
;
26554 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26563 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26566 wxVisualAttributes result
;
26567 PyObject
* obj0
= 0 ;
26568 char *kwnames
[] = {
26569 (char *) "variant", NULL
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26574 arg1
= (int)SWIG_As_int(obj0
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26578 if (!wxPyCheckForApp()) SWIG_fail
;
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26582 wxPyEndAllowThreads(__tstate
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26586 wxVisualAttributes
* resultptr
;
26587 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26596 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 wxWindow
*arg1
= (wxWindow
*) 0 ;
26599 wxColour
*arg2
= 0 ;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 char *kwnames
[] = {
26605 (char *) "self",(char *) "colour", NULL
26608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26631 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
;
26633 wxWindow
*arg1
= (wxWindow
*) 0 ;
26634 wxColour
*arg2
= 0 ;
26636 PyObject
* obj0
= 0 ;
26637 PyObject
* obj1
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "self",(char *) "colour", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26647 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26651 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26653 wxPyEndAllowThreads(__tstate
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26656 Py_INCREF(Py_None
); resultobj
= Py_None
;
26663 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26664 PyObject
*resultobj
;
26665 wxWindow
*arg1
= (wxWindow
*) 0 ;
26666 wxColour
*arg2
= 0 ;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 char *kwnames
[] = {
26672 (char *) "self",(char *) "colour", NULL
26675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26680 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26698 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
;
26700 wxWindow
*arg1
= (wxWindow
*) 0 ;
26701 wxColour
*arg2
= 0 ;
26703 PyObject
* obj0
= 0 ;
26704 PyObject
* obj1
= 0 ;
26705 char *kwnames
[] = {
26706 (char *) "self",(char *) "colour", NULL
26709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26714 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26718 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26720 wxPyEndAllowThreads(__tstate
);
26721 if (PyErr_Occurred()) SWIG_fail
;
26723 Py_INCREF(Py_None
); resultobj
= Py_None
;
26730 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26731 PyObject
*resultobj
;
26732 wxWindow
*arg1
= (wxWindow
*) 0 ;
26734 PyObject
* obj0
= 0 ;
26735 char *kwnames
[] = {
26736 (char *) "self", NULL
26739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26750 wxColour
* resultptr
;
26751 resultptr
= new wxColour((wxColour
&) result
);
26752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26760 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
;
26762 wxWindow
*arg1
= (wxWindow
*) 0 ;
26764 PyObject
* obj0
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26780 wxColour
* resultptr
;
26781 resultptr
= new wxColour((wxColour
&) result
);
26782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26790 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
;
26792 wxWindow
*arg1
= (wxWindow
*) 0 ;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 char *kwnames
[] = {
26798 (char *) "self",(char *) "style", NULL
26801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26804 arg2
= (int)SWIG_As_int(obj1
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26822 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26823 PyObject
*resultobj
;
26824 wxWindow
*arg1
= (wxWindow
*) 0 ;
26826 PyObject
* obj0
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "self", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26838 wxPyEndAllowThreads(__tstate
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26841 resultobj
= SWIG_From_int((int)result
);
26848 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
;
26850 wxWindow
*arg1
= (wxWindow
*) 0 ;
26851 wxCursor
*arg2
= 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 char *kwnames
[] = {
26856 (char *) "self",(char *) "cursor", NULL
26859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26865 if (arg2
== NULL
) {
26866 PyErr_SetString(PyExc_TypeError
,"null reference");
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26885 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
;
26887 wxWindow
*arg1
= (wxWindow
*) 0 ;
26889 PyObject
* obj0
= 0 ;
26890 char *kwnames
[] = {
26891 (char *) "self", NULL
26894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 result
= (arg1
)->GetCursor();
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26905 wxCursor
* resultptr
;
26906 resultptr
= new wxCursor((wxCursor
&) result
);
26907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26915 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
;
26917 wxWindow
*arg1
= (wxWindow
*) 0 ;
26920 PyObject
* obj0
= 0 ;
26921 PyObject
* obj1
= 0 ;
26922 char *kwnames
[] = {
26923 (char *) "self",(char *) "font", NULL
26926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26932 if (arg2
== NULL
) {
26933 PyErr_SetString(PyExc_TypeError
,"null reference");
26937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26938 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26952 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
;
26954 wxWindow
*arg1
= (wxWindow
*) 0 ;
26956 PyObject
* obj0
= 0 ;
26957 PyObject
* obj1
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self",(char *) "font", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26968 if (arg2
== NULL
) {
26969 PyErr_SetString(PyExc_TypeError
,"null reference");
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26976 wxPyEndAllowThreads(__tstate
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26979 Py_INCREF(Py_None
); resultobj
= Py_None
;
26986 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
;
26988 wxWindow
*arg1
= (wxWindow
*) 0 ;
26990 PyObject
* obj0
= 0 ;
26991 char *kwnames
[] = {
26992 (char *) "self", NULL
26995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= (arg1
)->GetFont();
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27006 wxFont
* resultptr
;
27007 resultptr
= new wxFont((wxFont
&) result
);
27008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27016 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
;
27018 wxWindow
*arg1
= (wxWindow
*) 0 ;
27019 wxCaret
*arg2
= (wxCaret
*) 0 ;
27020 PyObject
* obj0
= 0 ;
27021 PyObject
* obj1
= 0 ;
27022 char *kwnames
[] = {
27023 (char *) "self",(char *) "caret", NULL
27026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27033 (arg1
)->SetCaret(arg2
);
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27038 Py_INCREF(Py_None
); resultobj
= Py_None
;
27045 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxWindow
*arg1
= (wxWindow
*) 0 ;
27049 PyObject
* obj0
= 0 ;
27050 char *kwnames
[] = {
27051 (char *) "self", NULL
27054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27071 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27072 PyObject
*resultobj
;
27073 wxWindow
*arg1
= (wxWindow
*) 0 ;
27075 PyObject
* obj0
= 0 ;
27076 char *kwnames
[] = {
27077 (char *) "self", NULL
27080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27085 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27087 wxPyEndAllowThreads(__tstate
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27090 resultobj
= SWIG_From_int((int)result
);
27097 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
;
27099 wxWindow
*arg1
= (wxWindow
*) 0 ;
27101 PyObject
* obj0
= 0 ;
27102 char *kwnames
[] = {
27103 (char *) "self", NULL
27106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27111 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= SWIG_From_int((int)result
);
27123 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27124 PyObject
*resultobj
;
27125 wxWindow
*arg1
= (wxWindow
*) 0 ;
27126 wxString
*arg2
= 0 ;
27127 int *arg3
= (int *) 0 ;
27128 int *arg4
= (int *) 0 ;
27129 bool temp2
= false ;
27134 PyObject
* obj0
= 0 ;
27135 PyObject
* obj1
= 0 ;
27136 char *kwnames
[] = {
27137 (char *) "self",(char *) "string", NULL
27140 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27141 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27146 arg2
= wxString_in_helper(obj1
);
27147 if (arg2
== NULL
) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 Py_INCREF(Py_None
); resultobj
= Py_None
;
27158 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27159 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27160 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27161 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27176 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxWindow
*arg1
= (wxWindow
*) 0 ;
27179 wxString
*arg2
= 0 ;
27180 int *arg3
= (int *) 0 ;
27181 int *arg4
= (int *) 0 ;
27182 int *arg5
= (int *) 0 ;
27183 int *arg6
= (int *) 0 ;
27184 wxFont
*arg7
= (wxFont
*) NULL
;
27185 bool temp2
= false ;
27194 PyObject
* obj0
= 0 ;
27195 PyObject
* obj1
= 0 ;
27196 PyObject
* obj2
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "self",(char *) "string",(char *) "font", NULL
27201 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27202 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27203 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27204 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27209 arg2
= wxString_in_helper(obj1
);
27210 if (arg2
== NULL
) SWIG_fail
;
27214 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 Py_INCREF(Py_None
); resultobj
= Py_None
;
27225 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27226 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27227 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27228 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27229 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27230 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27231 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27232 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27247 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27248 PyObject
*resultobj
;
27249 wxWindow
*arg1
= (wxWindow
*) 0 ;
27250 int *arg2
= (int *) 0 ;
27251 int *arg3
= (int *) 0 ;
27256 PyObject
* obj0
= 0 ;
27257 PyObject
* obj1
= 0 ;
27258 PyObject
* obj2
= 0 ;
27259 char *kwnames
[] = {
27260 (char *) "self",(char *) "x",(char *) "y", NULL
27263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27267 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27268 temp2
= SWIG_As_int(obj1
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 res2
= SWIG_NEWOBJ
;
27275 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27276 temp3
= SWIG_As_int(obj2
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 res3
= SWIG_NEWOBJ
;
27283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27284 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27286 wxPyEndAllowThreads(__tstate
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27289 Py_INCREF(Py_None
); resultobj
= Py_None
;
27290 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27291 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27292 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27293 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27300 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27301 PyObject
*resultobj
;
27302 wxWindow
*arg1
= (wxWindow
*) 0 ;
27303 int *arg2
= (int *) 0 ;
27304 int *arg3
= (int *) 0 ;
27309 PyObject
* obj0
= 0 ;
27310 PyObject
* obj1
= 0 ;
27311 PyObject
* obj2
= 0 ;
27312 char *kwnames
[] = {
27313 (char *) "self",(char *) "x",(char *) "y", NULL
27316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27320 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27321 temp2
= SWIG_As_int(obj1
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27324 res2
= SWIG_NEWOBJ
;
27328 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27329 temp3
= SWIG_As_int(obj2
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27332 res3
= SWIG_NEWOBJ
;
27336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27337 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 Py_INCREF(Py_None
); resultobj
= Py_None
;
27343 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27344 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27345 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27346 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27353 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxWindow
*arg1
= (wxWindow
*) 0 ;
27356 wxPoint
*arg2
= 0 ;
27359 PyObject
* obj0
= 0 ;
27360 PyObject
* obj1
= 0 ;
27361 char *kwnames
[] = {
27362 (char *) "self",(char *) "pt", NULL
27365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27370 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27380 wxPoint
* resultptr
;
27381 resultptr
= new wxPoint((wxPoint
&) result
);
27382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27390 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxWindow
*arg1
= (wxWindow
*) 0 ;
27393 wxPoint
*arg2
= 0 ;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self",(char *) "pt", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27417 wxPoint
* resultptr
;
27418 resultptr
= new wxPoint((wxPoint
&) result
);
27419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27427 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27428 PyObject
*resultobj
;
27429 wxWindow
*arg1
= (wxWindow
*) 0 ;
27433 PyObject
* obj0
= 0 ;
27434 PyObject
* obj1
= 0 ;
27435 PyObject
* obj2
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self",(char *) "x",(char *) "y", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27443 arg2
= (int)SWIG_As_int(obj1
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27445 arg3
= (int)SWIG_As_int(obj2
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= SWIG_From_int((int)result
);
27461 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
;
27463 wxWindow
*arg1
= (wxWindow
*) 0 ;
27464 wxPoint
*arg2
= 0 ;
27467 PyObject
* obj0
= 0 ;
27468 PyObject
* obj1
= 0 ;
27469 char *kwnames
[] = {
27470 (char *) "self",(char *) "pt", NULL
27473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27478 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27482 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27484 wxPyEndAllowThreads(__tstate
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27487 resultobj
= SWIG_From_int((int)result
);
27494 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27495 PyObject
*resultobj
;
27496 wxWindow
*arg1
= (wxWindow
*) 0 ;
27499 PyObject
* obj0
= 0 ;
27500 PyObject
* obj1
= 0 ;
27502 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27505 arg2
= (long)SWIG_As_long(obj1
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= SWIG_From_int((int)result
);
27521 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27522 PyObject
*resultobj
;
27523 wxWindow
*arg1
= (wxWindow
*) 0 ;
27525 PyObject
* obj0
= 0 ;
27527 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27537 resultobj
= SWIG_From_int((int)result
);
27544 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27549 argc
= PyObject_Length(args
);
27550 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27551 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27557 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27565 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27572 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27580 _v
= SWIG_Check_long(argv
[1]);
27582 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27587 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27592 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
;
27594 wxWindow
*arg1
= (wxWindow
*) 0 ;
27595 long arg2
= (long) wxUPDATE_UI_NONE
;
27596 PyObject
* obj0
= 0 ;
27597 PyObject
* obj1
= 0 ;
27598 char *kwnames
[] = {
27599 (char *) "self",(char *) "flags", NULL
27602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27606 arg2
= (long)SWIG_As_long(obj1
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27611 (arg1
)->UpdateWindowUI(arg2
);
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 Py_INCREF(Py_None
); resultobj
= Py_None
;
27623 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxWindow
*arg1
= (wxWindow
*) 0 ;
27626 wxMenu
*arg2
= (wxMenu
*) 0 ;
27627 int arg3
= (int) -1 ;
27628 int arg4
= (int) -1 ;
27630 PyObject
* obj0
= 0 ;
27631 PyObject
* obj1
= 0 ;
27632 PyObject
* obj2
= 0 ;
27633 PyObject
* obj3
= 0 ;
27634 char *kwnames
[] = {
27635 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27644 arg3
= (int)SWIG_As_int(obj2
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27648 arg4
= (int)SWIG_As_int(obj3
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27655 wxPyEndAllowThreads(__tstate
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27667 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27668 PyObject
*resultobj
;
27669 wxWindow
*arg1
= (wxWindow
*) 0 ;
27670 wxMenu
*arg2
= (wxMenu
*) 0 ;
27671 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27672 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27675 PyObject
* obj0
= 0 ;
27676 PyObject
* obj1
= 0 ;
27677 PyObject
* obj2
= 0 ;
27678 char *kwnames
[] = {
27679 (char *) "self",(char *) "menu",(char *) "pos", NULL
27682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27690 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27709 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
;
27711 wxWindow
*arg1
= (wxWindow
*) 0 ;
27713 PyObject
* obj0
= 0 ;
27714 char *kwnames
[] = {
27715 (char *) "self", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 result
= (long)wxWindow_GetHandle(arg1
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 resultobj
= SWIG_From_long((long)result
);
27735 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
;
27737 wxWindow
*arg1
= (wxWindow
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 PyObject
* obj1
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self",(char *) "handle", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27748 arg2
= (long)SWIG_As_long(obj1
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27752 wxWindow_AssociateHandle(arg1
,arg2
);
27754 wxPyEndAllowThreads(__tstate
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27757 Py_INCREF(Py_None
); resultobj
= Py_None
;
27764 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27765 PyObject
*resultobj
;
27766 wxWindow
*arg1
= (wxWindow
*) 0 ;
27767 PyObject
* obj0
= 0 ;
27768 char *kwnames
[] = {
27769 (char *) "self", NULL
27772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 (arg1
)->DissociateHandle();
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27782 Py_INCREF(Py_None
); resultobj
= Py_None
;
27789 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
;
27791 wxWindow
*arg1
= (wxWindow
*) 0 ;
27794 PyObject
* obj0
= 0 ;
27795 PyObject
* obj1
= 0 ;
27796 char *kwnames
[] = {
27797 (char *) "self",(char *) "orient", NULL
27800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27803 arg2
= (int)SWIG_As_int(obj1
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27821 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
;
27823 wxWindow
*arg1
= (wxWindow
*) 0 ;
27828 bool arg6
= (bool) true ;
27829 PyObject
* obj0
= 0 ;
27830 PyObject
* obj1
= 0 ;
27831 PyObject
* obj2
= 0 ;
27832 PyObject
* obj3
= 0 ;
27833 PyObject
* obj4
= 0 ;
27834 PyObject
* obj5
= 0 ;
27835 char *kwnames
[] = {
27836 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27842 arg2
= (int)SWIG_As_int(obj1
);
27843 if (PyErr_Occurred()) SWIG_fail
;
27844 arg3
= (int)SWIG_As_int(obj2
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27846 arg4
= (int)SWIG_As_int(obj3
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27848 arg5
= (int)SWIG_As_int(obj4
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 arg6
= (bool)SWIG_As_bool(obj5
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27856 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 Py_INCREF(Py_None
); resultobj
= Py_None
;
27868 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxWindow
*arg1
= (wxWindow
*) 0 ;
27873 bool arg4
= (bool) true ;
27874 PyObject
* obj0
= 0 ;
27875 PyObject
* obj1
= 0 ;
27876 PyObject
* obj2
= 0 ;
27877 PyObject
* obj3
= 0 ;
27878 char *kwnames
[] = {
27879 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27885 arg2
= (int)SWIG_As_int(obj1
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27887 arg3
= (int)SWIG_As_int(obj2
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27890 arg4
= (bool)SWIG_As_bool(obj3
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27900 Py_INCREF(Py_None
); resultobj
= Py_None
;
27907 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
;
27909 wxWindow
*arg1
= (wxWindow
*) 0 ;
27912 PyObject
* obj0
= 0 ;
27913 PyObject
* obj1
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self",(char *) "orientation", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27921 arg2
= (int)SWIG_As_int(obj1
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 resultobj
= SWIG_From_int((int)result
);
27937 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxWindow
*arg1
= (wxWindow
*) 0 ;
27942 PyObject
* obj0
= 0 ;
27943 PyObject
* obj1
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self",(char *) "orientation", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27951 arg2
= (int)SWIG_As_int(obj1
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27957 wxPyEndAllowThreads(__tstate
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27960 resultobj
= SWIG_From_int((int)result
);
27967 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27968 PyObject
*resultobj
;
27969 wxWindow
*arg1
= (wxWindow
*) 0 ;
27972 PyObject
* obj0
= 0 ;
27973 PyObject
* obj1
= 0 ;
27974 char *kwnames
[] = {
27975 (char *) "self",(char *) "orientation", NULL
27978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27981 arg2
= (int)SWIG_As_int(obj1
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= SWIG_From_int((int)result
);
27997 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
;
27999 wxWindow
*arg1
= (wxWindow
*) 0 ;
28002 wxRect
*arg4
= (wxRect
*) NULL
;
28003 PyObject
* obj0
= 0 ;
28004 PyObject
* obj1
= 0 ;
28005 PyObject
* obj2
= 0 ;
28006 PyObject
* obj3
= 0 ;
28007 char *kwnames
[] = {
28008 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28014 arg2
= (int)SWIG_As_int(obj1
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28016 arg3
= (int)SWIG_As_int(obj2
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28029 Py_INCREF(Py_None
); resultobj
= Py_None
;
28036 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxWindow
*arg1
= (wxWindow
*) 0 ;
28041 PyObject
* obj0
= 0 ;
28042 PyObject
* obj1
= 0 ;
28043 char *kwnames
[] = {
28044 (char *) "self",(char *) "lines", NULL
28047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28050 arg2
= (int)SWIG_As_int(obj1
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28054 result
= (bool)(arg1
)->ScrollLines(arg2
);
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28068 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28069 PyObject
*resultobj
;
28070 wxWindow
*arg1
= (wxWindow
*) 0 ;
28073 PyObject
* obj0
= 0 ;
28074 PyObject
* obj1
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self",(char *) "pages", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28082 arg2
= (int)SWIG_As_int(obj1
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 result
= (bool)(arg1
)->ScrollPages(arg2
);
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28100 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
;
28102 wxWindow
*arg1
= (wxWindow
*) 0 ;
28104 PyObject
* obj0
= 0 ;
28105 char *kwnames
[] = {
28106 (char *) "self", NULL
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 result
= (bool)(arg1
)->LineUp();
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28128 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28129 PyObject
*resultobj
;
28130 wxWindow
*arg1
= (wxWindow
*) 0 ;
28132 PyObject
* obj0
= 0 ;
28133 char *kwnames
[] = {
28134 (char *) "self", NULL
28137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 result
= (bool)(arg1
)->LineDown();
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28156 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxWindow
*arg1
= (wxWindow
*) 0 ;
28160 PyObject
* obj0
= 0 ;
28161 char *kwnames
[] = {
28162 (char *) "self", NULL
28165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28170 result
= (bool)(arg1
)->PageUp();
28172 wxPyEndAllowThreads(__tstate
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28184 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28185 PyObject
*resultobj
;
28186 wxWindow
*arg1
= (wxWindow
*) 0 ;
28188 PyObject
* obj0
= 0 ;
28189 char *kwnames
[] = {
28190 (char *) "self", NULL
28193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 result
= (bool)(arg1
)->PageDown();
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28212 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxWindow
*arg1
= (wxWindow
*) 0 ;
28215 wxString
*arg2
= 0 ;
28216 bool temp2
= false ;
28217 PyObject
* obj0
= 0 ;
28218 PyObject
* obj1
= 0 ;
28219 char *kwnames
[] = {
28220 (char *) "self",(char *) "text", NULL
28223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28227 arg2
= wxString_in_helper(obj1
);
28228 if (arg2
== NULL
) SWIG_fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28238 Py_INCREF(Py_None
); resultobj
= Py_None
;
28253 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
;
28255 wxWindow
*arg1
= (wxWindow
*) 0 ;
28256 wxString
*arg2
= 0 ;
28257 bool temp2
= false ;
28258 PyObject
* obj0
= 0 ;
28259 PyObject
* obj1
= 0 ;
28260 char *kwnames
[] = {
28261 (char *) "self",(char *) "text", NULL
28264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28268 arg2
= wxString_in_helper(obj1
);
28269 if (arg2
== NULL
) SWIG_fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28279 Py_INCREF(Py_None
); resultobj
= Py_None
;
28294 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28295 PyObject
*resultobj
;
28296 wxWindow
*arg1
= (wxWindow
*) 0 ;
28298 PyObject
* obj0
= 0 ;
28299 char *kwnames
[] = {
28300 (char *) "self", NULL
28303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28326 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28328 wxWindow
*arg1
= (wxWindow
*) 0 ;
28329 wxString
*arg2
= 0 ;
28330 bool temp2
= false ;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "self",(char *) "tip", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28341 arg2
= wxString_in_helper(obj1
);
28342 if (arg2
== NULL
) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28352 Py_INCREF(Py_None
); resultobj
= Py_None
;
28367 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxWindow
*arg1
= (wxWindow
*) 0 ;
28370 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 PyObject
* obj1
= 0 ;
28373 char *kwnames
[] = {
28374 (char *) "self",(char *) "tip", NULL
28377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 (arg1
)->SetToolTip(arg2
);
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28389 Py_INCREF(Py_None
); resultobj
= Py_None
;
28396 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
;
28398 wxWindow
*arg1
= (wxWindow
*) 0 ;
28400 PyObject
* obj0
= 0 ;
28401 char *kwnames
[] = {
28402 (char *) "self", NULL
28405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28410 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28412 wxPyEndAllowThreads(__tstate
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= wxPyMake_wxObject(result
, 0);
28424 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
;
28426 wxWindow
*arg1
= (wxWindow
*) 0 ;
28427 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28428 PyObject
* obj0
= 0 ;
28429 PyObject
* obj1
= 0 ;
28430 char *kwnames
[] = {
28431 (char *) "self",(char *) "dropTarget", NULL
28434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28438 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28441 (arg1
)->SetDropTarget(arg2
);
28443 wxPyEndAllowThreads(__tstate
);
28444 if (PyErr_Occurred()) SWIG_fail
;
28446 Py_INCREF(Py_None
); resultobj
= Py_None
;
28453 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28454 PyObject
*resultobj
;
28455 wxWindow
*arg1
= (wxWindow
*) 0 ;
28456 wxPyDropTarget
*result
;
28457 PyObject
* obj0
= 0 ;
28458 char *kwnames
[] = {
28459 (char *) "self", NULL
28462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28467 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28469 wxPyEndAllowThreads(__tstate
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28479 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28480 PyObject
*resultobj
;
28481 wxWindow
*arg1
= (wxWindow
*) 0 ;
28482 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28483 PyObject
* obj0
= 0 ;
28484 PyObject
* obj1
= 0 ;
28485 char *kwnames
[] = {
28486 (char *) "self",(char *) "constraints", NULL
28489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 (arg1
)->SetConstraints(arg2
);
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28501 Py_INCREF(Py_None
); resultobj
= Py_None
;
28508 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28509 PyObject
*resultobj
;
28510 wxWindow
*arg1
= (wxWindow
*) 0 ;
28511 wxLayoutConstraints
*result
;
28512 PyObject
* obj0
= 0 ;
28513 char *kwnames
[] = {
28514 (char *) "self", NULL
28517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28534 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28535 PyObject
*resultobj
;
28536 wxWindow
*arg1
= (wxWindow
*) 0 ;
28538 PyObject
* obj0
= 0 ;
28539 PyObject
* obj1
= 0 ;
28540 char *kwnames
[] = {
28541 (char *) "self",(char *) "autoLayout", NULL
28544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28547 arg2
= (bool)SWIG_As_bool(obj1
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 (arg1
)->SetAutoLayout(arg2
);
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 Py_INCREF(Py_None
); resultobj
= Py_None
;
28563 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxWindow
*arg1
= (wxWindow
*) 0 ;
28567 PyObject
* obj0
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28591 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxWindow
*arg1
= (wxWindow
*) 0 ;
28595 PyObject
* obj0
= 0 ;
28596 char *kwnames
[] = {
28597 (char *) "self", NULL
28600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 result
= (bool)(arg1
)->Layout();
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28619 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
;
28621 wxWindow
*arg1
= (wxWindow
*) 0 ;
28622 wxSizer
*arg2
= (wxSizer
*) 0 ;
28623 bool arg3
= (bool) true ;
28624 PyObject
* obj0
= 0 ;
28625 PyObject
* obj1
= 0 ;
28626 PyObject
* obj2
= 0 ;
28627 char *kwnames
[] = {
28628 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28637 arg3
= (bool)SWIG_As_bool(obj2
);
28638 if (PyErr_Occurred()) SWIG_fail
;
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 (arg1
)->SetSizer(arg2
,arg3
);
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 Py_INCREF(Py_None
); resultobj
= Py_None
;
28654 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
;
28656 wxWindow
*arg1
= (wxWindow
*) 0 ;
28657 wxSizer
*arg2
= (wxSizer
*) 0 ;
28658 bool arg3
= (bool) true ;
28659 PyObject
* obj0
= 0 ;
28660 PyObject
* obj1
= 0 ;
28661 PyObject
* obj2
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28672 arg3
= (bool)SWIG_As_bool(obj2
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28682 Py_INCREF(Py_None
); resultobj
= Py_None
;
28689 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28690 PyObject
*resultobj
;
28691 wxWindow
*arg1
= (wxWindow
*) 0 ;
28693 PyObject
* obj0
= 0 ;
28694 char *kwnames
[] = {
28695 (char *) "self", NULL
28698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28709 resultobj
= wxPyMake_wxSizer(result
, 0);
28717 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28718 PyObject
*resultobj
;
28719 wxWindow
*arg1
= (wxWindow
*) 0 ;
28720 wxSizer
*arg2
= (wxSizer
*) 0 ;
28721 PyObject
* obj0
= 0 ;
28722 PyObject
* obj1
= 0 ;
28723 char *kwnames
[] = {
28724 (char *) "self",(char *) "sizer", NULL
28727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 (arg1
)->SetContainingSizer(arg2
);
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28739 Py_INCREF(Py_None
); resultobj
= Py_None
;
28746 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
;
28748 wxWindow
*arg1
= (wxWindow
*) 0 ;
28750 PyObject
* obj0
= 0 ;
28751 char *kwnames
[] = {
28752 (char *) "self", NULL
28755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28760 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28766 resultobj
= wxPyMake_wxSizer(result
, 0);
28774 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
;
28776 wxWindow
*arg1
= (wxWindow
*) 0 ;
28777 PyObject
* obj0
= 0 ;
28778 char *kwnames
[] = {
28779 (char *) "self", NULL
28782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 (arg1
)->InheritAttributes();
28789 wxPyEndAllowThreads(__tstate
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 Py_INCREF(Py_None
); resultobj
= Py_None
;
28799 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
;
28801 wxWindow
*arg1
= (wxWindow
*) 0 ;
28803 PyObject
* obj0
= 0 ;
28804 char *kwnames
[] = {
28805 (char *) "self", NULL
28808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28827 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28830 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28832 return Py_BuildValue((char *)"");
28834 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
;
28837 wxWindow
*arg2
= (wxWindow
*) NULL
;
28839 PyObject
* obj0
= 0 ;
28840 PyObject
* obj1
= 0 ;
28841 char *kwnames
[] = {
28842 (char *) "id",(char *) "parent", NULL
28845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28846 arg1
= (long)SWIG_As_long(obj0
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28853 if (!wxPyCheckForApp()) SWIG_fail
;
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28857 wxPyEndAllowThreads(__tstate
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28861 resultobj
= wxPyMake_wxObject(result
, 0);
28869 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxString
*arg1
= 0 ;
28872 wxWindow
*arg2
= (wxWindow
*) NULL
;
28874 bool temp1
= false ;
28875 PyObject
* obj0
= 0 ;
28876 PyObject
* obj1
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "name",(char *) "parent", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28883 arg1
= wxString_in_helper(obj0
);
28884 if (arg1
== NULL
) SWIG_fail
;
28888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28892 if (!wxPyCheckForApp()) SWIG_fail
;
28893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28894 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28896 wxPyEndAllowThreads(__tstate
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28900 resultobj
= wxPyMake_wxObject(result
, 0);
28916 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28917 PyObject
*resultobj
;
28918 wxString
*arg1
= 0 ;
28919 wxWindow
*arg2
= (wxWindow
*) NULL
;
28921 bool temp1
= false ;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 char *kwnames
[] = {
28925 (char *) "label",(char *) "parent", NULL
28928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28930 arg1
= wxString_in_helper(obj0
);
28931 if (arg1
== NULL
) SWIG_fail
;
28935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28939 if (!wxPyCheckForApp()) SWIG_fail
;
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28947 resultobj
= wxPyMake_wxObject(result
, 0);
28963 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
;
28965 wxWindow
*arg1
= (wxWindow
*) 0 ;
28966 unsigned long arg2
;
28968 PyObject
* obj0
= 0 ;
28969 PyObject
* obj1
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "parent",(char *) "_hWnd", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28977 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28987 resultobj
= wxPyMake_wxObject(result
, 0);
28995 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
;
28997 wxValidator
*result
;
28998 char *kwnames
[] = {
29002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 result
= (wxValidator
*)new wxValidator();
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29017 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29018 PyObject
*resultobj
;
29019 wxValidator
*arg1
= (wxValidator
*) 0 ;
29020 wxValidator
*result
;
29021 PyObject
* obj0
= 0 ;
29022 char *kwnames
[] = {
29023 (char *) "self", NULL
29026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 result
= (wxValidator
*)(arg1
)->Clone();
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= wxPyMake_wxObject(result
, 0);
29045 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29046 PyObject
*resultobj
;
29047 wxValidator
*arg1
= (wxValidator
*) 0 ;
29048 wxWindow
*arg2
= (wxWindow
*) 0 ;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 char *kwnames
[] = {
29053 (char *) "self",(char *) "parent", NULL
29056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29063 result
= (bool)(arg1
)->Validate(arg2
);
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29077 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29078 PyObject
*resultobj
;
29079 wxValidator
*arg1
= (wxValidator
*) 0 ;
29081 PyObject
* obj0
= 0 ;
29082 char *kwnames
[] = {
29083 (char *) "self", NULL
29086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29091 result
= (bool)(arg1
)->TransferToWindow();
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29105 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29106 PyObject
*resultobj
;
29107 wxValidator
*arg1
= (wxValidator
*) 0 ;
29109 PyObject
* obj0
= 0 ;
29110 char *kwnames
[] = {
29111 (char *) "self", NULL
29114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 result
= (bool)(arg1
)->TransferFromWindow();
29121 wxPyEndAllowThreads(__tstate
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29133 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29134 PyObject
*resultobj
;
29135 wxValidator
*arg1
= (wxValidator
*) 0 ;
29137 PyObject
* obj0
= 0 ;
29138 char *kwnames
[] = {
29139 (char *) "self", NULL
29142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 result
= (wxWindow
*)(arg1
)->GetWindow();
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= wxPyMake_wxObject(result
, 0);
29161 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29162 PyObject
*resultobj
;
29163 wxValidator
*arg1
= (wxValidator
*) 0 ;
29164 wxWindow
*arg2
= (wxWindow
*) 0 ;
29165 PyObject
* obj0
= 0 ;
29166 PyObject
* obj1
= 0 ;
29167 char *kwnames
[] = {
29168 (char *) "self",(char *) "window", NULL
29171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 (arg1
)->SetWindow(arg2
);
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 Py_INCREF(Py_None
); resultobj
= Py_None
;
29190 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
;
29193 char *kwnames
[] = {
29197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 result
= (bool)wxValidator::IsSilent();
29202 wxPyEndAllowThreads(__tstate
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29214 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29215 PyObject
*resultobj
;
29216 int arg1
= (int) true ;
29217 PyObject
* obj0
= 0 ;
29218 char *kwnames
[] = {
29219 (char *) "doIt", NULL
29222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29224 arg1
= (int)SWIG_As_int(obj0
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 wxValidator::SetBellOnError(arg1
);
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 Py_INCREF(Py_None
); resultobj
= Py_None
;
29241 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29244 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29246 return Py_BuildValue((char *)"");
29248 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
;
29250 wxPyValidator
*result
;
29251 char *kwnames
[] = {
29255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= (wxPyValidator
*)new wxPyValidator();
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29270 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
;
29272 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29273 PyObject
*arg2
= (PyObject
*) 0 ;
29274 PyObject
*arg3
= (PyObject
*) 0 ;
29275 int arg4
= (int) true ;
29276 PyObject
* obj0
= 0 ;
29277 PyObject
* obj1
= 0 ;
29278 PyObject
* obj2
= 0 ;
29279 PyObject
* obj3
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29290 arg4
= (int)SWIG_As_int(obj3
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29295 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 Py_INCREF(Py_None
); resultobj
= Py_None
;
29307 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29310 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29312 return Py_BuildValue((char *)"");
29314 static int _wrap_DefaultValidator_set(PyObject
*) {
29315 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29320 static PyObject
*_wrap_DefaultValidator_get() {
29323 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29328 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29329 PyObject
*resultobj
;
29330 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29331 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29332 long arg2
= (long) 0 ;
29334 bool temp1
= false ;
29335 PyObject
* obj0
= 0 ;
29336 PyObject
* obj1
= 0 ;
29337 char *kwnames
[] = {
29338 (char *) "title",(char *) "style", NULL
29341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29344 arg1
= wxString_in_helper(obj0
);
29345 if (arg1
== NULL
) SWIG_fail
;
29350 arg2
= (long)SWIG_As_long(obj1
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29354 if (!wxPyCheckForApp()) SWIG_fail
;
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29358 wxPyEndAllowThreads(__tstate
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29376 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
;
29378 wxMenu
*arg1
= (wxMenu
*) 0 ;
29380 wxString
*arg3
= 0 ;
29381 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29382 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29383 int arg5
= (int) wxITEM_NORMAL
;
29384 wxMenuItem
*result
;
29385 bool temp3
= false ;
29386 bool temp4
= false ;
29387 PyObject
* obj0
= 0 ;
29388 PyObject
* obj1
= 0 ;
29389 PyObject
* obj2
= 0 ;
29390 PyObject
* obj3
= 0 ;
29391 PyObject
* obj4
= 0 ;
29392 char *kwnames
[] = {
29393 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29399 arg2
= (int)SWIG_As_int(obj1
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29402 arg3
= wxString_in_helper(obj2
);
29403 if (arg3
== NULL
) SWIG_fail
;
29408 arg4
= wxString_in_helper(obj3
);
29409 if (arg4
== NULL
) SWIG_fail
;
29414 arg5
= (int)SWIG_As_int(obj4
);
29415 if (PyErr_Occurred()) SWIG_fail
;
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29421 wxPyEndAllowThreads(__tstate
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= wxPyMake_wxObject(result
, 0);
29449 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29450 PyObject
*resultobj
;
29451 wxMenu
*arg1
= (wxMenu
*) 0 ;
29452 wxMenuItem
*result
;
29453 PyObject
* obj0
= 0 ;
29454 char *kwnames
[] = {
29455 (char *) "self", NULL
29458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29465 wxPyEndAllowThreads(__tstate
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29469 resultobj
= wxPyMake_wxObject(result
, 0);
29477 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
;
29479 wxMenu
*arg1
= (wxMenu
*) 0 ;
29481 wxString
*arg3
= 0 ;
29482 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29483 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29484 wxMenuItem
*result
;
29485 bool temp3
= false ;
29486 bool temp4
= false ;
29487 PyObject
* obj0
= 0 ;
29488 PyObject
* obj1
= 0 ;
29489 PyObject
* obj2
= 0 ;
29490 PyObject
* obj3
= 0 ;
29491 char *kwnames
[] = {
29492 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29498 arg2
= (int)SWIG_As_int(obj1
);
29499 if (PyErr_Occurred()) SWIG_fail
;
29501 arg3
= wxString_in_helper(obj2
);
29502 if (arg3
== NULL
) SWIG_fail
;
29507 arg4
= wxString_in_helper(obj3
);
29508 if (arg4
== NULL
) SWIG_fail
;
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29516 wxPyEndAllowThreads(__tstate
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29520 resultobj
= wxPyMake_wxObject(result
, 0);
29544 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29545 PyObject
*resultobj
;
29546 wxMenu
*arg1
= (wxMenu
*) 0 ;
29548 wxString
*arg3
= 0 ;
29549 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29550 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29551 wxMenuItem
*result
;
29552 bool temp3
= false ;
29553 bool temp4
= false ;
29554 PyObject
* obj0
= 0 ;
29555 PyObject
* obj1
= 0 ;
29556 PyObject
* obj2
= 0 ;
29557 PyObject
* obj3
= 0 ;
29558 char *kwnames
[] = {
29559 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29565 arg2
= (int)SWIG_As_int(obj1
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29568 arg3
= wxString_in_helper(obj2
);
29569 if (arg3
== NULL
) SWIG_fail
;
29574 arg4
= wxString_in_helper(obj3
);
29575 if (arg4
== NULL
) SWIG_fail
;
29580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29581 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29583 wxPyEndAllowThreads(__tstate
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29587 resultobj
= wxPyMake_wxObject(result
, 0);
29611 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxMenu
*arg1
= (wxMenu
*) 0 ;
29615 wxString
*arg3
= 0 ;
29616 wxMenu
*arg4
= (wxMenu
*) 0 ;
29617 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29618 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29619 wxMenuItem
*result
;
29620 bool temp3
= false ;
29621 bool temp5
= false ;
29622 PyObject
* obj0
= 0 ;
29623 PyObject
* obj1
= 0 ;
29624 PyObject
* obj2
= 0 ;
29625 PyObject
* obj3
= 0 ;
29626 PyObject
* obj4
= 0 ;
29627 char *kwnames
[] = {
29628 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29634 arg2
= (int)SWIG_As_int(obj1
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29637 arg3
= wxString_in_helper(obj2
);
29638 if (arg3
== NULL
) SWIG_fail
;
29641 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29645 arg5
= wxString_in_helper(obj4
);
29646 if (arg5
== NULL
) SWIG_fail
;
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29658 resultobj
= wxPyMake_wxObject(result
, 0);
29682 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29683 PyObject
*resultobj
;
29684 wxMenu
*arg1
= (wxMenu
*) 0 ;
29685 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29686 wxMenuItem
*result
;
29687 PyObject
* obj0
= 0 ;
29688 PyObject
* obj1
= 0 ;
29689 char *kwnames
[] = {
29690 (char *) "self",(char *) "item", NULL
29693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29702 wxPyEndAllowThreads(__tstate
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29706 resultobj
= wxPyMake_wxObject(result
, 0);
29714 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29715 PyObject
*resultobj
;
29716 wxMenu
*arg1
= (wxMenu
*) 0 ;
29717 PyObject
* obj0
= 0 ;
29718 char *kwnames
[] = {
29719 (char *) "self", NULL
29722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29732 Py_INCREF(Py_None
); resultobj
= Py_None
;
29739 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29740 PyObject
*resultobj
;
29741 wxMenu
*arg1
= (wxMenu
*) 0 ;
29743 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29744 wxMenuItem
*result
;
29745 PyObject
* obj0
= 0 ;
29746 PyObject
* obj1
= 0 ;
29747 PyObject
* obj2
= 0 ;
29748 char *kwnames
[] = {
29749 (char *) "self",(char *) "pos",(char *) "item", NULL
29752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29755 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29756 if (PyErr_Occurred()) SWIG_fail
;
29757 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= wxPyMake_wxObject(result
, 0);
29775 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29776 PyObject
*resultobj
;
29777 wxMenu
*arg1
= (wxMenu
*) 0 ;
29780 wxString
*arg4
= 0 ;
29781 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29782 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29783 int arg6
= (int) wxITEM_NORMAL
;
29784 wxMenuItem
*result
;
29785 bool temp4
= false ;
29786 bool temp5
= false ;
29787 PyObject
* obj0
= 0 ;
29788 PyObject
* obj1
= 0 ;
29789 PyObject
* obj2
= 0 ;
29790 PyObject
* obj3
= 0 ;
29791 PyObject
* obj4
= 0 ;
29792 PyObject
* obj5
= 0 ;
29793 char *kwnames
[] = {
29794 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29800 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29801 if (PyErr_Occurred()) SWIG_fail
;
29802 arg3
= (int)SWIG_As_int(obj2
);
29803 if (PyErr_Occurred()) SWIG_fail
;
29805 arg4
= wxString_in_helper(obj3
);
29806 if (arg4
== NULL
) SWIG_fail
;
29811 arg5
= wxString_in_helper(obj4
);
29812 if (arg5
== NULL
) SWIG_fail
;
29817 arg6
= (int)SWIG_As_int(obj5
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29822 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29824 wxPyEndAllowThreads(__tstate
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= wxPyMake_wxObject(result
, 0);
29852 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29853 PyObject
*resultobj
;
29854 wxMenu
*arg1
= (wxMenu
*) 0 ;
29856 wxMenuItem
*result
;
29857 PyObject
* obj0
= 0 ;
29858 PyObject
* obj1
= 0 ;
29859 char *kwnames
[] = {
29860 (char *) "self",(char *) "pos", NULL
29863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29866 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29872 wxPyEndAllowThreads(__tstate
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= wxPyMake_wxObject(result
, 0);
29884 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29885 PyObject
*resultobj
;
29886 wxMenu
*arg1
= (wxMenu
*) 0 ;
29889 wxString
*arg4
= 0 ;
29890 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29891 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29892 wxMenuItem
*result
;
29893 bool temp4
= false ;
29894 bool temp5
= false ;
29895 PyObject
* obj0
= 0 ;
29896 PyObject
* obj1
= 0 ;
29897 PyObject
* obj2
= 0 ;
29898 PyObject
* obj3
= 0 ;
29899 PyObject
* obj4
= 0 ;
29900 char *kwnames
[] = {
29901 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29907 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29909 arg3
= (int)SWIG_As_int(obj2
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 arg4
= wxString_in_helper(obj3
);
29913 if (arg4
== NULL
) SWIG_fail
;
29918 arg5
= wxString_in_helper(obj4
);
29919 if (arg5
== NULL
) SWIG_fail
;
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29925 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= wxPyMake_wxObject(result
, 0);
29955 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29956 PyObject
*resultobj
;
29957 wxMenu
*arg1
= (wxMenu
*) 0 ;
29960 wxString
*arg4
= 0 ;
29961 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29962 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29963 wxMenuItem
*result
;
29964 bool temp4
= false ;
29965 bool temp5
= false ;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 PyObject
* obj2
= 0 ;
29969 PyObject
* obj3
= 0 ;
29970 PyObject
* obj4
= 0 ;
29971 char *kwnames
[] = {
29972 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29978 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29979 if (PyErr_Occurred()) SWIG_fail
;
29980 arg3
= (int)SWIG_As_int(obj2
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29983 arg4
= wxString_in_helper(obj3
);
29984 if (arg4
== NULL
) SWIG_fail
;
29989 arg5
= wxString_in_helper(obj4
);
29990 if (arg5
== NULL
) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= wxPyMake_wxObject(result
, 0);
30026 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
;
30028 wxMenu
*arg1
= (wxMenu
*) 0 ;
30031 wxString
*arg4
= 0 ;
30032 wxMenu
*arg5
= (wxMenu
*) 0 ;
30033 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30034 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30035 wxMenuItem
*result
;
30036 bool temp4
= false ;
30037 bool temp6
= false ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 PyObject
* obj2
= 0 ;
30041 PyObject
* obj3
= 0 ;
30042 PyObject
* obj4
= 0 ;
30043 PyObject
* obj5
= 0 ;
30044 char *kwnames
[] = {
30045 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30051 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30053 arg3
= (int)SWIG_As_int(obj2
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30056 arg4
= wxString_in_helper(obj3
);
30057 if (arg4
== NULL
) SWIG_fail
;
30060 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30064 arg6
= wxString_in_helper(obj5
);
30065 if (arg6
== NULL
) SWIG_fail
;
30070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30071 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30073 wxPyEndAllowThreads(__tstate
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30077 resultobj
= wxPyMake_wxObject(result
, 0);
30101 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
;
30103 wxMenu
*arg1
= (wxMenu
*) 0 ;
30104 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30105 wxMenuItem
*result
;
30106 PyObject
* obj0
= 0 ;
30107 PyObject
* obj1
= 0 ;
30108 char *kwnames
[] = {
30109 (char *) "self",(char *) "item", NULL
30112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30119 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30121 wxPyEndAllowThreads(__tstate
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30125 resultobj
= wxPyMake_wxObject(result
, 0);
30133 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30134 PyObject
*resultobj
;
30135 wxMenu
*arg1
= (wxMenu
*) 0 ;
30137 wxString
*arg3
= 0 ;
30138 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30139 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30140 int arg5
= (int) wxITEM_NORMAL
;
30141 wxMenuItem
*result
;
30142 bool temp3
= false ;
30143 bool temp4
= false ;
30144 PyObject
* obj0
= 0 ;
30145 PyObject
* obj1
= 0 ;
30146 PyObject
* obj2
= 0 ;
30147 PyObject
* obj3
= 0 ;
30148 PyObject
* obj4
= 0 ;
30149 char *kwnames
[] = {
30150 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30156 arg2
= (int)SWIG_As_int(obj1
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30159 arg3
= wxString_in_helper(obj2
);
30160 if (arg3
== NULL
) SWIG_fail
;
30165 arg4
= wxString_in_helper(obj3
);
30166 if (arg4
== NULL
) SWIG_fail
;
30171 arg5
= (int)SWIG_As_int(obj4
);
30172 if (PyErr_Occurred()) SWIG_fail
;
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30182 resultobj
= wxPyMake_wxObject(result
, 0);
30206 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30207 PyObject
*resultobj
;
30208 wxMenu
*arg1
= (wxMenu
*) 0 ;
30209 wxMenuItem
*result
;
30210 PyObject
* obj0
= 0 ;
30211 char *kwnames
[] = {
30212 (char *) "self", NULL
30215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30222 wxPyEndAllowThreads(__tstate
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30226 resultobj
= wxPyMake_wxObject(result
, 0);
30234 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
;
30236 wxMenu
*arg1
= (wxMenu
*) 0 ;
30238 wxString
*arg3
= 0 ;
30239 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30240 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30241 wxMenuItem
*result
;
30242 bool temp3
= false ;
30243 bool temp4
= false ;
30244 PyObject
* obj0
= 0 ;
30245 PyObject
* obj1
= 0 ;
30246 PyObject
* obj2
= 0 ;
30247 PyObject
* obj3
= 0 ;
30248 char *kwnames
[] = {
30249 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30255 arg2
= (int)SWIG_As_int(obj1
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30258 arg3
= wxString_in_helper(obj2
);
30259 if (arg3
== NULL
) SWIG_fail
;
30264 arg4
= wxString_in_helper(obj3
);
30265 if (arg4
== NULL
) SWIG_fail
;
30270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30271 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30273 wxPyEndAllowThreads(__tstate
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30277 resultobj
= wxPyMake_wxObject(result
, 0);
30301 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
;
30303 wxMenu
*arg1
= (wxMenu
*) 0 ;
30305 wxString
*arg3
= 0 ;
30306 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30307 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30308 wxMenuItem
*result
;
30309 bool temp3
= false ;
30310 bool temp4
= false ;
30311 PyObject
* obj0
= 0 ;
30312 PyObject
* obj1
= 0 ;
30313 PyObject
* obj2
= 0 ;
30314 PyObject
* obj3
= 0 ;
30315 char *kwnames
[] = {
30316 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30322 arg2
= (int)SWIG_As_int(obj1
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30325 arg3
= wxString_in_helper(obj2
);
30326 if (arg3
== NULL
) SWIG_fail
;
30331 arg4
= wxString_in_helper(obj3
);
30332 if (arg4
== NULL
) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= wxPyMake_wxObject(result
, 0);
30368 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
;
30370 wxMenu
*arg1
= (wxMenu
*) 0 ;
30372 wxString
*arg3
= 0 ;
30373 wxMenu
*arg4
= (wxMenu
*) 0 ;
30374 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30375 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30376 wxMenuItem
*result
;
30377 bool temp3
= false ;
30378 bool temp5
= false ;
30379 PyObject
* obj0
= 0 ;
30380 PyObject
* obj1
= 0 ;
30381 PyObject
* obj2
= 0 ;
30382 PyObject
* obj3
= 0 ;
30383 PyObject
* obj4
= 0 ;
30384 char *kwnames
[] = {
30385 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30391 arg2
= (int)SWIG_As_int(obj1
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30394 arg3
= wxString_in_helper(obj2
);
30395 if (arg3
== NULL
) SWIG_fail
;
30398 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30402 arg5
= wxString_in_helper(obj4
);
30403 if (arg5
== NULL
) SWIG_fail
;
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= wxPyMake_wxObject(result
, 0);
30439 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
;
30441 wxMenu
*arg1
= (wxMenu
*) 0 ;
30443 wxMenuItem
*result
;
30444 PyObject
* obj0
= 0 ;
30445 PyObject
* obj1
= 0 ;
30446 char *kwnames
[] = {
30447 (char *) "self",(char *) "id", NULL
30450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30453 arg2
= (int)SWIG_As_int(obj1
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30463 resultobj
= wxPyMake_wxObject(result
, 0);
30471 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30472 PyObject
*resultobj
;
30473 wxMenu
*arg1
= (wxMenu
*) 0 ;
30474 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30475 wxMenuItem
*result
;
30476 PyObject
* obj0
= 0 ;
30477 PyObject
* obj1
= 0 ;
30478 char *kwnames
[] = {
30479 (char *) "self",(char *) "item", NULL
30482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30491 wxPyEndAllowThreads(__tstate
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= wxPyMake_wxObject(result
, 0);
30503 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30504 PyObject
*resultobj
;
30505 wxMenu
*arg1
= (wxMenu
*) 0 ;
30508 PyObject
* obj0
= 0 ;
30509 PyObject
* obj1
= 0 ;
30510 char *kwnames
[] = {
30511 (char *) "self",(char *) "id", NULL
30514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30517 arg2
= (int)SWIG_As_int(obj1
);
30518 if (PyErr_Occurred()) SWIG_fail
;
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 result
= (bool)(arg1
)->Delete(arg2
);
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30535 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
;
30537 wxMenu
*arg1
= (wxMenu
*) 0 ;
30538 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30540 PyObject
* obj0
= 0 ;
30541 PyObject
* obj1
= 0 ;
30542 char *kwnames
[] = {
30543 (char *) "self",(char *) "item", NULL
30546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 result
= (bool)(arg1
)->Delete(arg2
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30567 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30568 PyObject
*resultobj
;
30569 wxMenu
*arg1
= (wxMenu
*) 0 ;
30570 PyObject
* obj0
= 0 ;
30571 char *kwnames
[] = {
30572 (char *) "self", NULL
30575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30580 wxMenu_Destroy(arg1
);
30582 wxPyEndAllowThreads(__tstate
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30585 Py_INCREF(Py_None
); resultobj
= Py_None
;
30592 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
;
30594 wxMenu
*arg1
= (wxMenu
*) 0 ;
30597 PyObject
* obj0
= 0 ;
30598 PyObject
* obj1
= 0 ;
30599 char *kwnames
[] = {
30600 (char *) "self",(char *) "id", NULL
30603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30606 arg2
= (int)SWIG_As_int(obj1
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30610 result
= (bool)(arg1
)->Destroy(arg2
);
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30624 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30625 PyObject
*resultobj
;
30626 wxMenu
*arg1
= (wxMenu
*) 0 ;
30627 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30629 PyObject
* obj0
= 0 ;
30630 PyObject
* obj1
= 0 ;
30631 char *kwnames
[] = {
30632 (char *) "self",(char *) "item", NULL
30635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30642 result
= (bool)(arg1
)->Destroy(arg2
);
30644 wxPyEndAllowThreads(__tstate
);
30645 if (PyErr_Occurred()) SWIG_fail
;
30648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30656 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30657 PyObject
*resultobj
;
30658 wxMenu
*arg1
= (wxMenu
*) 0 ;
30660 PyObject
* obj0
= 0 ;
30661 char *kwnames
[] = {
30662 (char *) "self", NULL
30665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30672 wxPyEndAllowThreads(__tstate
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30682 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30683 PyObject
*resultobj
;
30684 wxMenu
*arg1
= (wxMenu
*) 0 ;
30686 PyObject
* obj0
= 0 ;
30687 char *kwnames
[] = {
30688 (char *) "self", NULL
30691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30696 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30701 resultobj
= result
;
30708 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30709 PyObject
*resultobj
;
30710 wxMenu
*arg1
= (wxMenu
*) 0 ;
30711 wxString
*arg2
= 0 ;
30713 bool temp2
= false ;
30714 PyObject
* obj0
= 0 ;
30715 PyObject
* obj1
= 0 ;
30716 char *kwnames
[] = {
30717 (char *) "self",(char *) "item", NULL
30720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30724 arg2
= wxString_in_helper(obj1
);
30725 if (arg2
== NULL
) SWIG_fail
;
30729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30730 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30732 wxPyEndAllowThreads(__tstate
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= SWIG_From_int((int)result
);
30750 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
;
30752 wxMenu
*arg1
= (wxMenu
*) 0 ;
30754 wxMenuItem
*result
;
30755 PyObject
* obj0
= 0 ;
30756 PyObject
* obj1
= 0 ;
30757 char *kwnames
[] = {
30758 (char *) "self",(char *) "id", NULL
30761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30764 arg2
= (int)SWIG_As_int(obj1
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30768 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30770 wxPyEndAllowThreads(__tstate
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= wxPyMake_wxObject(result
, 0);
30782 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
;
30784 wxMenu
*arg1
= (wxMenu
*) 0 ;
30786 wxMenuItem
*result
;
30787 PyObject
* obj0
= 0 ;
30788 PyObject
* obj1
= 0 ;
30789 char *kwnames
[] = {
30790 (char *) "self",(char *) "position", NULL
30793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30796 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30797 if (PyErr_Occurred()) SWIG_fail
;
30799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30800 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30802 wxPyEndAllowThreads(__tstate
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30806 resultobj
= wxPyMake_wxObject(result
, 0);
30814 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30815 PyObject
*resultobj
;
30816 wxMenu
*arg1
= (wxMenu
*) 0 ;
30819 PyObject
* obj0
= 0 ;
30820 PyObject
* obj1
= 0 ;
30821 PyObject
* obj2
= 0 ;
30822 char *kwnames
[] = {
30823 (char *) "self",(char *) "id",(char *) "enable", NULL
30826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30829 arg2
= (int)SWIG_As_int(obj1
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30831 arg3
= (bool)SWIG_As_bool(obj2
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30835 (arg1
)->Enable(arg2
,arg3
);
30837 wxPyEndAllowThreads(__tstate
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30840 Py_INCREF(Py_None
); resultobj
= Py_None
;
30847 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30848 PyObject
*resultobj
;
30849 wxMenu
*arg1
= (wxMenu
*) 0 ;
30852 PyObject
* obj0
= 0 ;
30853 PyObject
* obj1
= 0 ;
30854 char *kwnames
[] = {
30855 (char *) "self",(char *) "id", NULL
30858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30861 arg2
= (int)SWIG_As_int(obj1
);
30862 if (PyErr_Occurred()) SWIG_fail
;
30864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30867 wxPyEndAllowThreads(__tstate
);
30868 if (PyErr_Occurred()) SWIG_fail
;
30871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30879 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
;
30881 wxMenu
*arg1
= (wxMenu
*) 0 ;
30884 PyObject
* obj0
= 0 ;
30885 PyObject
* obj1
= 0 ;
30886 PyObject
* obj2
= 0 ;
30887 char *kwnames
[] = {
30888 (char *) "self",(char *) "id",(char *) "check", NULL
30891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30894 arg2
= (int)SWIG_As_int(obj1
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30896 arg3
= (bool)SWIG_As_bool(obj2
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 (arg1
)->Check(arg2
,arg3
);
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 Py_INCREF(Py_None
); resultobj
= Py_None
;
30912 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30913 PyObject
*resultobj
;
30914 wxMenu
*arg1
= (wxMenu
*) 0 ;
30917 PyObject
* obj0
= 0 ;
30918 PyObject
* obj1
= 0 ;
30919 char *kwnames
[] = {
30920 (char *) "self",(char *) "id", NULL
30923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30926 arg2
= (int)SWIG_As_int(obj1
);
30927 if (PyErr_Occurred()) SWIG_fail
;
30929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30930 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30944 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30945 PyObject
*resultobj
;
30946 wxMenu
*arg1
= (wxMenu
*) 0 ;
30948 wxString
*arg3
= 0 ;
30949 bool temp3
= false ;
30950 PyObject
* obj0
= 0 ;
30951 PyObject
* obj1
= 0 ;
30952 PyObject
* obj2
= 0 ;
30953 char *kwnames
[] = {
30954 (char *) "self",(char *) "id",(char *) "label", NULL
30957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30960 arg2
= (int)SWIG_As_int(obj1
);
30961 if (PyErr_Occurred()) SWIG_fail
;
30963 arg3
= wxString_in_helper(obj2
);
30964 if (arg3
== NULL
) SWIG_fail
;
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30969 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30974 Py_INCREF(Py_None
); resultobj
= Py_None
;
30989 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
;
30991 wxMenu
*arg1
= (wxMenu
*) 0 ;
30994 PyObject
* obj0
= 0 ;
30995 PyObject
* obj1
= 0 ;
30996 char *kwnames
[] = {
30997 (char *) "self",(char *) "id", NULL
31000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31003 arg2
= (int)SWIG_As_int(obj1
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31025 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31026 PyObject
*resultobj
;
31027 wxMenu
*arg1
= (wxMenu
*) 0 ;
31029 wxString
*arg3
= 0 ;
31030 bool temp3
= false ;
31031 PyObject
* obj0
= 0 ;
31032 PyObject
* obj1
= 0 ;
31033 PyObject
* obj2
= 0 ;
31034 char *kwnames
[] = {
31035 (char *) "self",(char *) "id",(char *) "helpString", NULL
31038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31041 arg2
= (int)SWIG_As_int(obj1
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31044 arg3
= wxString_in_helper(obj2
);
31045 if (arg3
== NULL
) SWIG_fail
;
31049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31050 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31052 wxPyEndAllowThreads(__tstate
);
31053 if (PyErr_Occurred()) SWIG_fail
;
31055 Py_INCREF(Py_None
); resultobj
= Py_None
;
31070 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31071 PyObject
*resultobj
;
31072 wxMenu
*arg1
= (wxMenu
*) 0 ;
31075 PyObject
* obj0
= 0 ;
31076 PyObject
* obj1
= 0 ;
31077 char *kwnames
[] = {
31078 (char *) "self",(char *) "id", NULL
31081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31084 arg2
= (int)SWIG_As_int(obj1
);
31085 if (PyErr_Occurred()) SWIG_fail
;
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31106 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31107 PyObject
*resultobj
;
31108 wxMenu
*arg1
= (wxMenu
*) 0 ;
31109 wxString
*arg2
= 0 ;
31110 bool temp2
= false ;
31111 PyObject
* obj0
= 0 ;
31112 PyObject
* obj1
= 0 ;
31113 char *kwnames
[] = {
31114 (char *) "self",(char *) "title", NULL
31117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31121 arg2
= wxString_in_helper(obj1
);
31122 if (arg2
== NULL
) SWIG_fail
;
31126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 (arg1
)->SetTitle((wxString
const &)*arg2
);
31129 wxPyEndAllowThreads(__tstate
);
31130 if (PyErr_Occurred()) SWIG_fail
;
31132 Py_INCREF(Py_None
); resultobj
= Py_None
;
31147 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
;
31149 wxMenu
*arg1
= (wxMenu
*) 0 ;
31151 PyObject
* obj0
= 0 ;
31152 char *kwnames
[] = {
31153 (char *) "self", NULL
31156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 result
= ((wxMenu
const *)arg1
)->GetTitle();
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31179 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31180 PyObject
*resultobj
;
31181 wxMenu
*arg1
= (wxMenu
*) 0 ;
31182 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31183 PyObject
* obj0
= 0 ;
31184 PyObject
* obj1
= 0 ;
31185 char *kwnames
[] = {
31186 (char *) "self",(char *) "handler", NULL
31189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31196 (arg1
)->SetEventHandler(arg2
);
31198 wxPyEndAllowThreads(__tstate
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31201 Py_INCREF(Py_None
); resultobj
= Py_None
;
31208 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
;
31210 wxMenu
*arg1
= (wxMenu
*) 0 ;
31211 wxEvtHandler
*result
;
31212 PyObject
* obj0
= 0 ;
31213 char *kwnames
[] = {
31214 (char *) "self", NULL
31217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31228 resultobj
= wxPyMake_wxObject(result
, 0);
31236 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31237 PyObject
*resultobj
;
31238 wxMenu
*arg1
= (wxMenu
*) 0 ;
31239 wxWindow
*arg2
= (wxWindow
*) 0 ;
31240 PyObject
* obj0
= 0 ;
31241 PyObject
* obj1
= 0 ;
31242 char *kwnames
[] = {
31243 (char *) "self",(char *) "win", NULL
31246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31253 (arg1
)->SetInvokingWindow(arg2
);
31255 wxPyEndAllowThreads(__tstate
);
31256 if (PyErr_Occurred()) SWIG_fail
;
31258 Py_INCREF(Py_None
); resultobj
= Py_None
;
31265 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31266 PyObject
*resultobj
;
31267 wxMenu
*arg1
= (wxMenu
*) 0 ;
31269 PyObject
* obj0
= 0 ;
31270 char *kwnames
[] = {
31271 (char *) "self", NULL
31274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31279 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31281 wxPyEndAllowThreads(__tstate
);
31282 if (PyErr_Occurred()) SWIG_fail
;
31285 resultobj
= wxPyMake_wxObject(result
, 0);
31293 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31294 PyObject
*resultobj
;
31295 wxMenu
*arg1
= (wxMenu
*) 0 ;
31297 PyObject
* obj0
= 0 ;
31298 char *kwnames
[] = {
31299 (char *) "self", NULL
31302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31307 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31309 wxPyEndAllowThreads(__tstate
);
31310 if (PyErr_Occurred()) SWIG_fail
;
31312 resultobj
= SWIG_From_long((long)result
);
31319 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31320 PyObject
*resultobj
;
31321 wxMenu
*arg1
= (wxMenu
*) 0 ;
31322 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31323 PyObject
* obj0
= 0 ;
31324 PyObject
* obj1
= 0 ;
31325 char *kwnames
[] = {
31326 (char *) "self",(char *) "source", NULL
31329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 (arg1
)->UpdateUI(arg2
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 Py_INCREF(Py_None
); resultobj
= Py_None
;
31350 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
;
31352 wxMenu
*arg1
= (wxMenu
*) 0 ;
31354 PyObject
* obj0
= 0 ;
31355 char *kwnames
[] = {
31356 (char *) "self", NULL
31359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31364 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= wxPyMake_wxObject(result
, 0);
31378 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
;
31380 wxMenu
*arg1
= (wxMenu
*) 0 ;
31381 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31382 PyObject
* obj0
= 0 ;
31383 PyObject
* obj1
= 0 ;
31384 char *kwnames
[] = {
31385 (char *) "self",(char *) "menubar", NULL
31388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 (arg1
)->Attach(arg2
);
31397 wxPyEndAllowThreads(__tstate
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31400 Py_INCREF(Py_None
); resultobj
= Py_None
;
31407 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31408 PyObject
*resultobj
;
31409 wxMenu
*arg1
= (wxMenu
*) 0 ;
31410 PyObject
* obj0
= 0 ;
31411 char *kwnames
[] = {
31412 (char *) "self", NULL
31415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31422 wxPyEndAllowThreads(__tstate
);
31423 if (PyErr_Occurred()) SWIG_fail
;
31425 Py_INCREF(Py_None
); resultobj
= Py_None
;
31432 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31433 PyObject
*resultobj
;
31434 wxMenu
*arg1
= (wxMenu
*) 0 ;
31436 PyObject
* obj0
= 0 ;
31437 char *kwnames
[] = {
31438 (char *) "self", NULL
31441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31446 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31448 wxPyEndAllowThreads(__tstate
);
31449 if (PyErr_Occurred()) SWIG_fail
;
31452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31460 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31461 PyObject
*resultobj
;
31462 wxMenu
*arg1
= (wxMenu
*) 0 ;
31463 wxMenu
*arg2
= (wxMenu
*) 0 ;
31464 PyObject
* obj0
= 0 ;
31465 PyObject
* obj1
= 0 ;
31466 char *kwnames
[] = {
31467 (char *) "self",(char *) "parent", NULL
31470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 (arg1
)->SetParent(arg2
);
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31482 Py_INCREF(Py_None
); resultobj
= Py_None
;
31489 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31490 PyObject
*resultobj
;
31491 wxMenu
*arg1
= (wxMenu
*) 0 ;
31493 PyObject
* obj0
= 0 ;
31494 char *kwnames
[] = {
31495 (char *) "self", NULL
31498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31503 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31505 wxPyEndAllowThreads(__tstate
);
31506 if (PyErr_Occurred()) SWIG_fail
;
31509 resultobj
= wxPyMake_wxObject(result
, 0);
31517 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31520 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31522 return Py_BuildValue((char *)"");
31524 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31525 PyObject
*resultobj
;
31526 long arg1
= (long) 0 ;
31528 PyObject
* obj0
= 0 ;
31529 char *kwnames
[] = {
31530 (char *) "style", NULL
31533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31535 arg1
= (long)SWIG_As_long(obj0
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31539 if (!wxPyCheckForApp()) SWIG_fail
;
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31553 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
;
31555 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31556 wxMenu
*arg2
= (wxMenu
*) 0 ;
31557 wxString
*arg3
= 0 ;
31559 bool temp3
= false ;
31560 PyObject
* obj0
= 0 ;
31561 PyObject
* obj1
= 0 ;
31562 PyObject
* obj2
= 0 ;
31563 char *kwnames
[] = {
31564 (char *) "self",(char *) "menu",(char *) "title", NULL
31567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31573 arg3
= wxString_in_helper(obj2
);
31574 if (arg3
== NULL
) SWIG_fail
;
31578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31579 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31581 wxPyEndAllowThreads(__tstate
);
31582 if (PyErr_Occurred()) SWIG_fail
;
31585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31601 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31602 PyObject
*resultobj
;
31603 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31605 wxMenu
*arg3
= (wxMenu
*) 0 ;
31606 wxString
*arg4
= 0 ;
31608 bool temp4
= false ;
31609 PyObject
* obj0
= 0 ;
31610 PyObject
* obj1
= 0 ;
31611 PyObject
* obj2
= 0 ;
31612 PyObject
* obj3
= 0 ;
31613 char *kwnames
[] = {
31614 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31620 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31622 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31625 arg4
= wxString_in_helper(obj3
);
31626 if (arg4
== NULL
) SWIG_fail
;
31630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31631 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31653 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31654 PyObject
*resultobj
;
31655 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31657 PyObject
* obj0
= 0 ;
31658 char *kwnames
[] = {
31659 (char *) "self", NULL
31662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31667 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31672 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31679 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
;
31681 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31684 PyObject
* obj0
= 0 ;
31685 PyObject
* obj1
= 0 ;
31686 char *kwnames
[] = {
31687 (char *) "self",(char *) "pos", NULL
31690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31693 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31697 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31699 wxPyEndAllowThreads(__tstate
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31703 resultobj
= wxPyMake_wxObject(result
, 0);
31711 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31712 PyObject
*resultobj
;
31713 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31715 wxMenu
*arg3
= (wxMenu
*) 0 ;
31716 wxString
*arg4
= 0 ;
31718 bool temp4
= false ;
31719 PyObject
* obj0
= 0 ;
31720 PyObject
* obj1
= 0 ;
31721 PyObject
* obj2
= 0 ;
31722 PyObject
* obj3
= 0 ;
31723 char *kwnames
[] = {
31724 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31730 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31732 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31735 arg4
= wxString_in_helper(obj3
);
31736 if (arg4
== NULL
) SWIG_fail
;
31740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31741 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31743 wxPyEndAllowThreads(__tstate
);
31744 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= wxPyMake_wxObject(result
, 0);
31763 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31764 PyObject
*resultobj
;
31765 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31768 PyObject
* obj0
= 0 ;
31769 PyObject
* obj1
= 0 ;
31770 char *kwnames
[] = {
31771 (char *) "self",(char *) "pos", NULL
31774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31777 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31778 if (PyErr_Occurred()) SWIG_fail
;
31780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31781 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31783 wxPyEndAllowThreads(__tstate
);
31784 if (PyErr_Occurred()) SWIG_fail
;
31787 resultobj
= wxPyMake_wxObject(result
, 0);
31795 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31796 PyObject
*resultobj
;
31797 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31800 PyObject
* obj0
= 0 ;
31801 PyObject
* obj1
= 0 ;
31802 PyObject
* obj2
= 0 ;
31803 char *kwnames
[] = {
31804 (char *) "self",(char *) "pos",(char *) "enable", NULL
31807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31810 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31812 arg3
= (bool)SWIG_As_bool(obj2
);
31813 if (PyErr_Occurred()) SWIG_fail
;
31815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31816 (arg1
)->EnableTop(arg2
,arg3
);
31818 wxPyEndAllowThreads(__tstate
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31821 Py_INCREF(Py_None
); resultobj
= Py_None
;
31828 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
;
31830 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31833 PyObject
* obj0
= 0 ;
31834 PyObject
* obj1
= 0 ;
31835 char *kwnames
[] = {
31836 (char *) "self",(char *) "pos", NULL
31839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31842 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31846 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31848 wxPyEndAllowThreads(__tstate
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31860 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31861 PyObject
*resultobj
;
31862 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31864 wxString
*arg3
= 0 ;
31865 bool temp3
= false ;
31866 PyObject
* obj0
= 0 ;
31867 PyObject
* obj1
= 0 ;
31868 PyObject
* obj2
= 0 ;
31869 char *kwnames
[] = {
31870 (char *) "self",(char *) "pos",(char *) "label", NULL
31873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31876 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 arg3
= wxString_in_helper(obj2
);
31880 if (arg3
== NULL
) SWIG_fail
;
31884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31885 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31887 wxPyEndAllowThreads(__tstate
);
31888 if (PyErr_Occurred()) SWIG_fail
;
31890 Py_INCREF(Py_None
); resultobj
= Py_None
;
31905 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31906 PyObject
*resultobj
;
31907 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31910 PyObject
* obj0
= 0 ;
31911 PyObject
* obj1
= 0 ;
31912 char *kwnames
[] = {
31913 (char *) "self",(char *) "pos", NULL
31916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31919 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31920 if (PyErr_Occurred()) SWIG_fail
;
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31925 wxPyEndAllowThreads(__tstate
);
31926 if (PyErr_Occurred()) SWIG_fail
;
31930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31941 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31942 PyObject
*resultobj
;
31943 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31944 wxString
*arg2
= 0 ;
31945 wxString
*arg3
= 0 ;
31947 bool temp2
= false ;
31948 bool temp3
= false ;
31949 PyObject
* obj0
= 0 ;
31950 PyObject
* obj1
= 0 ;
31951 PyObject
* obj2
= 0 ;
31952 char *kwnames
[] = {
31953 (char *) "self",(char *) "menu",(char *) "item", NULL
31956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31960 arg2
= wxString_in_helper(obj1
);
31961 if (arg2
== NULL
) SWIG_fail
;
31965 arg3
= wxString_in_helper(obj2
);
31966 if (arg3
== NULL
) SWIG_fail
;
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31976 resultobj
= SWIG_From_int((int)result
);
31999 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32000 PyObject
*resultobj
;
32001 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32003 wxMenuItem
*result
;
32004 PyObject
* obj0
= 0 ;
32005 PyObject
* obj1
= 0 ;
32006 char *kwnames
[] = {
32007 (char *) "self",(char *) "id", NULL
32010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32013 arg2
= (int)SWIG_As_int(obj1
);
32014 if (PyErr_Occurred()) SWIG_fail
;
32016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32017 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32019 wxPyEndAllowThreads(__tstate
);
32020 if (PyErr_Occurred()) SWIG_fail
;
32023 resultobj
= wxPyMake_wxObject(result
, 0);
32031 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32032 PyObject
*resultobj
;
32033 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32034 wxString
*arg2
= 0 ;
32036 bool temp2
= false ;
32037 PyObject
* obj0
= 0 ;
32038 PyObject
* obj1
= 0 ;
32039 char *kwnames
[] = {
32040 (char *) "self",(char *) "title", NULL
32043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32047 arg2
= wxString_in_helper(obj1
);
32048 if (arg2
== NULL
) SWIG_fail
;
32052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32053 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32055 wxPyEndAllowThreads(__tstate
);
32056 if (PyErr_Occurred()) SWIG_fail
;
32058 resultobj
= SWIG_From_int((int)result
);
32073 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32074 PyObject
*resultobj
;
32075 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32078 PyObject
* obj0
= 0 ;
32079 PyObject
* obj1
= 0 ;
32080 PyObject
* obj2
= 0 ;
32081 char *kwnames
[] = {
32082 (char *) "self",(char *) "id",(char *) "enable", NULL
32085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32088 arg2
= (int)SWIG_As_int(obj1
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32090 arg3
= (bool)SWIG_As_bool(obj2
);
32091 if (PyErr_Occurred()) SWIG_fail
;
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32094 (arg1
)->Enable(arg2
,arg3
);
32096 wxPyEndAllowThreads(__tstate
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32099 Py_INCREF(Py_None
); resultobj
= Py_None
;
32106 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32107 PyObject
*resultobj
;
32108 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32111 PyObject
* obj0
= 0 ;
32112 PyObject
* obj1
= 0 ;
32113 PyObject
* obj2
= 0 ;
32114 char *kwnames
[] = {
32115 (char *) "self",(char *) "id",(char *) "check", NULL
32118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32121 arg2
= (int)SWIG_As_int(obj1
);
32122 if (PyErr_Occurred()) SWIG_fail
;
32123 arg3
= (bool)SWIG_As_bool(obj2
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32127 (arg1
)->Check(arg2
,arg3
);
32129 wxPyEndAllowThreads(__tstate
);
32130 if (PyErr_Occurred()) SWIG_fail
;
32132 Py_INCREF(Py_None
); resultobj
= Py_None
;
32139 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32140 PyObject
*resultobj
;
32141 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32144 PyObject
* obj0
= 0 ;
32145 PyObject
* obj1
= 0 ;
32146 char *kwnames
[] = {
32147 (char *) "self",(char *) "id", NULL
32150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32153 arg2
= (int)SWIG_As_int(obj1
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32171 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32172 PyObject
*resultobj
;
32173 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32176 PyObject
* obj0
= 0 ;
32177 PyObject
* obj1
= 0 ;
32178 char *kwnames
[] = {
32179 (char *) "self",(char *) "id", NULL
32182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32185 arg2
= (int)SWIG_As_int(obj1
);
32186 if (PyErr_Occurred()) SWIG_fail
;
32188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32189 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32191 wxPyEndAllowThreads(__tstate
);
32192 if (PyErr_Occurred()) SWIG_fail
;
32195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32203 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32204 PyObject
*resultobj
;
32205 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32207 wxString
*arg3
= 0 ;
32208 bool temp3
= false ;
32209 PyObject
* obj0
= 0 ;
32210 PyObject
* obj1
= 0 ;
32211 PyObject
* obj2
= 0 ;
32212 char *kwnames
[] = {
32213 (char *) "self",(char *) "id",(char *) "label", NULL
32216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32219 arg2
= (int)SWIG_As_int(obj1
);
32220 if (PyErr_Occurred()) SWIG_fail
;
32222 arg3
= wxString_in_helper(obj2
);
32223 if (arg3
== NULL
) SWIG_fail
;
32227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32228 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32230 wxPyEndAllowThreads(__tstate
);
32231 if (PyErr_Occurred()) SWIG_fail
;
32233 Py_INCREF(Py_None
); resultobj
= Py_None
;
32248 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32249 PyObject
*resultobj
;
32250 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32253 PyObject
* obj0
= 0 ;
32254 PyObject
* obj1
= 0 ;
32255 char *kwnames
[] = {
32256 (char *) "self",(char *) "id", NULL
32259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32262 arg2
= (int)SWIG_As_int(obj1
);
32263 if (PyErr_Occurred()) SWIG_fail
;
32265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32266 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32268 wxPyEndAllowThreads(__tstate
);
32269 if (PyErr_Occurred()) SWIG_fail
;
32273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32284 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32285 PyObject
*resultobj
;
32286 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32288 wxString
*arg3
= 0 ;
32289 bool temp3
= false ;
32290 PyObject
* obj0
= 0 ;
32291 PyObject
* obj1
= 0 ;
32292 PyObject
* obj2
= 0 ;
32293 char *kwnames
[] = {
32294 (char *) "self",(char *) "id",(char *) "helpString", NULL
32297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32300 arg2
= (int)SWIG_As_int(obj1
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32303 arg3
= wxString_in_helper(obj2
);
32304 if (arg3
== NULL
) SWIG_fail
;
32308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32309 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32311 wxPyEndAllowThreads(__tstate
);
32312 if (PyErr_Occurred()) SWIG_fail
;
32314 Py_INCREF(Py_None
); resultobj
= Py_None
;
32329 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32330 PyObject
*resultobj
;
32331 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32334 PyObject
* obj0
= 0 ;
32335 PyObject
* obj1
= 0 ;
32336 char *kwnames
[] = {
32337 (char *) "self",(char *) "id", NULL
32340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32343 arg2
= (int)SWIG_As_int(obj1
);
32344 if (PyErr_Occurred()) SWIG_fail
;
32346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32349 wxPyEndAllowThreads(__tstate
);
32350 if (PyErr_Occurred()) SWIG_fail
;
32354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32365 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32366 PyObject
*resultobj
;
32367 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32369 PyObject
* obj0
= 0 ;
32370 char *kwnames
[] = {
32371 (char *) "self", NULL
32374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32379 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32381 wxPyEndAllowThreads(__tstate
);
32382 if (PyErr_Occurred()) SWIG_fail
;
32385 resultobj
= wxPyMake_wxObject(result
, 0);
32393 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32394 PyObject
*resultobj
;
32395 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32397 PyObject
* obj0
= 0 ;
32398 char *kwnames
[] = {
32399 (char *) "self", NULL
32402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32407 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32409 wxPyEndAllowThreads(__tstate
);
32410 if (PyErr_Occurred()) SWIG_fail
;
32413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32421 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32422 PyObject
*resultobj
;
32423 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32424 wxFrame
*arg2
= (wxFrame
*) 0 ;
32425 PyObject
* obj0
= 0 ;
32426 PyObject
* obj1
= 0 ;
32427 char *kwnames
[] = {
32428 (char *) "self",(char *) "frame", NULL
32431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32438 (arg1
)->Attach(arg2
);
32440 wxPyEndAllowThreads(__tstate
);
32441 if (PyErr_Occurred()) SWIG_fail
;
32443 Py_INCREF(Py_None
); resultobj
= Py_None
;
32450 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32451 PyObject
*resultobj
;
32452 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32453 PyObject
* obj0
= 0 ;
32454 char *kwnames
[] = {
32455 (char *) "self", NULL
32458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32465 wxPyEndAllowThreads(__tstate
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32468 Py_INCREF(Py_None
); resultobj
= Py_None
;
32475 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32478 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32480 return Py_BuildValue((char *)"");
32482 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32483 PyObject
*resultobj
;
32484 wxMenu
*arg1
= (wxMenu
*) NULL
;
32485 int arg2
= (int) wxID_ANY
;
32486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32488 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32489 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32490 int arg5
= (int) wxITEM_NORMAL
;
32491 wxMenu
*arg6
= (wxMenu
*) NULL
;
32492 wxMenuItem
*result
;
32493 bool temp3
= false ;
32494 bool temp4
= false ;
32495 PyObject
* obj0
= 0 ;
32496 PyObject
* obj1
= 0 ;
32497 PyObject
* obj2
= 0 ;
32498 PyObject
* obj3
= 0 ;
32499 PyObject
* obj4
= 0 ;
32500 PyObject
* obj5
= 0 ;
32501 char *kwnames
[] = {
32502 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32511 arg2
= (int)SWIG_As_int(obj1
);
32512 if (PyErr_Occurred()) SWIG_fail
;
32516 arg3
= wxString_in_helper(obj2
);
32517 if (arg3
== NULL
) SWIG_fail
;
32523 arg4
= wxString_in_helper(obj3
);
32524 if (arg4
== NULL
) SWIG_fail
;
32529 arg5
= (int)SWIG_As_int(obj4
);
32530 if (PyErr_Occurred()) SWIG_fail
;
32533 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32538 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32540 wxPyEndAllowThreads(__tstate
);
32541 if (PyErr_Occurred()) SWIG_fail
;
32544 resultobj
= wxPyMake_wxObject(result
, 1);
32568 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32569 PyObject
*resultobj
;
32570 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32572 PyObject
* obj0
= 0 ;
32573 char *kwnames
[] = {
32574 (char *) "self", NULL
32577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32584 wxPyEndAllowThreads(__tstate
);
32585 if (PyErr_Occurred()) SWIG_fail
;
32588 resultobj
= wxPyMake_wxObject(result
, 0);
32596 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32597 PyObject
*resultobj
;
32598 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32599 wxMenu
*arg2
= (wxMenu
*) 0 ;
32600 PyObject
* obj0
= 0 ;
32601 PyObject
* obj1
= 0 ;
32602 char *kwnames
[] = {
32603 (char *) "self",(char *) "menu", NULL
32606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32613 (arg1
)->SetMenu(arg2
);
32615 wxPyEndAllowThreads(__tstate
);
32616 if (PyErr_Occurred()) SWIG_fail
;
32618 Py_INCREF(Py_None
); resultobj
= Py_None
;
32625 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32626 PyObject
*resultobj
;
32627 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32629 PyObject
* obj0
= 0 ;
32630 PyObject
* obj1
= 0 ;
32631 char *kwnames
[] = {
32632 (char *) "self",(char *) "id", NULL
32635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32638 arg2
= (int)SWIG_As_int(obj1
);
32639 if (PyErr_Occurred()) SWIG_fail
;
32641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32642 (arg1
)->SetId(arg2
);
32644 wxPyEndAllowThreads(__tstate
);
32645 if (PyErr_Occurred()) SWIG_fail
;
32647 Py_INCREF(Py_None
); resultobj
= Py_None
;
32654 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32655 PyObject
*resultobj
;
32656 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32658 PyObject
* obj0
= 0 ;
32659 char *kwnames
[] = {
32660 (char *) "self", NULL
32663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32668 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32670 wxPyEndAllowThreads(__tstate
);
32671 if (PyErr_Occurred()) SWIG_fail
;
32673 resultobj
= SWIG_From_int((int)result
);
32680 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32681 PyObject
*resultobj
;
32682 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32684 PyObject
* obj0
= 0 ;
32685 char *kwnames
[] = {
32686 (char *) "self", NULL
32689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32694 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32696 wxPyEndAllowThreads(__tstate
);
32697 if (PyErr_Occurred()) SWIG_fail
;
32700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32708 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32709 PyObject
*resultobj
;
32710 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32711 wxString
*arg2
= 0 ;
32712 bool temp2
= false ;
32713 PyObject
* obj0
= 0 ;
32714 PyObject
* obj1
= 0 ;
32715 char *kwnames
[] = {
32716 (char *) "self",(char *) "str", NULL
32719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32723 arg2
= wxString_in_helper(obj1
);
32724 if (arg2
== NULL
) SWIG_fail
;
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 (arg1
)->SetText((wxString
const &)*arg2
);
32731 wxPyEndAllowThreads(__tstate
);
32732 if (PyErr_Occurred()) SWIG_fail
;
32734 Py_INCREF(Py_None
); resultobj
= Py_None
;
32749 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32750 PyObject
*resultobj
;
32751 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32753 PyObject
* obj0
= 0 ;
32754 char *kwnames
[] = {
32755 (char *) "self", NULL
32758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32765 wxPyEndAllowThreads(__tstate
);
32766 if (PyErr_Occurred()) SWIG_fail
;
32770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32781 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32782 PyObject
*resultobj
;
32783 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32785 PyObject
* obj0
= 0 ;
32786 char *kwnames
[] = {
32787 (char *) "self", NULL
32790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32796 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32797 result
= (wxString
*) &_result_ref
;
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32805 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32807 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32816 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
;
32818 wxString
*arg1
= 0 ;
32820 bool temp1
= false ;
32821 PyObject
* obj0
= 0 ;
32822 char *kwnames
[] = {
32823 (char *) "text", NULL
32826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32828 arg1
= wxString_in_helper(obj0
);
32829 if (arg1
== NULL
) SWIG_fail
;
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32860 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32861 PyObject
*resultobj
;
32862 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32864 PyObject
* obj0
= 0 ;
32865 char *kwnames
[] = {
32866 (char *) "self", NULL
32869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32874 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32876 wxPyEndAllowThreads(__tstate
);
32877 if (PyErr_Occurred()) SWIG_fail
;
32879 resultobj
= SWIG_From_int((int)result
);
32886 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32887 PyObject
*resultobj
;
32888 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32890 PyObject
* obj0
= 0 ;
32891 PyObject
* obj1
= 0 ;
32892 char *kwnames
[] = {
32893 (char *) "self",(char *) "kind", NULL
32896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32899 arg2
= (int)SWIG_As_int(obj1
);
32900 if (PyErr_Occurred()) SWIG_fail
;
32902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32903 (arg1
)->SetKind((wxItemKind
)arg2
);
32905 wxPyEndAllowThreads(__tstate
);
32906 if (PyErr_Occurred()) SWIG_fail
;
32908 Py_INCREF(Py_None
); resultobj
= Py_None
;
32915 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32916 PyObject
*resultobj
;
32917 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32919 PyObject
* obj0
= 0 ;
32920 PyObject
* obj1
= 0 ;
32921 char *kwnames
[] = {
32922 (char *) "self",(char *) "checkable", NULL
32925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32928 arg2
= (bool)SWIG_As_bool(obj1
);
32929 if (PyErr_Occurred()) SWIG_fail
;
32931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32932 (arg1
)->SetCheckable(arg2
);
32934 wxPyEndAllowThreads(__tstate
);
32935 if (PyErr_Occurred()) SWIG_fail
;
32937 Py_INCREF(Py_None
); resultobj
= Py_None
;
32944 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32945 PyObject
*resultobj
;
32946 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32948 PyObject
* obj0
= 0 ;
32949 char *kwnames
[] = {
32950 (char *) "self", NULL
32953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32960 wxPyEndAllowThreads(__tstate
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32972 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32973 PyObject
*resultobj
;
32974 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32976 PyObject
* obj0
= 0 ;
32977 char *kwnames
[] = {
32978 (char *) "self", NULL
32981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32988 wxPyEndAllowThreads(__tstate
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33000 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33001 PyObject
*resultobj
;
33002 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33003 wxMenu
*arg2
= (wxMenu
*) 0 ;
33004 PyObject
* obj0
= 0 ;
33005 PyObject
* obj1
= 0 ;
33006 char *kwnames
[] = {
33007 (char *) "self",(char *) "menu", NULL
33010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33017 (arg1
)->SetSubMenu(arg2
);
33019 wxPyEndAllowThreads(__tstate
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33022 Py_INCREF(Py_None
); resultobj
= Py_None
;
33029 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33030 PyObject
*resultobj
;
33031 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33033 PyObject
* obj0
= 0 ;
33034 char *kwnames
[] = {
33035 (char *) "self", NULL
33038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33043 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33045 wxPyEndAllowThreads(__tstate
);
33046 if (PyErr_Occurred()) SWIG_fail
;
33049 resultobj
= wxPyMake_wxObject(result
, 0);
33057 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33058 PyObject
*resultobj
;
33059 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33060 bool arg2
= (bool) true ;
33061 PyObject
* obj0
= 0 ;
33062 PyObject
* obj1
= 0 ;
33063 char *kwnames
[] = {
33064 (char *) "self",(char *) "enable", NULL
33067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33071 arg2
= (bool)SWIG_As_bool(obj1
);
33072 if (PyErr_Occurred()) SWIG_fail
;
33075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33076 (arg1
)->Enable(arg2
);
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33081 Py_INCREF(Py_None
); resultobj
= Py_None
;
33088 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33089 PyObject
*resultobj
;
33090 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33092 PyObject
* obj0
= 0 ;
33093 char *kwnames
[] = {
33094 (char *) "self", NULL
33097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33102 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33104 wxPyEndAllowThreads(__tstate
);
33105 if (PyErr_Occurred()) SWIG_fail
;
33108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33116 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33117 PyObject
*resultobj
;
33118 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33119 bool arg2
= (bool) true ;
33120 PyObject
* obj0
= 0 ;
33121 PyObject
* obj1
= 0 ;
33122 char *kwnames
[] = {
33123 (char *) "self",(char *) "check", NULL
33126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33130 arg2
= (bool)SWIG_As_bool(obj1
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33135 (arg1
)->Check(arg2
);
33137 wxPyEndAllowThreads(__tstate
);
33138 if (PyErr_Occurred()) SWIG_fail
;
33140 Py_INCREF(Py_None
); resultobj
= Py_None
;
33147 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33148 PyObject
*resultobj
;
33149 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33151 PyObject
* obj0
= 0 ;
33152 char *kwnames
[] = {
33153 (char *) "self", NULL
33156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33161 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33175 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33176 PyObject
*resultobj
;
33177 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33178 PyObject
* obj0
= 0 ;
33179 char *kwnames
[] = {
33180 (char *) "self", NULL
33183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 Py_INCREF(Py_None
); resultobj
= Py_None
;
33200 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33201 PyObject
*resultobj
;
33202 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33203 wxString
*arg2
= 0 ;
33204 bool temp2
= false ;
33205 PyObject
* obj0
= 0 ;
33206 PyObject
* obj1
= 0 ;
33207 char *kwnames
[] = {
33208 (char *) "self",(char *) "str", NULL
33211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33215 arg2
= wxString_in_helper(obj1
);
33216 if (arg2
== NULL
) SWIG_fail
;
33220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33221 (arg1
)->SetHelp((wxString
const &)*arg2
);
33223 wxPyEndAllowThreads(__tstate
);
33224 if (PyErr_Occurred()) SWIG_fail
;
33226 Py_INCREF(Py_None
); resultobj
= Py_None
;
33241 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33242 PyObject
*resultobj
;
33243 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33245 PyObject
* obj0
= 0 ;
33246 char *kwnames
[] = {
33247 (char *) "self", NULL
33250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33256 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33257 result
= (wxString
*) &_result_ref
;
33260 wxPyEndAllowThreads(__tstate
);
33261 if (PyErr_Occurred()) SWIG_fail
;
33265 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33267 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33276 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33277 PyObject
*resultobj
;
33278 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33279 wxAcceleratorEntry
*result
;
33280 PyObject
* obj0
= 0 ;
33281 char *kwnames
[] = {
33282 (char *) "self", NULL
33285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33290 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33292 wxPyEndAllowThreads(__tstate
);
33293 if (PyErr_Occurred()) SWIG_fail
;
33295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33302 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33303 PyObject
*resultobj
;
33304 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33305 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33306 PyObject
* obj0
= 0 ;
33307 PyObject
* obj1
= 0 ;
33308 char *kwnames
[] = {
33309 (char *) "self",(char *) "accel", NULL
33312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33319 (arg1
)->SetAccel(arg2
);
33321 wxPyEndAllowThreads(__tstate
);
33322 if (PyErr_Occurred()) SWIG_fail
;
33324 Py_INCREF(Py_None
); resultobj
= Py_None
;
33331 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33332 PyObject
*resultobj
;
33334 char *kwnames
[] = {
33338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33341 result
= (int)MenuItem_GetDefaultMarginWidth();
33343 wxPyEndAllowThreads(__tstate
);
33344 if (PyErr_Occurred()) SWIG_fail
;
33346 resultobj
= SWIG_From_int((int)result
);
33353 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33354 PyObject
*resultobj
;
33355 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33356 wxBitmap
*arg2
= 0 ;
33357 PyObject
* obj0
= 0 ;
33358 PyObject
* obj1
= 0 ;
33359 char *kwnames
[] = {
33360 (char *) "self",(char *) "bitmap", NULL
33363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33369 if (arg2
== NULL
) {
33370 PyErr_SetString(PyExc_TypeError
,"null reference");
33374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33375 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33377 wxPyEndAllowThreads(__tstate
);
33378 if (PyErr_Occurred()) SWIG_fail
;
33380 Py_INCREF(Py_None
); resultobj
= Py_None
;
33387 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33388 PyObject
*resultobj
;
33389 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33391 PyObject
* obj0
= 0 ;
33392 char *kwnames
[] = {
33393 (char *) "self", NULL
33396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33402 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33403 result
= (wxBitmap
*) &_result_ref
;
33406 wxPyEndAllowThreads(__tstate
);
33407 if (PyErr_Occurred()) SWIG_fail
;
33410 wxBitmap
* resultptr
= new wxBitmap(*result
);
33411 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33419 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33422 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33424 return Py_BuildValue((char *)"");
33426 static int _wrap_ControlNameStr_set(PyObject
*) {
33427 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33432 static PyObject
*_wrap_ControlNameStr_get() {
33437 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33439 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33446 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33447 PyObject
*resultobj
;
33448 wxWindow
*arg1
= (wxWindow
*) 0 ;
33449 int arg2
= (int) -1 ;
33450 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33451 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33452 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33453 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33454 long arg5
= (long) 0 ;
33455 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33456 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33457 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33458 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33462 bool temp7
= false ;
33463 PyObject
* obj0
= 0 ;
33464 PyObject
* obj1
= 0 ;
33465 PyObject
* obj2
= 0 ;
33466 PyObject
* obj3
= 0 ;
33467 PyObject
* obj4
= 0 ;
33468 PyObject
* obj5
= 0 ;
33469 PyObject
* obj6
= 0 ;
33470 char *kwnames
[] = {
33471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33478 arg2
= (int)SWIG_As_int(obj1
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33494 arg5
= (long)SWIG_As_long(obj4
);
33495 if (PyErr_Occurred()) SWIG_fail
;
33498 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33501 if (arg6
== NULL
) {
33502 PyErr_SetString(PyExc_TypeError
,"null reference");
33508 arg7
= wxString_in_helper(obj6
);
33509 if (arg7
== NULL
) SWIG_fail
;
33514 if (!wxPyCheckForApp()) SWIG_fail
;
33515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33516 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33518 wxPyEndAllowThreads(__tstate
);
33519 if (PyErr_Occurred()) SWIG_fail
;
33521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33536 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33537 PyObject
*resultobj
;
33539 char *kwnames
[] = {
33543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33545 if (!wxPyCheckForApp()) SWIG_fail
;
33546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33547 result
= (wxControl
*)new wxControl();
33549 wxPyEndAllowThreads(__tstate
);
33550 if (PyErr_Occurred()) SWIG_fail
;
33552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33559 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33560 PyObject
*resultobj
;
33561 wxControl
*arg1
= (wxControl
*) 0 ;
33562 wxWindow
*arg2
= (wxWindow
*) 0 ;
33563 int arg3
= (int) -1 ;
33564 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33565 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33566 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33567 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33568 long arg6
= (long) 0 ;
33569 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33570 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33571 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33572 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33576 bool temp8
= false ;
33577 PyObject
* obj0
= 0 ;
33578 PyObject
* obj1
= 0 ;
33579 PyObject
* obj2
= 0 ;
33580 PyObject
* obj3
= 0 ;
33581 PyObject
* obj4
= 0 ;
33582 PyObject
* obj5
= 0 ;
33583 PyObject
* obj6
= 0 ;
33584 PyObject
* obj7
= 0 ;
33585 char *kwnames
[] = {
33586 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33595 arg3
= (int)SWIG_As_int(obj2
);
33596 if (PyErr_Occurred()) SWIG_fail
;
33601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33611 arg6
= (long)SWIG_As_long(obj5
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33615 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33618 if (arg7
== NULL
) {
33619 PyErr_SetString(PyExc_TypeError
,"null reference");
33625 arg8
= wxString_in_helper(obj7
);
33626 if (arg8
== NULL
) SWIG_fail
;
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33634 wxPyEndAllowThreads(__tstate
);
33635 if (PyErr_Occurred()) SWIG_fail
;
33638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33654 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
;
33656 wxControl
*arg1
= (wxControl
*) 0 ;
33657 wxCommandEvent
*arg2
= 0 ;
33658 PyObject
* obj0
= 0 ;
33659 PyObject
* obj1
= 0 ;
33660 char *kwnames
[] = {
33661 (char *) "self",(char *) "event", NULL
33664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33670 if (arg2
== NULL
) {
33671 PyErr_SetString(PyExc_TypeError
,"null reference");
33675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33676 (arg1
)->Command(*arg2
);
33678 wxPyEndAllowThreads(__tstate
);
33679 if (PyErr_Occurred()) SWIG_fail
;
33681 Py_INCREF(Py_None
); resultobj
= Py_None
;
33688 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33689 PyObject
*resultobj
;
33690 wxControl
*arg1
= (wxControl
*) 0 ;
33692 PyObject
* obj0
= 0 ;
33693 char *kwnames
[] = {
33694 (char *) "self", NULL
33697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33702 result
= (arg1
)->GetLabel();
33704 wxPyEndAllowThreads(__tstate
);
33705 if (PyErr_Occurred()) SWIG_fail
;
33709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33720 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33721 PyObject
*resultobj
;
33722 wxControl
*arg1
= (wxControl
*) 0 ;
33723 wxString
*arg2
= 0 ;
33724 bool temp2
= false ;
33725 PyObject
* obj0
= 0 ;
33726 PyObject
* obj1
= 0 ;
33727 char *kwnames
[] = {
33728 (char *) "self",(char *) "label", NULL
33731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33735 arg2
= wxString_in_helper(obj1
);
33736 if (arg2
== NULL
) SWIG_fail
;
33740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33741 (arg1
)->SetLabel((wxString
const &)*arg2
);
33743 wxPyEndAllowThreads(__tstate
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33746 Py_INCREF(Py_None
); resultobj
= Py_None
;
33761 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33762 PyObject
*resultobj
;
33763 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33764 wxVisualAttributes result
;
33765 PyObject
* obj0
= 0 ;
33766 char *kwnames
[] = {
33767 (char *) "variant", NULL
33770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33772 arg1
= (int)SWIG_As_int(obj0
);
33773 if (PyErr_Occurred()) SWIG_fail
;
33776 if (!wxPyCheckForApp()) SWIG_fail
;
33777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33778 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33780 wxPyEndAllowThreads(__tstate
);
33781 if (PyErr_Occurred()) SWIG_fail
;
33784 wxVisualAttributes
* resultptr
;
33785 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33794 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
33796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33797 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33799 return Py_BuildValue((char *)"");
33801 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33802 PyObject
*resultobj
;
33803 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33804 wxString
*arg2
= 0 ;
33805 PyObject
*arg3
= (PyObject
*) NULL
;
33807 bool temp2
= false ;
33808 PyObject
* obj0
= 0 ;
33809 PyObject
* obj1
= 0 ;
33810 PyObject
* obj2
= 0 ;
33811 char *kwnames
[] = {
33812 (char *) "self",(char *) "item",(char *) "clientData", NULL
33815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33819 arg2
= wxString_in_helper(obj1
);
33820 if (arg2
== NULL
) SWIG_fail
;
33827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33828 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33830 wxPyEndAllowThreads(__tstate
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33833 resultobj
= SWIG_From_int((int)result
);
33848 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33849 PyObject
*resultobj
;
33850 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33851 wxArrayString
*arg2
= 0 ;
33852 bool temp2
= false ;
33853 PyObject
* obj0
= 0 ;
33854 PyObject
* obj1
= 0 ;
33855 char *kwnames
[] = {
33856 (char *) "self",(char *) "strings", NULL
33859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33863 if (! PySequence_Check(obj1
)) {
33864 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33867 arg2
= new wxArrayString
;
33869 int i
, len
=PySequence_Length(obj1
);
33870 for (i
=0; i
<len
; i
++) {
33871 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33873 PyObject
* str
= PyObject_Unicode(item
);
33875 PyObject
* str
= PyObject_Str(item
);
33877 if (PyErr_Occurred()) SWIG_fail
;
33878 arg2
->Add(Py2wxString(str
));
33884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33885 (arg1
)->Append((wxArrayString
const &)*arg2
);
33887 wxPyEndAllowThreads(__tstate
);
33888 if (PyErr_Occurred()) SWIG_fail
;
33890 Py_INCREF(Py_None
); resultobj
= Py_None
;
33892 if (temp2
) delete arg2
;
33897 if (temp2
) delete arg2
;
33903 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33904 PyObject
*resultobj
;
33905 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33906 wxString
*arg2
= 0 ;
33908 PyObject
*arg4
= (PyObject
*) NULL
;
33910 bool temp2
= false ;
33911 PyObject
* obj0
= 0 ;
33912 PyObject
* obj1
= 0 ;
33913 PyObject
* obj2
= 0 ;
33914 PyObject
* obj3
= 0 ;
33915 char *kwnames
[] = {
33916 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33923 arg2
= wxString_in_helper(obj1
);
33924 if (arg2
== NULL
) SWIG_fail
;
33927 arg3
= (int)SWIG_As_int(obj2
);
33928 if (PyErr_Occurred()) SWIG_fail
;
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= SWIG_From_int((int)result
);
33954 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33955 PyObject
*resultobj
;
33956 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33957 PyObject
* obj0
= 0 ;
33958 char *kwnames
[] = {
33959 (char *) "self", NULL
33962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33969 wxPyEndAllowThreads(__tstate
);
33970 if (PyErr_Occurred()) SWIG_fail
;
33972 Py_INCREF(Py_None
); resultobj
= Py_None
;
33979 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33980 PyObject
*resultobj
;
33981 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33983 PyObject
* obj0
= 0 ;
33984 PyObject
* obj1
= 0 ;
33985 char *kwnames
[] = {
33986 (char *) "self",(char *) "n", NULL
33989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33992 arg2
= (int)SWIG_As_int(obj1
);
33993 if (PyErr_Occurred()) SWIG_fail
;
33995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33996 (arg1
)->Delete(arg2
);
33998 wxPyEndAllowThreads(__tstate
);
33999 if (PyErr_Occurred()) SWIG_fail
;
34001 Py_INCREF(Py_None
); resultobj
= Py_None
;
34008 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34009 PyObject
*resultobj
;
34010 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34012 PyObject
* obj0
= 0 ;
34013 char *kwnames
[] = {
34014 (char *) "self", NULL
34017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34022 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34024 wxPyEndAllowThreads(__tstate
);
34025 if (PyErr_Occurred()) SWIG_fail
;
34027 resultobj
= SWIG_From_int((int)result
);
34034 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34035 PyObject
*resultobj
;
34036 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34038 PyObject
* obj0
= 0 ;
34039 char *kwnames
[] = {
34040 (char *) "self", NULL
34043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34048 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34050 wxPyEndAllowThreads(__tstate
);
34051 if (PyErr_Occurred()) SWIG_fail
;
34054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34062 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34063 PyObject
*resultobj
;
34064 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34067 PyObject
* obj0
= 0 ;
34068 PyObject
* obj1
= 0 ;
34069 char *kwnames
[] = {
34070 (char *) "self",(char *) "n", NULL
34073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34076 arg2
= (int)SWIG_As_int(obj1
);
34077 if (PyErr_Occurred()) SWIG_fail
;
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34082 wxPyEndAllowThreads(__tstate
);
34083 if (PyErr_Occurred()) SWIG_fail
;
34087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34098 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34099 PyObject
*resultobj
;
34100 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34101 wxArrayString result
;
34102 PyObject
* obj0
= 0 ;
34103 char *kwnames
[] = {
34104 (char *) "self", NULL
34107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34112 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34114 wxPyEndAllowThreads(__tstate
);
34115 if (PyErr_Occurred()) SWIG_fail
;
34118 resultobj
= wxArrayString2PyList_helper(result
);
34126 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34127 PyObject
*resultobj
;
34128 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34130 wxString
*arg3
= 0 ;
34131 bool temp3
= false ;
34132 PyObject
* obj0
= 0 ;
34133 PyObject
* obj1
= 0 ;
34134 PyObject
* obj2
= 0 ;
34135 char *kwnames
[] = {
34136 (char *) "self",(char *) "n",(char *) "s", NULL
34139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34142 arg2
= (int)SWIG_As_int(obj1
);
34143 if (PyErr_Occurred()) SWIG_fail
;
34145 arg3
= wxString_in_helper(obj2
);
34146 if (arg3
== NULL
) SWIG_fail
;
34150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34151 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34153 wxPyEndAllowThreads(__tstate
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34156 Py_INCREF(Py_None
); resultobj
= Py_None
;
34171 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34172 PyObject
*resultobj
;
34173 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34174 wxString
*arg2
= 0 ;
34176 bool temp2
= false ;
34177 PyObject
* obj0
= 0 ;
34178 PyObject
* obj1
= 0 ;
34179 char *kwnames
[] = {
34180 (char *) "self",(char *) "s", NULL
34183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34187 arg2
= wxString_in_helper(obj1
);
34188 if (arg2
== NULL
) SWIG_fail
;
34192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34193 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34195 wxPyEndAllowThreads(__tstate
);
34196 if (PyErr_Occurred()) SWIG_fail
;
34198 resultobj
= SWIG_From_int((int)result
);
34213 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34214 PyObject
*resultobj
;
34215 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34217 PyObject
* obj0
= 0 ;
34218 PyObject
* obj1
= 0 ;
34219 char *kwnames
[] = {
34220 (char *) "self",(char *) "n", NULL
34223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34226 arg2
= (int)SWIG_As_int(obj1
);
34227 if (PyErr_Occurred()) SWIG_fail
;
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34230 (arg1
)->Select(arg2
);
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34235 Py_INCREF(Py_None
); resultobj
= Py_None
;
34242 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34243 PyObject
*resultobj
;
34244 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34246 PyObject
* obj0
= 0 ;
34247 char *kwnames
[] = {
34248 (char *) "self", NULL
34251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34256 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34261 resultobj
= SWIG_From_int((int)result
);
34268 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34269 PyObject
*resultobj
;
34270 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34272 PyObject
* obj0
= 0 ;
34273 char *kwnames
[] = {
34274 (char *) "self", NULL
34277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34300 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34301 PyObject
*resultobj
;
34302 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34305 PyObject
* obj0
= 0 ;
34306 PyObject
* obj1
= 0 ;
34307 char *kwnames
[] = {
34308 (char *) "self",(char *) "n", NULL
34311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34314 arg2
= (int)SWIG_As_int(obj1
);
34315 if (PyErr_Occurred()) SWIG_fail
;
34317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34318 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34320 wxPyEndAllowThreads(__tstate
);
34321 if (PyErr_Occurred()) SWIG_fail
;
34323 resultobj
= result
;
34330 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34331 PyObject
*resultobj
;
34332 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34334 PyObject
*arg3
= (PyObject
*) 0 ;
34335 PyObject
* obj0
= 0 ;
34336 PyObject
* obj1
= 0 ;
34337 PyObject
* obj2
= 0 ;
34338 char *kwnames
[] = {
34339 (char *) "self",(char *) "n",(char *) "clientData", NULL
34342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34345 arg2
= (int)SWIG_As_int(obj1
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34350 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34352 wxPyEndAllowThreads(__tstate
);
34353 if (PyErr_Occurred()) SWIG_fail
;
34355 Py_INCREF(Py_None
); resultobj
= Py_None
;
34362 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34365 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34367 return Py_BuildValue((char *)"");
34369 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34372 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34374 return Py_BuildValue((char *)"");
34376 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34377 PyObject
*resultobj
;
34378 wxSizerItem
*result
;
34379 char *kwnames
[] = {
34383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34386 result
= (wxSizerItem
*)new wxSizerItem();
34388 wxPyEndAllowThreads(__tstate
);
34389 if (PyErr_Occurred()) SWIG_fail
;
34391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34398 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34399 PyObject
*resultobj
;
34400 wxWindow
*arg1
= (wxWindow
*) 0 ;
34404 PyObject
*arg5
= (PyObject
*) NULL
;
34405 wxSizerItem
*result
;
34406 PyObject
* obj0
= 0 ;
34407 PyObject
* obj1
= 0 ;
34408 PyObject
* obj2
= 0 ;
34409 PyObject
* obj3
= 0 ;
34410 PyObject
* obj4
= 0 ;
34411 char *kwnames
[] = {
34412 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34418 arg2
= (int)SWIG_As_int(obj1
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34420 arg3
= (int)SWIG_As_int(obj2
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34422 arg4
= (int)SWIG_As_int(obj3
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34429 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34431 wxPyEndAllowThreads(__tstate
);
34432 if (PyErr_Occurred()) SWIG_fail
;
34434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34441 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34442 PyObject
*resultobj
;
34448 PyObject
*arg6
= (PyObject
*) NULL
;
34449 wxSizerItem
*result
;
34450 PyObject
* obj0
= 0 ;
34451 PyObject
* obj1
= 0 ;
34452 PyObject
* obj2
= 0 ;
34453 PyObject
* obj3
= 0 ;
34454 PyObject
* obj4
= 0 ;
34455 PyObject
* obj5
= 0 ;
34456 char *kwnames
[] = {
34457 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34461 arg1
= (int)SWIG_As_int(obj0
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34463 arg2
= (int)SWIG_As_int(obj1
);
34464 if (PyErr_Occurred()) SWIG_fail
;
34465 arg3
= (int)SWIG_As_int(obj2
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34467 arg4
= (int)SWIG_As_int(obj3
);
34468 if (PyErr_Occurred()) SWIG_fail
;
34469 arg5
= (int)SWIG_As_int(obj4
);
34470 if (PyErr_Occurred()) SWIG_fail
;
34475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34476 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34478 wxPyEndAllowThreads(__tstate
);
34479 if (PyErr_Occurred()) SWIG_fail
;
34481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34488 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34489 PyObject
*resultobj
;
34490 wxSizer
*arg1
= (wxSizer
*) 0 ;
34494 PyObject
*arg5
= (PyObject
*) NULL
;
34495 wxSizerItem
*result
;
34496 PyObject
* obj0
= 0 ;
34497 PyObject
* obj1
= 0 ;
34498 PyObject
* obj2
= 0 ;
34499 PyObject
* obj3
= 0 ;
34500 PyObject
* obj4
= 0 ;
34501 char *kwnames
[] = {
34502 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34508 arg2
= (int)SWIG_As_int(obj1
);
34509 if (PyErr_Occurred()) SWIG_fail
;
34510 arg3
= (int)SWIG_As_int(obj2
);
34511 if (PyErr_Occurred()) SWIG_fail
;
34512 arg4
= (int)SWIG_As_int(obj3
);
34513 if (PyErr_Occurred()) SWIG_fail
;
34518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34519 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34521 wxPyEndAllowThreads(__tstate
);
34522 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34531 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34532 PyObject
*resultobj
;
34533 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34534 PyObject
* obj0
= 0 ;
34535 char *kwnames
[] = {
34536 (char *) "self", NULL
34539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34544 (arg1
)->DeleteWindows();
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34549 Py_INCREF(Py_None
); resultobj
= Py_None
;
34556 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34557 PyObject
*resultobj
;
34558 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34559 PyObject
* obj0
= 0 ;
34560 char *kwnames
[] = {
34561 (char *) "self", NULL
34564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34569 (arg1
)->DetachSizer();
34571 wxPyEndAllowThreads(__tstate
);
34572 if (PyErr_Occurred()) SWIG_fail
;
34574 Py_INCREF(Py_None
); resultobj
= Py_None
;
34581 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34582 PyObject
*resultobj
;
34583 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34585 PyObject
* obj0
= 0 ;
34586 char *kwnames
[] = {
34587 (char *) "self", NULL
34590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34595 result
= (arg1
)->GetSize();
34597 wxPyEndAllowThreads(__tstate
);
34598 if (PyErr_Occurred()) SWIG_fail
;
34601 wxSize
* resultptr
;
34602 resultptr
= new wxSize((wxSize
&) result
);
34603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34611 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34612 PyObject
*resultobj
;
34613 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34615 PyObject
* obj0
= 0 ;
34616 char *kwnames
[] = {
34617 (char *) "self", NULL
34620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34625 result
= (arg1
)->CalcMin();
34627 wxPyEndAllowThreads(__tstate
);
34628 if (PyErr_Occurred()) SWIG_fail
;
34631 wxSize
* resultptr
;
34632 resultptr
= new wxSize((wxSize
&) result
);
34633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34641 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34642 PyObject
*resultobj
;
34643 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34648 PyObject
* obj0
= 0 ;
34649 PyObject
* obj1
= 0 ;
34650 PyObject
* obj2
= 0 ;
34651 char *kwnames
[] = {
34652 (char *) "self",(char *) "pos",(char *) "size", NULL
34655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34658 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34659 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34661 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34662 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34666 (arg1
)->SetDimension(arg2
,arg3
);
34668 wxPyEndAllowThreads(__tstate
);
34669 if (PyErr_Occurred()) SWIG_fail
;
34671 Py_INCREF(Py_None
); resultobj
= Py_None
;
34678 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34679 PyObject
*resultobj
;
34680 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34682 PyObject
* obj0
= 0 ;
34683 char *kwnames
[] = {
34684 (char *) "self", NULL
34687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34692 result
= (arg1
)->GetMinSize();
34694 wxPyEndAllowThreads(__tstate
);
34695 if (PyErr_Occurred()) SWIG_fail
;
34698 wxSize
* resultptr
;
34699 resultptr
= new wxSize((wxSize
&) result
);
34700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34708 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34709 PyObject
*resultobj
;
34710 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34712 PyObject
* obj0
= 0 ;
34713 char *kwnames
[] = {
34714 (char *) "self", NULL
34717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34722 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34724 wxPyEndAllowThreads(__tstate
);
34725 if (PyErr_Occurred()) SWIG_fail
;
34728 wxSize
* resultptr
;
34729 resultptr
= new wxSize((wxSize
&) result
);
34730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34738 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34739 PyObject
*resultobj
;
34740 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34743 PyObject
* obj0
= 0 ;
34744 PyObject
* obj1
= 0 ;
34745 PyObject
* obj2
= 0 ;
34746 char *kwnames
[] = {
34747 (char *) "self",(char *) "x",(char *) "y", NULL
34750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34753 arg2
= (int)SWIG_As_int(obj1
);
34754 if (PyErr_Occurred()) SWIG_fail
;
34755 arg3
= (int)SWIG_As_int(obj2
);
34756 if (PyErr_Occurred()) SWIG_fail
;
34758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34759 (arg1
)->SetInitSize(arg2
,arg3
);
34761 wxPyEndAllowThreads(__tstate
);
34762 if (PyErr_Occurred()) SWIG_fail
;
34764 Py_INCREF(Py_None
); resultobj
= Py_None
;
34771 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34772 PyObject
*resultobj
;
34773 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34776 PyObject
* obj0
= 0 ;
34777 PyObject
* obj1
= 0 ;
34778 PyObject
* obj2
= 0 ;
34779 char *kwnames
[] = {
34780 (char *) "self",(char *) "width",(char *) "height", NULL
34783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34786 arg2
= (int)SWIG_As_int(obj1
);
34787 if (PyErr_Occurred()) SWIG_fail
;
34788 arg3
= (int)SWIG_As_int(obj2
);
34789 if (PyErr_Occurred()) SWIG_fail
;
34791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 (arg1
)->SetRatio(arg2
,arg3
);
34794 wxPyEndAllowThreads(__tstate
);
34795 if (PyErr_Occurred()) SWIG_fail
;
34797 Py_INCREF(Py_None
); resultobj
= Py_None
;
34804 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34805 PyObject
*resultobj
;
34806 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34809 PyObject
* obj0
= 0 ;
34810 PyObject
* obj1
= 0 ;
34811 char *kwnames
[] = {
34812 (char *) "self",(char *) "size", NULL
34815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34818 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34819 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34823 (arg1
)->SetRatio(arg2
);
34825 wxPyEndAllowThreads(__tstate
);
34826 if (PyErr_Occurred()) SWIG_fail
;
34828 Py_INCREF(Py_None
); resultobj
= Py_None
;
34835 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34836 PyObject
*resultobj
;
34837 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34839 PyObject
* obj0
= 0 ;
34840 PyObject
* obj1
= 0 ;
34841 char *kwnames
[] = {
34842 (char *) "self",(char *) "ratio", NULL
34845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34848 arg2
= (float)SWIG_As_float(obj1
);
34849 if (PyErr_Occurred()) SWIG_fail
;
34851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34852 (arg1
)->SetRatio(arg2
);
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34857 Py_INCREF(Py_None
); resultobj
= Py_None
;
34864 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34865 PyObject
*resultobj
;
34866 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34868 PyObject
* obj0
= 0 ;
34869 char *kwnames
[] = {
34870 (char *) "self", NULL
34873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34878 result
= (float)(arg1
)->GetRatio();
34880 wxPyEndAllowThreads(__tstate
);
34881 if (PyErr_Occurred()) SWIG_fail
;
34883 resultobj
= SWIG_From_float((float)result
);
34890 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34891 PyObject
*resultobj
;
34892 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34894 PyObject
* obj0
= 0 ;
34895 char *kwnames
[] = {
34896 (char *) "self", NULL
34899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34904 result
= (bool)(arg1
)->IsWindow();
34906 wxPyEndAllowThreads(__tstate
);
34907 if (PyErr_Occurred()) SWIG_fail
;
34910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34918 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
;
34920 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34922 PyObject
* obj0
= 0 ;
34923 char *kwnames
[] = {
34924 (char *) "self", NULL
34927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34932 result
= (bool)(arg1
)->IsSizer();
34934 wxPyEndAllowThreads(__tstate
);
34935 if (PyErr_Occurred()) SWIG_fail
;
34938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34946 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34947 PyObject
*resultobj
;
34948 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34950 PyObject
* obj0
= 0 ;
34951 char *kwnames
[] = {
34952 (char *) "self", NULL
34955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34960 result
= (bool)(arg1
)->IsSpacer();
34962 wxPyEndAllowThreads(__tstate
);
34963 if (PyErr_Occurred()) SWIG_fail
;
34966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34974 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34975 PyObject
*resultobj
;
34976 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34978 PyObject
* obj0
= 0 ;
34979 PyObject
* obj1
= 0 ;
34980 char *kwnames
[] = {
34981 (char *) "self",(char *) "proportion", NULL
34984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34987 arg2
= (int)SWIG_As_int(obj1
);
34988 if (PyErr_Occurred()) SWIG_fail
;
34990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34991 (arg1
)->SetProportion(arg2
);
34993 wxPyEndAllowThreads(__tstate
);
34994 if (PyErr_Occurred()) SWIG_fail
;
34996 Py_INCREF(Py_None
); resultobj
= Py_None
;
35003 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35004 PyObject
*resultobj
;
35005 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35007 PyObject
* obj0
= 0 ;
35008 char *kwnames
[] = {
35009 (char *) "self", NULL
35012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 result
= (int)(arg1
)->GetProportion();
35019 wxPyEndAllowThreads(__tstate
);
35020 if (PyErr_Occurred()) SWIG_fail
;
35022 resultobj
= SWIG_From_int((int)result
);
35029 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35030 PyObject
*resultobj
;
35031 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35033 PyObject
* obj0
= 0 ;
35034 PyObject
* obj1
= 0 ;
35035 char *kwnames
[] = {
35036 (char *) "self",(char *) "flag", NULL
35039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35042 arg2
= (int)SWIG_As_int(obj1
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35046 (arg1
)->SetFlag(arg2
);
35048 wxPyEndAllowThreads(__tstate
);
35049 if (PyErr_Occurred()) SWIG_fail
;
35051 Py_INCREF(Py_None
); resultobj
= Py_None
;
35058 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35059 PyObject
*resultobj
;
35060 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35062 PyObject
* obj0
= 0 ;
35063 char *kwnames
[] = {
35064 (char *) "self", NULL
35067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35072 result
= (int)(arg1
)->GetFlag();
35074 wxPyEndAllowThreads(__tstate
);
35075 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= SWIG_From_int((int)result
);
35084 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35085 PyObject
*resultobj
;
35086 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35088 PyObject
* obj0
= 0 ;
35089 PyObject
* obj1
= 0 ;
35090 char *kwnames
[] = {
35091 (char *) "self",(char *) "border", NULL
35094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35097 arg2
= (int)SWIG_As_int(obj1
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35101 (arg1
)->SetBorder(arg2
);
35103 wxPyEndAllowThreads(__tstate
);
35104 if (PyErr_Occurred()) SWIG_fail
;
35106 Py_INCREF(Py_None
); resultobj
= Py_None
;
35113 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35114 PyObject
*resultobj
;
35115 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35117 PyObject
* obj0
= 0 ;
35118 char *kwnames
[] = {
35119 (char *) "self", NULL
35122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35127 result
= (int)(arg1
)->GetBorder();
35129 wxPyEndAllowThreads(__tstate
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35132 resultobj
= SWIG_From_int((int)result
);
35139 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35140 PyObject
*resultobj
;
35141 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35143 PyObject
* obj0
= 0 ;
35144 char *kwnames
[] = {
35145 (char *) "self", NULL
35148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35153 result
= (wxWindow
*)(arg1
)->GetWindow();
35155 wxPyEndAllowThreads(__tstate
);
35156 if (PyErr_Occurred()) SWIG_fail
;
35159 resultobj
= wxPyMake_wxObject(result
, 0);
35167 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35168 PyObject
*resultobj
;
35169 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35170 wxWindow
*arg2
= (wxWindow
*) 0 ;
35171 PyObject
* obj0
= 0 ;
35172 PyObject
* obj1
= 0 ;
35173 char *kwnames
[] = {
35174 (char *) "self",(char *) "window", NULL
35177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35184 (arg1
)->SetWindow(arg2
);
35186 wxPyEndAllowThreads(__tstate
);
35187 if (PyErr_Occurred()) SWIG_fail
;
35189 Py_INCREF(Py_None
); resultobj
= Py_None
;
35196 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35197 PyObject
*resultobj
;
35198 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35200 PyObject
* obj0
= 0 ;
35201 char *kwnames
[] = {
35202 (char *) "self", NULL
35205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35210 result
= (wxSizer
*)(arg1
)->GetSizer();
35212 wxPyEndAllowThreads(__tstate
);
35213 if (PyErr_Occurred()) SWIG_fail
;
35216 resultobj
= wxPyMake_wxSizer(result
, 0);
35224 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35225 PyObject
*resultobj
;
35226 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35227 wxSizer
*arg2
= (wxSizer
*) 0 ;
35228 PyObject
* obj0
= 0 ;
35229 PyObject
* obj1
= 0 ;
35230 char *kwnames
[] = {
35231 (char *) "self",(char *) "sizer", NULL
35234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35241 (arg1
)->SetSizer(arg2
);
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35246 Py_INCREF(Py_None
); resultobj
= Py_None
;
35253 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35254 PyObject
*resultobj
;
35255 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35257 PyObject
* obj0
= 0 ;
35258 char *kwnames
[] = {
35259 (char *) "self", NULL
35262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35269 result
= (wxSize
*) &_result_ref
;
35272 wxPyEndAllowThreads(__tstate
);
35273 if (PyErr_Occurred()) SWIG_fail
;
35275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35282 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35283 PyObject
*resultobj
;
35284 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35287 PyObject
* obj0
= 0 ;
35288 PyObject
* obj1
= 0 ;
35289 char *kwnames
[] = {
35290 (char *) "self",(char *) "size", NULL
35293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35298 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35302 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35304 wxPyEndAllowThreads(__tstate
);
35305 if (PyErr_Occurred()) SWIG_fail
;
35307 Py_INCREF(Py_None
); resultobj
= Py_None
;
35314 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35315 PyObject
*resultobj
;
35316 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35318 PyObject
* obj0
= 0 ;
35319 PyObject
* obj1
= 0 ;
35320 char *kwnames
[] = {
35321 (char *) "self",(char *) "show", NULL
35324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35327 arg2
= (bool)SWIG_As_bool(obj1
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 (arg1
)->Show(arg2
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 Py_INCREF(Py_None
); resultobj
= Py_None
;
35343 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35344 PyObject
*resultobj
;
35345 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35347 PyObject
* obj0
= 0 ;
35348 char *kwnames
[] = {
35349 (char *) "self", NULL
35352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35357 result
= (bool)(arg1
)->IsShown();
35359 wxPyEndAllowThreads(__tstate
);
35360 if (PyErr_Occurred()) SWIG_fail
;
35363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35371 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35372 PyObject
*resultobj
;
35373 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35375 PyObject
* obj0
= 0 ;
35376 char *kwnames
[] = {
35377 (char *) "self", NULL
35380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35385 result
= (arg1
)->GetPosition();
35387 wxPyEndAllowThreads(__tstate
);
35388 if (PyErr_Occurred()) SWIG_fail
;
35391 wxPoint
* resultptr
;
35392 resultptr
= new wxPoint((wxPoint
&) result
);
35393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35401 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35402 PyObject
*resultobj
;
35403 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35405 PyObject
* obj0
= 0 ;
35406 char *kwnames
[] = {
35407 (char *) "self", NULL
35410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35415 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35420 resultobj
= result
;
35427 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35430 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35432 return Py_BuildValue((char *)"");
35434 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35435 PyObject
*resultobj
;
35436 wxSizer
*arg1
= (wxSizer
*) 0 ;
35437 PyObject
*arg2
= (PyObject
*) 0 ;
35438 PyObject
* obj0
= 0 ;
35439 PyObject
* obj1
= 0 ;
35440 char *kwnames
[] = {
35441 (char *) "self",(char *) "_self", NULL
35444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35450 wxSizer__setOORInfo(arg1
,arg2
);
35452 wxPyEndAllowThreads(__tstate
);
35453 if (PyErr_Occurred()) SWIG_fail
;
35455 Py_INCREF(Py_None
); resultobj
= Py_None
;
35462 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35463 PyObject
*resultobj
;
35464 wxSizer
*arg1
= (wxSizer
*) 0 ;
35465 PyObject
*arg2
= (PyObject
*) 0 ;
35466 int arg3
= (int) 0 ;
35467 int arg4
= (int) 0 ;
35468 int arg5
= (int) 0 ;
35469 PyObject
*arg6
= (PyObject
*) NULL
;
35470 PyObject
* obj0
= 0 ;
35471 PyObject
* obj1
= 0 ;
35472 PyObject
* obj2
= 0 ;
35473 PyObject
* obj3
= 0 ;
35474 PyObject
* obj4
= 0 ;
35475 PyObject
* obj5
= 0 ;
35476 char *kwnames
[] = {
35477 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35485 arg3
= (int)SWIG_As_int(obj2
);
35486 if (PyErr_Occurred()) SWIG_fail
;
35489 arg4
= (int)SWIG_As_int(obj3
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35493 arg5
= (int)SWIG_As_int(obj4
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35501 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35503 wxPyEndAllowThreads(__tstate
);
35504 if (PyErr_Occurred()) SWIG_fail
;
35506 Py_INCREF(Py_None
); resultobj
= Py_None
;
35513 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35514 PyObject
*resultobj
;
35515 wxSizer
*arg1
= (wxSizer
*) 0 ;
35517 PyObject
*arg3
= (PyObject
*) 0 ;
35518 int arg4
= (int) 0 ;
35519 int arg5
= (int) 0 ;
35520 int arg6
= (int) 0 ;
35521 PyObject
*arg7
= (PyObject
*) NULL
;
35522 PyObject
* obj0
= 0 ;
35523 PyObject
* obj1
= 0 ;
35524 PyObject
* obj2
= 0 ;
35525 PyObject
* obj3
= 0 ;
35526 PyObject
* obj4
= 0 ;
35527 PyObject
* obj5
= 0 ;
35528 PyObject
* obj6
= 0 ;
35529 char *kwnames
[] = {
35530 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35536 arg2
= (int)SWIG_As_int(obj1
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35540 arg4
= (int)SWIG_As_int(obj3
);
35541 if (PyErr_Occurred()) SWIG_fail
;
35544 arg5
= (int)SWIG_As_int(obj4
);
35545 if (PyErr_Occurred()) SWIG_fail
;
35548 arg6
= (int)SWIG_As_int(obj5
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35556 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35558 wxPyEndAllowThreads(__tstate
);
35559 if (PyErr_Occurred()) SWIG_fail
;
35561 Py_INCREF(Py_None
); resultobj
= Py_None
;
35568 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35569 PyObject
*resultobj
;
35570 wxSizer
*arg1
= (wxSizer
*) 0 ;
35571 PyObject
*arg2
= (PyObject
*) 0 ;
35572 int arg3
= (int) 0 ;
35573 int arg4
= (int) 0 ;
35574 int arg5
= (int) 0 ;
35575 PyObject
*arg6
= (PyObject
*) NULL
;
35576 PyObject
* obj0
= 0 ;
35577 PyObject
* obj1
= 0 ;
35578 PyObject
* obj2
= 0 ;
35579 PyObject
* obj3
= 0 ;
35580 PyObject
* obj4
= 0 ;
35581 PyObject
* obj5
= 0 ;
35582 char *kwnames
[] = {
35583 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35591 arg3
= (int)SWIG_As_int(obj2
);
35592 if (PyErr_Occurred()) SWIG_fail
;
35595 arg4
= (int)SWIG_As_int(obj3
);
35596 if (PyErr_Occurred()) SWIG_fail
;
35599 arg5
= (int)SWIG_As_int(obj4
);
35600 if (PyErr_Occurred()) SWIG_fail
;
35606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35607 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35612 Py_INCREF(Py_None
); resultobj
= Py_None
;
35619 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35620 PyObject
*resultobj
;
35621 wxSizer
*arg1
= (wxSizer
*) 0 ;
35622 PyObject
*arg2
= (PyObject
*) 0 ;
35624 PyObject
* obj0
= 0 ;
35625 PyObject
* obj1
= 0 ;
35626 char *kwnames
[] = {
35627 (char *) "self",(char *) "item", NULL
35630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35636 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35638 wxPyEndAllowThreads(__tstate
);
35639 if (PyErr_Occurred()) SWIG_fail
;
35642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35650 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35651 PyObject
*resultobj
;
35652 wxSizer
*arg1
= (wxSizer
*) 0 ;
35653 PyObject
*arg2
= (PyObject
*) 0 ;
35655 PyObject
* obj0
= 0 ;
35656 PyObject
* obj1
= 0 ;
35657 char *kwnames
[] = {
35658 (char *) "self",(char *) "item", NULL
35661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35667 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35669 wxPyEndAllowThreads(__tstate
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35681 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35682 PyObject
*resultobj
;
35683 wxSizer
*arg1
= (wxSizer
*) 0 ;
35684 PyObject
*arg2
= (PyObject
*) 0 ;
35687 PyObject
* obj0
= 0 ;
35688 PyObject
* obj1
= 0 ;
35689 PyObject
* obj2
= 0 ;
35690 char *kwnames
[] = {
35691 (char *) "self",(char *) "item",(char *) "size", NULL
35694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35700 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35704 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35706 wxPyEndAllowThreads(__tstate
);
35707 if (PyErr_Occurred()) SWIG_fail
;
35709 Py_INCREF(Py_None
); resultobj
= Py_None
;
35716 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35717 PyObject
*resultobj
;
35718 wxSizer
*arg1
= (wxSizer
*) 0 ;
35719 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35720 PyObject
* obj0
= 0 ;
35721 PyObject
* obj1
= 0 ;
35722 char *kwnames
[] = {
35723 (char *) "self",(char *) "item", NULL
35726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35735 wxPyEndAllowThreads(__tstate
);
35736 if (PyErr_Occurred()) SWIG_fail
;
35738 Py_INCREF(Py_None
); resultobj
= Py_None
;
35745 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35746 PyObject
*resultobj
;
35747 wxSizer
*arg1
= (wxSizer
*) 0 ;
35749 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35750 PyObject
* obj0
= 0 ;
35751 PyObject
* obj1
= 0 ;
35752 PyObject
* obj2
= 0 ;
35753 char *kwnames
[] = {
35754 (char *) "self",(char *) "index",(char *) "item", NULL
35757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35760 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
35761 if (PyErr_Occurred()) SWIG_fail
;
35762 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35766 (arg1
)->Insert(arg2
,arg3
);
35768 wxPyEndAllowThreads(__tstate
);
35769 if (PyErr_Occurred()) SWIG_fail
;
35771 Py_INCREF(Py_None
); resultobj
= Py_None
;
35778 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35779 PyObject
*resultobj
;
35780 wxSizer
*arg1
= (wxSizer
*) 0 ;
35781 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35782 PyObject
* obj0
= 0 ;
35783 PyObject
* obj1
= 0 ;
35784 char *kwnames
[] = {
35785 (char *) "self",(char *) "item", NULL
35788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35795 (arg1
)->Prepend(arg2
);
35797 wxPyEndAllowThreads(__tstate
);
35798 if (PyErr_Occurred()) SWIG_fail
;
35800 Py_INCREF(Py_None
); resultobj
= Py_None
;
35807 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35808 PyObject
*resultobj
;
35809 wxSizer
*arg1
= (wxSizer
*) 0 ;
35814 PyObject
* obj0
= 0 ;
35815 PyObject
* obj1
= 0 ;
35816 PyObject
* obj2
= 0 ;
35817 PyObject
* obj3
= 0 ;
35818 PyObject
* obj4
= 0 ;
35819 char *kwnames
[] = {
35820 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35826 arg2
= (int)SWIG_As_int(obj1
);
35827 if (PyErr_Occurred()) SWIG_fail
;
35828 arg3
= (int)SWIG_As_int(obj2
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35830 arg4
= (int)SWIG_As_int(obj3
);
35831 if (PyErr_Occurred()) SWIG_fail
;
35832 arg5
= (int)SWIG_As_int(obj4
);
35833 if (PyErr_Occurred()) SWIG_fail
;
35835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35836 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35838 wxPyEndAllowThreads(__tstate
);
35839 if (PyErr_Occurred()) SWIG_fail
;
35841 Py_INCREF(Py_None
); resultobj
= Py_None
;
35848 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35849 PyObject
*resultobj
;
35850 wxSizer
*arg1
= (wxSizer
*) 0 ;
35853 PyObject
* obj0
= 0 ;
35854 PyObject
* obj1
= 0 ;
35855 char *kwnames
[] = {
35856 (char *) "self",(char *) "size", NULL
35859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35868 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35870 wxPyEndAllowThreads(__tstate
);
35871 if (PyErr_Occurred()) SWIG_fail
;
35873 Py_INCREF(Py_None
); resultobj
= Py_None
;
35880 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35881 PyObject
*resultobj
;
35882 wxSizer
*arg1
= (wxSizer
*) 0 ;
35884 PyObject
* obj0
= 0 ;
35885 char *kwnames
[] = {
35886 (char *) "self", NULL
35889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35894 result
= (arg1
)->GetSize();
35896 wxPyEndAllowThreads(__tstate
);
35897 if (PyErr_Occurred()) SWIG_fail
;
35900 wxSize
* resultptr
;
35901 resultptr
= new wxSize((wxSize
&) result
);
35902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35910 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35911 PyObject
*resultobj
;
35912 wxSizer
*arg1
= (wxSizer
*) 0 ;
35914 PyObject
* obj0
= 0 ;
35915 char *kwnames
[] = {
35916 (char *) "self", NULL
35919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35924 result
= (arg1
)->GetPosition();
35926 wxPyEndAllowThreads(__tstate
);
35927 if (PyErr_Occurred()) SWIG_fail
;
35930 wxPoint
* resultptr
;
35931 resultptr
= new wxPoint((wxPoint
&) result
);
35932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35940 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35941 PyObject
*resultobj
;
35942 wxSizer
*arg1
= (wxSizer
*) 0 ;
35944 PyObject
* obj0
= 0 ;
35945 char *kwnames
[] = {
35946 (char *) "self", NULL
35949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35954 result
= (arg1
)->GetMinSize();
35956 wxPyEndAllowThreads(__tstate
);
35957 if (PyErr_Occurred()) SWIG_fail
;
35960 wxSize
* resultptr
;
35961 resultptr
= new wxSize((wxSize
&) result
);
35962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35970 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35971 PyObject
*resultobj
;
35972 wxSizer
*arg1
= (wxSizer
*) 0 ;
35973 PyObject
* obj0
= 0 ;
35974 char *kwnames
[] = {
35975 (char *) "self", NULL
35978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35983 (arg1
)->RecalcSizes();
35985 wxPyEndAllowThreads(__tstate
);
35986 if (PyErr_Occurred()) SWIG_fail
;
35988 Py_INCREF(Py_None
); resultobj
= Py_None
;
35995 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35996 PyObject
*resultobj
;
35997 wxSizer
*arg1
= (wxSizer
*) 0 ;
35999 PyObject
* obj0
= 0 ;
36000 char *kwnames
[] = {
36001 (char *) "self", NULL
36004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36009 result
= (arg1
)->CalcMin();
36011 wxPyEndAllowThreads(__tstate
);
36012 if (PyErr_Occurred()) SWIG_fail
;
36015 wxSize
* resultptr
;
36016 resultptr
= new wxSize((wxSize
&) result
);
36017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36025 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36026 PyObject
*resultobj
;
36027 wxSizer
*arg1
= (wxSizer
*) 0 ;
36028 PyObject
* obj0
= 0 ;
36029 char *kwnames
[] = {
36030 (char *) "self", NULL
36033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36040 wxPyEndAllowThreads(__tstate
);
36041 if (PyErr_Occurred()) SWIG_fail
;
36043 Py_INCREF(Py_None
); resultobj
= Py_None
;
36050 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36051 PyObject
*resultobj
;
36052 wxSizer
*arg1
= (wxSizer
*) 0 ;
36053 wxWindow
*arg2
= (wxWindow
*) 0 ;
36055 PyObject
* obj0
= 0 ;
36056 PyObject
* obj1
= 0 ;
36057 char *kwnames
[] = {
36058 (char *) "self",(char *) "window", NULL
36061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36068 result
= (arg1
)->Fit(arg2
);
36070 wxPyEndAllowThreads(__tstate
);
36071 if (PyErr_Occurred()) SWIG_fail
;
36074 wxSize
* resultptr
;
36075 resultptr
= new wxSize((wxSize
&) result
);
36076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36084 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36085 PyObject
*resultobj
;
36086 wxSizer
*arg1
= (wxSizer
*) 0 ;
36087 wxWindow
*arg2
= (wxWindow
*) 0 ;
36088 PyObject
* obj0
= 0 ;
36089 PyObject
* obj1
= 0 ;
36090 char *kwnames
[] = {
36091 (char *) "self",(char *) "window", NULL
36094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36101 (arg1
)->FitInside(arg2
);
36103 wxPyEndAllowThreads(__tstate
);
36104 if (PyErr_Occurred()) SWIG_fail
;
36106 Py_INCREF(Py_None
); resultobj
= Py_None
;
36113 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36114 PyObject
*resultobj
;
36115 wxSizer
*arg1
= (wxSizer
*) 0 ;
36116 wxWindow
*arg2
= (wxWindow
*) 0 ;
36117 PyObject
* obj0
= 0 ;
36118 PyObject
* obj1
= 0 ;
36119 char *kwnames
[] = {
36120 (char *) "self",(char *) "window", NULL
36123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36130 (arg1
)->SetSizeHints(arg2
);
36132 wxPyEndAllowThreads(__tstate
);
36133 if (PyErr_Occurred()) SWIG_fail
;
36135 Py_INCREF(Py_None
); resultobj
= Py_None
;
36142 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36143 PyObject
*resultobj
;
36144 wxSizer
*arg1
= (wxSizer
*) 0 ;
36145 wxWindow
*arg2
= (wxWindow
*) 0 ;
36146 PyObject
* obj0
= 0 ;
36147 PyObject
* obj1
= 0 ;
36148 char *kwnames
[] = {
36149 (char *) "self",(char *) "window", NULL
36152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 (arg1
)->SetVirtualSizeHints(arg2
);
36161 wxPyEndAllowThreads(__tstate
);
36162 if (PyErr_Occurred()) SWIG_fail
;
36164 Py_INCREF(Py_None
); resultobj
= Py_None
;
36171 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36172 PyObject
*resultobj
;
36173 wxSizer
*arg1
= (wxSizer
*) 0 ;
36174 bool arg2
= (bool) false ;
36175 PyObject
* obj0
= 0 ;
36176 PyObject
* obj1
= 0 ;
36177 char *kwnames
[] = {
36178 (char *) "self",(char *) "deleteWindows", NULL
36181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36185 arg2
= (bool)SWIG_As_bool(obj1
);
36186 if (PyErr_Occurred()) SWIG_fail
;
36189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36190 (arg1
)->Clear(arg2
);
36192 wxPyEndAllowThreads(__tstate
);
36193 if (PyErr_Occurred()) SWIG_fail
;
36195 Py_INCREF(Py_None
); resultobj
= Py_None
;
36202 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36203 PyObject
*resultobj
;
36204 wxSizer
*arg1
= (wxSizer
*) 0 ;
36205 PyObject
* obj0
= 0 ;
36206 char *kwnames
[] = {
36207 (char *) "self", NULL
36210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36215 (arg1
)->DeleteWindows();
36217 wxPyEndAllowThreads(__tstate
);
36218 if (PyErr_Occurred()) SWIG_fail
;
36220 Py_INCREF(Py_None
); resultobj
= Py_None
;
36227 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36228 PyObject
*resultobj
;
36229 wxSizer
*arg1
= (wxSizer
*) 0 ;
36231 PyObject
* obj0
= 0 ;
36232 char *kwnames
[] = {
36233 (char *) "self", NULL
36236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36241 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36243 wxPyEndAllowThreads(__tstate
);
36244 if (PyErr_Occurred()) SWIG_fail
;
36246 resultobj
= result
;
36253 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36254 PyObject
*resultobj
;
36255 wxSizer
*arg1
= (wxSizer
*) 0 ;
36256 PyObject
*arg2
= (PyObject
*) 0 ;
36257 bool arg3
= (bool) true ;
36258 bool arg4
= (bool) false ;
36260 PyObject
* obj0
= 0 ;
36261 PyObject
* obj1
= 0 ;
36262 PyObject
* obj2
= 0 ;
36263 PyObject
* obj3
= 0 ;
36264 char *kwnames
[] = {
36265 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36273 arg3
= (bool)SWIG_As_bool(obj2
);
36274 if (PyErr_Occurred()) SWIG_fail
;
36277 arg4
= (bool)SWIG_As_bool(obj3
);
36278 if (PyErr_Occurred()) SWIG_fail
;
36281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36282 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36284 wxPyEndAllowThreads(__tstate
);
36285 if (PyErr_Occurred()) SWIG_fail
;
36288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36296 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36297 PyObject
*resultobj
;
36298 wxSizer
*arg1
= (wxSizer
*) 0 ;
36299 PyObject
*arg2
= (PyObject
*) 0 ;
36301 PyObject
* obj0
= 0 ;
36302 PyObject
* obj1
= 0 ;
36303 char *kwnames
[] = {
36304 (char *) "self",(char *) "item", NULL
36307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36313 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36315 wxPyEndAllowThreads(__tstate
);
36316 if (PyErr_Occurred()) SWIG_fail
;
36319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36327 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36328 PyObject
*resultobj
;
36329 wxSizer
*arg1
= (wxSizer
*) 0 ;
36331 PyObject
* obj0
= 0 ;
36332 PyObject
* obj1
= 0 ;
36333 char *kwnames
[] = {
36334 (char *) "self",(char *) "show", NULL
36337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36340 arg2
= (bool)SWIG_As_bool(obj1
);
36341 if (PyErr_Occurred()) SWIG_fail
;
36343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36344 (arg1
)->ShowItems(arg2
);
36346 wxPyEndAllowThreads(__tstate
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36349 Py_INCREF(Py_None
); resultobj
= Py_None
;
36356 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36359 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36361 return Py_BuildValue((char *)"");
36363 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36364 PyObject
*resultobj
;
36366 char *kwnames
[] = {
36370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36373 result
= (wxPySizer
*)new wxPySizer();
36375 wxPyEndAllowThreads(__tstate
);
36376 if (PyErr_Occurred()) SWIG_fail
;
36378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36385 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36386 PyObject
*resultobj
;
36387 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36388 PyObject
*arg2
= (PyObject
*) 0 ;
36389 PyObject
*arg3
= (PyObject
*) 0 ;
36390 PyObject
* obj0
= 0 ;
36391 PyObject
* obj1
= 0 ;
36392 PyObject
* obj2
= 0 ;
36393 char *kwnames
[] = {
36394 (char *) "self",(char *) "self",(char *) "_class", NULL
36397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36404 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36406 wxPyEndAllowThreads(__tstate
);
36407 if (PyErr_Occurred()) SWIG_fail
;
36409 Py_INCREF(Py_None
); resultobj
= Py_None
;
36416 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36419 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36421 return Py_BuildValue((char *)"");
36423 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36424 PyObject
*resultobj
;
36425 int arg1
= (int) wxHORIZONTAL
;
36426 wxBoxSizer
*result
;
36427 PyObject
* obj0
= 0 ;
36428 char *kwnames
[] = {
36429 (char *) "orient", NULL
36432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36434 arg1
= (int)SWIG_As_int(obj0
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36439 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36441 wxPyEndAllowThreads(__tstate
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36451 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
;
36453 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36455 PyObject
* obj0
= 0 ;
36456 char *kwnames
[] = {
36457 (char *) "self", NULL
36460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 result
= (int)(arg1
)->GetOrientation();
36467 wxPyEndAllowThreads(__tstate
);
36468 if (PyErr_Occurred()) SWIG_fail
;
36470 resultobj
= SWIG_From_int((int)result
);
36477 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36478 PyObject
*resultobj
;
36479 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36481 PyObject
* obj0
= 0 ;
36482 PyObject
* obj1
= 0 ;
36483 char *kwnames
[] = {
36484 (char *) "self",(char *) "orient", NULL
36487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36490 arg2
= (int)SWIG_As_int(obj1
);
36491 if (PyErr_Occurred()) SWIG_fail
;
36493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36494 (arg1
)->SetOrientation(arg2
);
36496 wxPyEndAllowThreads(__tstate
);
36497 if (PyErr_Occurred()) SWIG_fail
;
36499 Py_INCREF(Py_None
); resultobj
= Py_None
;
36506 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36509 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36511 return Py_BuildValue((char *)"");
36513 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36514 PyObject
*resultobj
;
36515 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36516 int arg2
= (int) wxHORIZONTAL
;
36517 wxStaticBoxSizer
*result
;
36518 PyObject
* obj0
= 0 ;
36519 PyObject
* obj1
= 0 ;
36520 char *kwnames
[] = {
36521 (char *) "box",(char *) "orient", NULL
36524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36528 arg2
= (int)SWIG_As_int(obj1
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36533 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36535 wxPyEndAllowThreads(__tstate
);
36536 if (PyErr_Occurred()) SWIG_fail
;
36538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36545 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36546 PyObject
*resultobj
;
36547 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36548 wxStaticBox
*result
;
36549 PyObject
* obj0
= 0 ;
36550 char *kwnames
[] = {
36551 (char *) "self", NULL
36554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36559 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36561 wxPyEndAllowThreads(__tstate
);
36562 if (PyErr_Occurred()) SWIG_fail
;
36565 resultobj
= wxPyMake_wxObject(result
, 0);
36573 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36576 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36578 return Py_BuildValue((char *)"");
36580 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36581 PyObject
*resultobj
;
36582 int arg1
= (int) 1 ;
36583 int arg2
= (int) 0 ;
36584 int arg3
= (int) 0 ;
36585 int arg4
= (int) 0 ;
36586 wxGridSizer
*result
;
36587 PyObject
* obj0
= 0 ;
36588 PyObject
* obj1
= 0 ;
36589 PyObject
* obj2
= 0 ;
36590 PyObject
* obj3
= 0 ;
36591 char *kwnames
[] = {
36592 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36597 arg1
= (int)SWIG_As_int(obj0
);
36598 if (PyErr_Occurred()) SWIG_fail
;
36601 arg2
= (int)SWIG_As_int(obj1
);
36602 if (PyErr_Occurred()) SWIG_fail
;
36605 arg3
= (int)SWIG_As_int(obj2
);
36606 if (PyErr_Occurred()) SWIG_fail
;
36609 arg4
= (int)SWIG_As_int(obj3
);
36610 if (PyErr_Occurred()) SWIG_fail
;
36613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36614 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36616 wxPyEndAllowThreads(__tstate
);
36617 if (PyErr_Occurred()) SWIG_fail
;
36619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36626 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36627 PyObject
*resultobj
;
36628 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36630 PyObject
* obj0
= 0 ;
36631 PyObject
* obj1
= 0 ;
36632 char *kwnames
[] = {
36633 (char *) "self",(char *) "cols", NULL
36636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36639 arg2
= (int)SWIG_As_int(obj1
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36643 (arg1
)->SetCols(arg2
);
36645 wxPyEndAllowThreads(__tstate
);
36646 if (PyErr_Occurred()) SWIG_fail
;
36648 Py_INCREF(Py_None
); resultobj
= Py_None
;
36655 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36656 PyObject
*resultobj
;
36657 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36659 PyObject
* obj0
= 0 ;
36660 PyObject
* obj1
= 0 ;
36661 char *kwnames
[] = {
36662 (char *) "self",(char *) "rows", NULL
36665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36668 arg2
= (int)SWIG_As_int(obj1
);
36669 if (PyErr_Occurred()) SWIG_fail
;
36671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36672 (arg1
)->SetRows(arg2
);
36674 wxPyEndAllowThreads(__tstate
);
36675 if (PyErr_Occurred()) SWIG_fail
;
36677 Py_INCREF(Py_None
); resultobj
= Py_None
;
36684 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36685 PyObject
*resultobj
;
36686 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36688 PyObject
* obj0
= 0 ;
36689 PyObject
* obj1
= 0 ;
36690 char *kwnames
[] = {
36691 (char *) "self",(char *) "gap", NULL
36694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36697 arg2
= (int)SWIG_As_int(obj1
);
36698 if (PyErr_Occurred()) SWIG_fail
;
36700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36701 (arg1
)->SetVGap(arg2
);
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36706 Py_INCREF(Py_None
); resultobj
= Py_None
;
36713 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36714 PyObject
*resultobj
;
36715 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36717 PyObject
* obj0
= 0 ;
36718 PyObject
* obj1
= 0 ;
36719 char *kwnames
[] = {
36720 (char *) "self",(char *) "gap", NULL
36723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36726 arg2
= (int)SWIG_As_int(obj1
);
36727 if (PyErr_Occurred()) SWIG_fail
;
36729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36730 (arg1
)->SetHGap(arg2
);
36732 wxPyEndAllowThreads(__tstate
);
36733 if (PyErr_Occurred()) SWIG_fail
;
36735 Py_INCREF(Py_None
); resultobj
= Py_None
;
36742 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36743 PyObject
*resultobj
;
36744 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36746 PyObject
* obj0
= 0 ;
36747 char *kwnames
[] = {
36748 (char *) "self", NULL
36751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36756 result
= (int)(arg1
)->GetCols();
36758 wxPyEndAllowThreads(__tstate
);
36759 if (PyErr_Occurred()) SWIG_fail
;
36761 resultobj
= SWIG_From_int((int)result
);
36768 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36769 PyObject
*resultobj
;
36770 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36772 PyObject
* obj0
= 0 ;
36773 char *kwnames
[] = {
36774 (char *) "self", NULL
36777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36782 result
= (int)(arg1
)->GetRows();
36784 wxPyEndAllowThreads(__tstate
);
36785 if (PyErr_Occurred()) SWIG_fail
;
36787 resultobj
= SWIG_From_int((int)result
);
36794 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36795 PyObject
*resultobj
;
36796 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36798 PyObject
* obj0
= 0 ;
36799 char *kwnames
[] = {
36800 (char *) "self", NULL
36803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36808 result
= (int)(arg1
)->GetVGap();
36810 wxPyEndAllowThreads(__tstate
);
36811 if (PyErr_Occurred()) SWIG_fail
;
36813 resultobj
= SWIG_From_int((int)result
);
36820 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36821 PyObject
*resultobj
;
36822 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36824 PyObject
* obj0
= 0 ;
36825 char *kwnames
[] = {
36826 (char *) "self", NULL
36829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36834 result
= (int)(arg1
)->GetHGap();
36836 wxPyEndAllowThreads(__tstate
);
36837 if (PyErr_Occurred()) SWIG_fail
;
36839 resultobj
= SWIG_From_int((int)result
);
36846 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
36848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36849 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36851 return Py_BuildValue((char *)"");
36853 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36854 PyObject
*resultobj
;
36855 int arg1
= (int) 1 ;
36856 int arg2
= (int) 0 ;
36857 int arg3
= (int) 0 ;
36858 int arg4
= (int) 0 ;
36859 wxFlexGridSizer
*result
;
36860 PyObject
* obj0
= 0 ;
36861 PyObject
* obj1
= 0 ;
36862 PyObject
* obj2
= 0 ;
36863 PyObject
* obj3
= 0 ;
36864 char *kwnames
[] = {
36865 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36870 arg1
= (int)SWIG_As_int(obj0
);
36871 if (PyErr_Occurred()) SWIG_fail
;
36874 arg2
= (int)SWIG_As_int(obj1
);
36875 if (PyErr_Occurred()) SWIG_fail
;
36878 arg3
= (int)SWIG_As_int(obj2
);
36879 if (PyErr_Occurred()) SWIG_fail
;
36882 arg4
= (int)SWIG_As_int(obj3
);
36883 if (PyErr_Occurred()) SWIG_fail
;
36886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36887 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36889 wxPyEndAllowThreads(__tstate
);
36890 if (PyErr_Occurred()) SWIG_fail
;
36892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36899 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36900 PyObject
*resultobj
;
36901 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36903 int arg3
= (int) 0 ;
36904 PyObject
* obj0
= 0 ;
36905 PyObject
* obj1
= 0 ;
36906 PyObject
* obj2
= 0 ;
36907 char *kwnames
[] = {
36908 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36914 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36915 if (PyErr_Occurred()) SWIG_fail
;
36917 arg3
= (int)SWIG_As_int(obj2
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36922 (arg1
)->AddGrowableRow(arg2
,arg3
);
36924 wxPyEndAllowThreads(__tstate
);
36925 if (PyErr_Occurred()) SWIG_fail
;
36927 Py_INCREF(Py_None
); resultobj
= Py_None
;
36934 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36935 PyObject
*resultobj
;
36936 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36938 PyObject
* obj0
= 0 ;
36939 PyObject
* obj1
= 0 ;
36940 char *kwnames
[] = {
36941 (char *) "self",(char *) "idx", NULL
36944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36947 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36948 if (PyErr_Occurred()) SWIG_fail
;
36950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36951 (arg1
)->RemoveGrowableRow(arg2
);
36953 wxPyEndAllowThreads(__tstate
);
36954 if (PyErr_Occurred()) SWIG_fail
;
36956 Py_INCREF(Py_None
); resultobj
= Py_None
;
36963 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36964 PyObject
*resultobj
;
36965 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36967 int arg3
= (int) 0 ;
36968 PyObject
* obj0
= 0 ;
36969 PyObject
* obj1
= 0 ;
36970 PyObject
* obj2
= 0 ;
36971 char *kwnames
[] = {
36972 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36978 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36979 if (PyErr_Occurred()) SWIG_fail
;
36981 arg3
= (int)SWIG_As_int(obj2
);
36982 if (PyErr_Occurred()) SWIG_fail
;
36985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36986 (arg1
)->AddGrowableCol(arg2
,arg3
);
36988 wxPyEndAllowThreads(__tstate
);
36989 if (PyErr_Occurred()) SWIG_fail
;
36991 Py_INCREF(Py_None
); resultobj
= Py_None
;
36998 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36999 PyObject
*resultobj
;
37000 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37002 PyObject
* obj0
= 0 ;
37003 PyObject
* obj1
= 0 ;
37004 char *kwnames
[] = {
37005 (char *) "self",(char *) "idx", NULL
37008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37011 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37012 if (PyErr_Occurred()) SWIG_fail
;
37014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37015 (arg1
)->RemoveGrowableCol(arg2
);
37017 wxPyEndAllowThreads(__tstate
);
37018 if (PyErr_Occurred()) SWIG_fail
;
37020 Py_INCREF(Py_None
); resultobj
= Py_None
;
37027 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37028 PyObject
*resultobj
;
37029 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37031 PyObject
* obj0
= 0 ;
37032 PyObject
* obj1
= 0 ;
37033 char *kwnames
[] = {
37034 (char *) "self",(char *) "direction", NULL
37037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37040 arg2
= (int)SWIG_As_int(obj1
);
37041 if (PyErr_Occurred()) SWIG_fail
;
37043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37044 (arg1
)->SetFlexibleDirection(arg2
);
37046 wxPyEndAllowThreads(__tstate
);
37047 if (PyErr_Occurred()) SWIG_fail
;
37049 Py_INCREF(Py_None
); resultobj
= Py_None
;
37056 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37057 PyObject
*resultobj
;
37058 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37060 PyObject
* obj0
= 0 ;
37061 char *kwnames
[] = {
37062 (char *) "self", NULL
37065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37070 result
= (int)(arg1
)->GetFlexibleDirection();
37072 wxPyEndAllowThreads(__tstate
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37075 resultobj
= SWIG_From_int((int)result
);
37082 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37083 PyObject
*resultobj
;
37084 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37086 PyObject
* obj0
= 0 ;
37087 PyObject
* obj1
= 0 ;
37088 char *kwnames
[] = {
37089 (char *) "self",(char *) "mode", NULL
37092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37095 arg2
= (int)SWIG_As_int(obj1
);
37096 if (PyErr_Occurred()) SWIG_fail
;
37098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37099 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37101 wxPyEndAllowThreads(__tstate
);
37102 if (PyErr_Occurred()) SWIG_fail
;
37104 Py_INCREF(Py_None
); resultobj
= Py_None
;
37111 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37112 PyObject
*resultobj
;
37113 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37115 PyObject
* obj0
= 0 ;
37116 char *kwnames
[] = {
37117 (char *) "self", NULL
37120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37125 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37127 wxPyEndAllowThreads(__tstate
);
37128 if (PyErr_Occurred()) SWIG_fail
;
37130 resultobj
= SWIG_From_int((int)result
);
37137 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37138 PyObject
*resultobj
;
37139 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37140 wxArrayInt
*result
;
37141 PyObject
* obj0
= 0 ;
37142 char *kwnames
[] = {
37143 (char *) "self", NULL
37146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37152 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37153 result
= (wxArrayInt
*) &_result_ref
;
37156 wxPyEndAllowThreads(__tstate
);
37157 if (PyErr_Occurred()) SWIG_fail
;
37160 resultobj
= PyList_New(0);
37162 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37163 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37164 PyList_Append(resultobj
, val
);
37174 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37175 PyObject
*resultobj
;
37176 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37177 wxArrayInt
*result
;
37178 PyObject
* obj0
= 0 ;
37179 char *kwnames
[] = {
37180 (char *) "self", NULL
37183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37189 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37190 result
= (wxArrayInt
*) &_result_ref
;
37193 wxPyEndAllowThreads(__tstate
);
37194 if (PyErr_Occurred()) SWIG_fail
;
37197 resultobj
= PyList_New(0);
37199 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37200 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37201 PyList_Append(resultobj
, val
);
37211 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37214 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37216 return Py_BuildValue((char *)"");
37218 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37219 PyObject
*resultobj
;
37220 int arg1
= (int) 0 ;
37221 int arg2
= (int) 0 ;
37222 wxGBPosition
*result
;
37223 PyObject
* obj0
= 0 ;
37224 PyObject
* obj1
= 0 ;
37225 char *kwnames
[] = {
37226 (char *) "row",(char *) "col", NULL
37229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37231 arg1
= (int)SWIG_As_int(obj0
);
37232 if (PyErr_Occurred()) SWIG_fail
;
37235 arg2
= (int)SWIG_As_int(obj1
);
37236 if (PyErr_Occurred()) SWIG_fail
;
37239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37240 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37242 wxPyEndAllowThreads(__tstate
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37252 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37253 PyObject
*resultobj
;
37254 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37256 PyObject
* obj0
= 0 ;
37257 char *kwnames
[] = {
37258 (char *) "self", NULL
37261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37266 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37268 wxPyEndAllowThreads(__tstate
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37271 resultobj
= SWIG_From_int((int)result
);
37278 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37279 PyObject
*resultobj
;
37280 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37282 PyObject
* obj0
= 0 ;
37283 char *kwnames
[] = {
37284 (char *) "self", NULL
37287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37292 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37294 wxPyEndAllowThreads(__tstate
);
37295 if (PyErr_Occurred()) SWIG_fail
;
37297 resultobj
= SWIG_From_int((int)result
);
37304 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37305 PyObject
*resultobj
;
37306 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37308 PyObject
* obj0
= 0 ;
37309 PyObject
* obj1
= 0 ;
37310 char *kwnames
[] = {
37311 (char *) "self",(char *) "row", NULL
37314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37317 arg2
= (int)SWIG_As_int(obj1
);
37318 if (PyErr_Occurred()) SWIG_fail
;
37320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37321 (arg1
)->SetRow(arg2
);
37323 wxPyEndAllowThreads(__tstate
);
37324 if (PyErr_Occurred()) SWIG_fail
;
37326 Py_INCREF(Py_None
); resultobj
= Py_None
;
37333 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37334 PyObject
*resultobj
;
37335 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37337 PyObject
* obj0
= 0 ;
37338 PyObject
* obj1
= 0 ;
37339 char *kwnames
[] = {
37340 (char *) "self",(char *) "col", NULL
37343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37346 arg2
= (int)SWIG_As_int(obj1
);
37347 if (PyErr_Occurred()) SWIG_fail
;
37349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37350 (arg1
)->SetCol(arg2
);
37352 wxPyEndAllowThreads(__tstate
);
37353 if (PyErr_Occurred()) SWIG_fail
;
37355 Py_INCREF(Py_None
); resultobj
= Py_None
;
37362 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37363 PyObject
*resultobj
;
37364 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37365 wxGBPosition
*arg2
= 0 ;
37367 wxGBPosition temp2
;
37368 PyObject
* obj0
= 0 ;
37369 PyObject
* obj1
= 0 ;
37370 char *kwnames
[] = {
37371 (char *) "self",(char *) "other", NULL
37374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37379 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37383 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37385 wxPyEndAllowThreads(__tstate
);
37386 if (PyErr_Occurred()) SWIG_fail
;
37389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37397 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37398 PyObject
*resultobj
;
37399 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37400 wxGBPosition
*arg2
= 0 ;
37402 wxGBPosition temp2
;
37403 PyObject
* obj0
= 0 ;
37404 PyObject
* obj1
= 0 ;
37405 char *kwnames
[] = {
37406 (char *) "self",(char *) "other", NULL
37409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37414 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37418 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37420 wxPyEndAllowThreads(__tstate
);
37421 if (PyErr_Occurred()) SWIG_fail
;
37424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37432 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37433 PyObject
*resultobj
;
37434 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37435 int arg2
= (int) 0 ;
37436 int arg3
= (int) 0 ;
37437 PyObject
* obj0
= 0 ;
37438 PyObject
* obj1
= 0 ;
37439 PyObject
* obj2
= 0 ;
37440 char *kwnames
[] = {
37441 (char *) "self",(char *) "row",(char *) "col", NULL
37444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37448 arg2
= (int)SWIG_As_int(obj1
);
37449 if (PyErr_Occurred()) SWIG_fail
;
37452 arg3
= (int)SWIG_As_int(obj2
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37457 wxGBPosition_Set(arg1
,arg2
,arg3
);
37459 wxPyEndAllowThreads(__tstate
);
37460 if (PyErr_Occurred()) SWIG_fail
;
37462 Py_INCREF(Py_None
); resultobj
= Py_None
;
37469 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37470 PyObject
*resultobj
;
37471 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37473 PyObject
* obj0
= 0 ;
37474 char *kwnames
[] = {
37475 (char *) "self", NULL
37478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37483 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37485 wxPyEndAllowThreads(__tstate
);
37486 if (PyErr_Occurred()) SWIG_fail
;
37488 resultobj
= result
;
37495 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37498 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37500 return Py_BuildValue((char *)"");
37502 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37503 PyObject
*resultobj
;
37504 int arg1
= (int) 1 ;
37505 int arg2
= (int) 1 ;
37507 PyObject
* obj0
= 0 ;
37508 PyObject
* obj1
= 0 ;
37509 char *kwnames
[] = {
37510 (char *) "rowspan",(char *) "colspan", NULL
37513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37515 arg1
= (int)SWIG_As_int(obj0
);
37516 if (PyErr_Occurred()) SWIG_fail
;
37519 arg2
= (int)SWIG_As_int(obj1
);
37520 if (PyErr_Occurred()) SWIG_fail
;
37523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37524 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37526 wxPyEndAllowThreads(__tstate
);
37527 if (PyErr_Occurred()) SWIG_fail
;
37529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37536 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37537 PyObject
*resultobj
;
37538 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37540 PyObject
* obj0
= 0 ;
37541 char *kwnames
[] = {
37542 (char *) "self", NULL
37545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37550 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37552 wxPyEndAllowThreads(__tstate
);
37553 if (PyErr_Occurred()) SWIG_fail
;
37555 resultobj
= SWIG_From_int((int)result
);
37562 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37563 PyObject
*resultobj
;
37564 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37566 PyObject
* obj0
= 0 ;
37567 char *kwnames
[] = {
37568 (char *) "self", NULL
37571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37576 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37578 wxPyEndAllowThreads(__tstate
);
37579 if (PyErr_Occurred()) SWIG_fail
;
37581 resultobj
= SWIG_From_int((int)result
);
37588 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37589 PyObject
*resultobj
;
37590 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37592 PyObject
* obj0
= 0 ;
37593 PyObject
* obj1
= 0 ;
37594 char *kwnames
[] = {
37595 (char *) "self",(char *) "rowspan", NULL
37598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37601 arg2
= (int)SWIG_As_int(obj1
);
37602 if (PyErr_Occurred()) SWIG_fail
;
37604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37605 (arg1
)->SetRowspan(arg2
);
37607 wxPyEndAllowThreads(__tstate
);
37608 if (PyErr_Occurred()) SWIG_fail
;
37610 Py_INCREF(Py_None
); resultobj
= Py_None
;
37617 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37618 PyObject
*resultobj
;
37619 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37621 PyObject
* obj0
= 0 ;
37622 PyObject
* obj1
= 0 ;
37623 char *kwnames
[] = {
37624 (char *) "self",(char *) "colspan", NULL
37627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37630 arg2
= (int)SWIG_As_int(obj1
);
37631 if (PyErr_Occurred()) SWIG_fail
;
37633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37634 (arg1
)->SetColspan(arg2
);
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37639 Py_INCREF(Py_None
); resultobj
= Py_None
;
37646 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37647 PyObject
*resultobj
;
37648 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37649 wxGBSpan
*arg2
= 0 ;
37652 PyObject
* obj0
= 0 ;
37653 PyObject
* obj1
= 0 ;
37654 char *kwnames
[] = {
37655 (char *) "self",(char *) "other", NULL
37658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37663 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37667 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37669 wxPyEndAllowThreads(__tstate
);
37670 if (PyErr_Occurred()) SWIG_fail
;
37673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37681 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37682 PyObject
*resultobj
;
37683 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37684 wxGBSpan
*arg2
= 0 ;
37687 PyObject
* obj0
= 0 ;
37688 PyObject
* obj1
= 0 ;
37689 char *kwnames
[] = {
37690 (char *) "self",(char *) "other", NULL
37693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37698 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37702 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37704 wxPyEndAllowThreads(__tstate
);
37705 if (PyErr_Occurred()) SWIG_fail
;
37708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37716 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37717 PyObject
*resultobj
;
37718 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37719 int arg2
= (int) 1 ;
37720 int arg3
= (int) 1 ;
37721 PyObject
* obj0
= 0 ;
37722 PyObject
* obj1
= 0 ;
37723 PyObject
* obj2
= 0 ;
37724 char *kwnames
[] = {
37725 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37732 arg2
= (int)SWIG_As_int(obj1
);
37733 if (PyErr_Occurred()) SWIG_fail
;
37736 arg3
= (int)SWIG_As_int(obj2
);
37737 if (PyErr_Occurred()) SWIG_fail
;
37740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37741 wxGBSpan_Set(arg1
,arg2
,arg3
);
37743 wxPyEndAllowThreads(__tstate
);
37744 if (PyErr_Occurred()) SWIG_fail
;
37746 Py_INCREF(Py_None
); resultobj
= Py_None
;
37753 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37754 PyObject
*resultobj
;
37755 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37757 PyObject
* obj0
= 0 ;
37758 char *kwnames
[] = {
37759 (char *) "self", NULL
37762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37767 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37769 wxPyEndAllowThreads(__tstate
);
37770 if (PyErr_Occurred()) SWIG_fail
;
37772 resultobj
= result
;
37779 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
37781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37782 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37784 return Py_BuildValue((char *)"");
37786 static int _wrap_DefaultSpan_set(PyObject
*) {
37787 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37792 static PyObject
*_wrap_DefaultSpan_get() {
37795 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37800 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37801 PyObject
*resultobj
;
37802 wxGBSizerItem
*result
;
37803 char *kwnames
[] = {
37807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37810 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37812 wxPyEndAllowThreads(__tstate
);
37813 if (PyErr_Occurred()) SWIG_fail
;
37815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37822 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37823 PyObject
*resultobj
;
37824 wxWindow
*arg1
= (wxWindow
*) 0 ;
37825 wxGBPosition
*arg2
= 0 ;
37826 wxGBSpan
*arg3
= 0 ;
37829 PyObject
*arg6
= (PyObject
*) NULL
;
37830 wxGBSizerItem
*result
;
37831 wxGBPosition temp2
;
37833 PyObject
* obj0
= 0 ;
37834 PyObject
* obj1
= 0 ;
37835 PyObject
* obj2
= 0 ;
37836 PyObject
* obj3
= 0 ;
37837 PyObject
* obj4
= 0 ;
37838 PyObject
* obj5
= 0 ;
37839 char *kwnames
[] = {
37840 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37848 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37852 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37854 arg4
= (int)SWIG_As_int(obj3
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37856 arg5
= (int)SWIG_As_int(obj4
);
37857 if (PyErr_Occurred()) SWIG_fail
;
37862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37863 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37865 wxPyEndAllowThreads(__tstate
);
37866 if (PyErr_Occurred()) SWIG_fail
;
37868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37875 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37876 PyObject
*resultobj
;
37877 wxSizer
*arg1
= (wxSizer
*) 0 ;
37878 wxGBPosition
*arg2
= 0 ;
37879 wxGBSpan
*arg3
= 0 ;
37882 PyObject
*arg6
= (PyObject
*) NULL
;
37883 wxGBSizerItem
*result
;
37884 wxGBPosition temp2
;
37886 PyObject
* obj0
= 0 ;
37887 PyObject
* obj1
= 0 ;
37888 PyObject
* obj2
= 0 ;
37889 PyObject
* obj3
= 0 ;
37890 PyObject
* obj4
= 0 ;
37891 PyObject
* obj5
= 0 ;
37892 char *kwnames
[] = {
37893 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37901 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37905 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37907 arg4
= (int)SWIG_As_int(obj3
);
37908 if (PyErr_Occurred()) SWIG_fail
;
37909 arg5
= (int)SWIG_As_int(obj4
);
37910 if (PyErr_Occurred()) SWIG_fail
;
37915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37916 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37918 wxPyEndAllowThreads(__tstate
);
37919 if (PyErr_Occurred()) SWIG_fail
;
37921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37928 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37929 PyObject
*resultobj
;
37932 wxGBPosition
*arg3
= 0 ;
37933 wxGBSpan
*arg4
= 0 ;
37936 PyObject
*arg7
= (PyObject
*) NULL
;
37937 wxGBSizerItem
*result
;
37938 wxGBPosition temp3
;
37940 PyObject
* obj0
= 0 ;
37941 PyObject
* obj1
= 0 ;
37942 PyObject
* obj2
= 0 ;
37943 PyObject
* obj3
= 0 ;
37944 PyObject
* obj4
= 0 ;
37945 PyObject
* obj5
= 0 ;
37946 PyObject
* obj6
= 0 ;
37947 char *kwnames
[] = {
37948 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37952 arg1
= (int)SWIG_As_int(obj0
);
37953 if (PyErr_Occurred()) SWIG_fail
;
37954 arg2
= (int)SWIG_As_int(obj1
);
37955 if (PyErr_Occurred()) SWIG_fail
;
37958 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37962 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37964 arg5
= (int)SWIG_As_int(obj4
);
37965 if (PyErr_Occurred()) SWIG_fail
;
37966 arg6
= (int)SWIG_As_int(obj5
);
37967 if (PyErr_Occurred()) SWIG_fail
;
37972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37973 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37975 wxPyEndAllowThreads(__tstate
);
37976 if (PyErr_Occurred()) SWIG_fail
;
37978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37985 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37986 PyObject
*resultobj
;
37987 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37988 wxGBPosition result
;
37989 PyObject
* obj0
= 0 ;
37990 char *kwnames
[] = {
37991 (char *) "self", NULL
37994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37999 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38001 wxPyEndAllowThreads(__tstate
);
38002 if (PyErr_Occurred()) SWIG_fail
;
38005 wxGBPosition
* resultptr
;
38006 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38015 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38016 PyObject
*resultobj
;
38017 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38019 PyObject
* obj0
= 0 ;
38020 char *kwnames
[] = {
38021 (char *) "self", NULL
38024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38029 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38031 wxPyEndAllowThreads(__tstate
);
38032 if (PyErr_Occurred()) SWIG_fail
;
38035 wxGBSpan
* resultptr
;
38036 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38045 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38046 PyObject
*resultobj
;
38047 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38048 wxGBPosition
*arg2
= 0 ;
38050 wxGBPosition temp2
;
38051 PyObject
* obj0
= 0 ;
38052 PyObject
* obj1
= 0 ;
38053 char *kwnames
[] = {
38054 (char *) "self",(char *) "pos", NULL
38057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38062 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38066 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38068 wxPyEndAllowThreads(__tstate
);
38069 if (PyErr_Occurred()) SWIG_fail
;
38072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38080 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38081 PyObject
*resultobj
;
38082 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38083 wxGBSpan
*arg2
= 0 ;
38086 PyObject
* obj0
= 0 ;
38087 PyObject
* obj1
= 0 ;
38088 char *kwnames
[] = {
38089 (char *) "self",(char *) "span", NULL
38092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38097 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38101 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38103 wxPyEndAllowThreads(__tstate
);
38104 if (PyErr_Occurred()) SWIG_fail
;
38107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38115 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38116 PyObject
*resultobj
;
38117 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38118 wxGBSizerItem
*arg2
= 0 ;
38120 PyObject
* obj0
= 0 ;
38121 PyObject
* obj1
= 0 ;
38122 char *kwnames
[] = {
38123 (char *) "self",(char *) "other", NULL
38126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38132 if (arg2
== NULL
) {
38133 PyErr_SetString(PyExc_TypeError
,"null reference");
38137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38138 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38140 wxPyEndAllowThreads(__tstate
);
38141 if (PyErr_Occurred()) SWIG_fail
;
38144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38152 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38153 PyObject
*resultobj
;
38154 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38155 wxGBPosition
*arg2
= 0 ;
38156 wxGBSpan
*arg3
= 0 ;
38158 wxGBPosition temp2
;
38160 PyObject
* obj0
= 0 ;
38161 PyObject
* obj1
= 0 ;
38162 PyObject
* obj2
= 0 ;
38163 char *kwnames
[] = {
38164 (char *) "self",(char *) "pos",(char *) "span", NULL
38167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38172 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38176 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38180 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38182 wxPyEndAllowThreads(__tstate
);
38183 if (PyErr_Occurred()) SWIG_fail
;
38186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38194 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38195 PyObject
*resultobj
;
38196 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38197 wxGBPosition result
;
38198 PyObject
* obj0
= 0 ;
38199 char *kwnames
[] = {
38200 (char *) "self", NULL
38203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38208 result
= wxGBSizerItem_GetEndPos(arg1
);
38210 wxPyEndAllowThreads(__tstate
);
38211 if (PyErr_Occurred()) SWIG_fail
;
38214 wxGBPosition
* resultptr
;
38215 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38224 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38225 PyObject
*resultobj
;
38226 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38227 wxGridBagSizer
*result
;
38228 PyObject
* obj0
= 0 ;
38229 char *kwnames
[] = {
38230 (char *) "self", NULL
38233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38238 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38240 wxPyEndAllowThreads(__tstate
);
38241 if (PyErr_Occurred()) SWIG_fail
;
38243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38250 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38251 PyObject
*resultobj
;
38252 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38253 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38254 PyObject
* obj0
= 0 ;
38255 PyObject
* obj1
= 0 ;
38256 char *kwnames
[] = {
38257 (char *) "self",(char *) "sizer", NULL
38260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38267 (arg1
)->SetGBSizer(arg2
);
38269 wxPyEndAllowThreads(__tstate
);
38270 if (PyErr_Occurred()) SWIG_fail
;
38272 Py_INCREF(Py_None
); resultobj
= Py_None
;
38279 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38282 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38284 return Py_BuildValue((char *)"");
38286 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38287 PyObject
*resultobj
;
38288 int arg1
= (int) 0 ;
38289 int arg2
= (int) 0 ;
38290 wxGridBagSizer
*result
;
38291 PyObject
* obj0
= 0 ;
38292 PyObject
* obj1
= 0 ;
38293 char *kwnames
[] = {
38294 (char *) "vgap",(char *) "hgap", NULL
38297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38299 arg1
= (int)SWIG_As_int(obj0
);
38300 if (PyErr_Occurred()) SWIG_fail
;
38303 arg2
= (int)SWIG_As_int(obj1
);
38304 if (PyErr_Occurred()) SWIG_fail
;
38307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38308 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38310 wxPyEndAllowThreads(__tstate
);
38311 if (PyErr_Occurred()) SWIG_fail
;
38313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38320 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38321 PyObject
*resultobj
;
38322 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38323 PyObject
*arg2
= (PyObject
*) 0 ;
38324 wxGBPosition
*arg3
= 0 ;
38325 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38326 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38327 int arg5
= (int) 0 ;
38328 int arg6
= (int) 0 ;
38329 PyObject
*arg7
= (PyObject
*) NULL
;
38331 wxGBPosition temp3
;
38333 PyObject
* obj0
= 0 ;
38334 PyObject
* obj1
= 0 ;
38335 PyObject
* obj2
= 0 ;
38336 PyObject
* obj3
= 0 ;
38337 PyObject
* obj4
= 0 ;
38338 PyObject
* obj5
= 0 ;
38339 PyObject
* obj6
= 0 ;
38340 char *kwnames
[] = {
38341 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38350 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38355 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38359 arg5
= (int)SWIG_As_int(obj4
);
38360 if (PyErr_Occurred()) SWIG_fail
;
38363 arg6
= (int)SWIG_As_int(obj5
);
38364 if (PyErr_Occurred()) SWIG_fail
;
38370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38371 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38373 wxPyEndAllowThreads(__tstate
);
38374 if (PyErr_Occurred()) SWIG_fail
;
38377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38385 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38386 PyObject
*resultobj
;
38387 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38388 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38390 PyObject
* obj0
= 0 ;
38391 PyObject
* obj1
= 0 ;
38392 char *kwnames
[] = {
38393 (char *) "self",(char *) "item", NULL
38396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38403 result
= (bool)(arg1
)->Add(arg2
);
38405 wxPyEndAllowThreads(__tstate
);
38406 if (PyErr_Occurred()) SWIG_fail
;
38409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38417 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38418 PyObject
*resultobj
;
38419 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38421 PyObject
* obj0
= 0 ;
38422 char *kwnames
[] = {
38423 (char *) "self", NULL
38426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38431 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38433 wxPyEndAllowThreads(__tstate
);
38434 if (PyErr_Occurred()) SWIG_fail
;
38437 wxSize
* resultptr
;
38438 resultptr
= new wxSize((wxSize
&) result
);
38439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38447 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38448 PyObject
*resultobj
;
38449 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38452 PyObject
* obj0
= 0 ;
38453 PyObject
* obj1
= 0 ;
38454 char *kwnames
[] = {
38455 (char *) "self",(char *) "sz", NULL
38458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38463 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38467 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38469 wxPyEndAllowThreads(__tstate
);
38470 if (PyErr_Occurred()) SWIG_fail
;
38472 Py_INCREF(Py_None
); resultobj
= Py_None
;
38479 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38480 PyObject
*resultobj
;
38481 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38482 wxWindow
*arg2
= (wxWindow
*) 0 ;
38483 wxGBPosition result
;
38484 PyObject
* obj0
= 0 ;
38485 PyObject
* obj1
= 0 ;
38487 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38494 result
= (arg1
)->GetItemPosition(arg2
);
38496 wxPyEndAllowThreads(__tstate
);
38497 if (PyErr_Occurred()) SWIG_fail
;
38500 wxGBPosition
* resultptr
;
38501 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38510 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38511 PyObject
*resultobj
;
38512 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38513 wxSizer
*arg2
= (wxSizer
*) 0 ;
38514 wxGBPosition result
;
38515 PyObject
* obj0
= 0 ;
38516 PyObject
* obj1
= 0 ;
38518 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38525 result
= (arg1
)->GetItemPosition(arg2
);
38527 wxPyEndAllowThreads(__tstate
);
38528 if (PyErr_Occurred()) SWIG_fail
;
38531 wxGBPosition
* resultptr
;
38532 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38541 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38542 PyObject
*resultobj
;
38543 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38545 wxGBPosition result
;
38546 PyObject
* obj0
= 0 ;
38547 PyObject
* obj1
= 0 ;
38549 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38552 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38553 if (PyErr_Occurred()) SWIG_fail
;
38555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38556 result
= (arg1
)->GetItemPosition(arg2
);
38558 wxPyEndAllowThreads(__tstate
);
38559 if (PyErr_Occurred()) SWIG_fail
;
38562 wxGBPosition
* resultptr
;
38563 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38572 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38577 argc
= PyObject_Length(args
);
38578 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38579 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38585 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38595 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38603 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38611 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38621 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38629 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38637 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38645 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38647 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38652 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38657 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38658 PyObject
*resultobj
;
38659 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38660 wxWindow
*arg2
= (wxWindow
*) 0 ;
38661 wxGBPosition
*arg3
= 0 ;
38663 wxGBPosition temp3
;
38664 PyObject
* obj0
= 0 ;
38665 PyObject
* obj1
= 0 ;
38666 PyObject
* obj2
= 0 ;
38668 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38675 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38679 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38681 wxPyEndAllowThreads(__tstate
);
38682 if (PyErr_Occurred()) SWIG_fail
;
38685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38693 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38694 PyObject
*resultobj
;
38695 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38696 wxSizer
*arg2
= (wxSizer
*) 0 ;
38697 wxGBPosition
*arg3
= 0 ;
38699 wxGBPosition temp3
;
38700 PyObject
* obj0
= 0 ;
38701 PyObject
* obj1
= 0 ;
38702 PyObject
* obj2
= 0 ;
38704 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38711 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38715 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38717 wxPyEndAllowThreads(__tstate
);
38718 if (PyErr_Occurred()) SWIG_fail
;
38721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38729 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38730 PyObject
*resultobj
;
38731 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38733 wxGBPosition
*arg3
= 0 ;
38735 wxGBPosition temp3
;
38736 PyObject
* obj0
= 0 ;
38737 PyObject
* obj1
= 0 ;
38738 PyObject
* obj2
= 0 ;
38740 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38743 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38744 if (PyErr_Occurred()) SWIG_fail
;
38747 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38751 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38753 wxPyEndAllowThreads(__tstate
);
38754 if (PyErr_Occurred()) SWIG_fail
;
38757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38765 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38770 argc
= PyObject_Length(args
);
38771 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38772 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38778 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38788 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38797 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38800 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38809 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38819 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38828 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38831 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38840 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38848 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38851 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38854 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38860 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38865 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
38866 PyObject
*resultobj
;
38867 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38868 wxWindow
*arg2
= (wxWindow
*) 0 ;
38870 PyObject
* obj0
= 0 ;
38871 PyObject
* obj1
= 0 ;
38873 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38880 result
= (arg1
)->GetItemSpan(arg2
);
38882 wxPyEndAllowThreads(__tstate
);
38883 if (PyErr_Occurred()) SWIG_fail
;
38886 wxGBSpan
* resultptr
;
38887 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38896 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
38897 PyObject
*resultobj
;
38898 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38899 wxSizer
*arg2
= (wxSizer
*) 0 ;
38901 PyObject
* obj0
= 0 ;
38902 PyObject
* obj1
= 0 ;
38904 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38911 result
= (arg1
)->GetItemSpan(arg2
);
38913 wxPyEndAllowThreads(__tstate
);
38914 if (PyErr_Occurred()) SWIG_fail
;
38917 wxGBSpan
* resultptr
;
38918 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38927 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
38928 PyObject
*resultobj
;
38929 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38932 PyObject
* obj0
= 0 ;
38933 PyObject
* obj1
= 0 ;
38935 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38938 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38939 if (PyErr_Occurred()) SWIG_fail
;
38941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38942 result
= (arg1
)->GetItemSpan(arg2
);
38944 wxPyEndAllowThreads(__tstate
);
38945 if (PyErr_Occurred()) SWIG_fail
;
38948 wxGBSpan
* resultptr
;
38949 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38958 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38963 argc
= PyObject_Length(args
);
38964 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38965 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38971 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38981 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38989 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38997 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39007 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39015 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39023 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39031 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39033 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39038 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39043 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39044 PyObject
*resultobj
;
39045 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39046 wxWindow
*arg2
= (wxWindow
*) 0 ;
39047 wxGBSpan
*arg3
= 0 ;
39050 PyObject
* obj0
= 0 ;
39051 PyObject
* obj1
= 0 ;
39052 PyObject
* obj2
= 0 ;
39054 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39061 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39065 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39067 wxPyEndAllowThreads(__tstate
);
39068 if (PyErr_Occurred()) SWIG_fail
;
39071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39079 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39080 PyObject
*resultobj
;
39081 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39082 wxSizer
*arg2
= (wxSizer
*) 0 ;
39083 wxGBSpan
*arg3
= 0 ;
39086 PyObject
* obj0
= 0 ;
39087 PyObject
* obj1
= 0 ;
39088 PyObject
* obj2
= 0 ;
39090 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39097 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39101 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39103 wxPyEndAllowThreads(__tstate
);
39104 if (PyErr_Occurred()) SWIG_fail
;
39107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39115 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39116 PyObject
*resultobj
;
39117 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39119 wxGBSpan
*arg3
= 0 ;
39122 PyObject
* obj0
= 0 ;
39123 PyObject
* obj1
= 0 ;
39124 PyObject
* obj2
= 0 ;
39126 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39129 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39130 if (PyErr_Occurred()) SWIG_fail
;
39133 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39137 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39139 wxPyEndAllowThreads(__tstate
);
39140 if (PyErr_Occurred()) SWIG_fail
;
39143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39151 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39156 argc
= PyObject_Length(args
);
39157 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39158 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39164 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39174 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39183 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39186 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39195 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39205 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39214 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39217 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39226 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39234 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39237 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39240 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39246 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39251 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39252 PyObject
*resultobj
;
39253 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39254 wxWindow
*arg2
= (wxWindow
*) 0 ;
39255 wxGBSizerItem
*result
;
39256 PyObject
* obj0
= 0 ;
39257 PyObject
* obj1
= 0 ;
39259 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39266 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39268 wxPyEndAllowThreads(__tstate
);
39269 if (PyErr_Occurred()) SWIG_fail
;
39271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39278 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39279 PyObject
*resultobj
;
39280 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39281 wxSizer
*arg2
= (wxSizer
*) 0 ;
39282 wxGBSizerItem
*result
;
39283 PyObject
* obj0
= 0 ;
39284 PyObject
* obj1
= 0 ;
39286 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39293 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39295 wxPyEndAllowThreads(__tstate
);
39296 if (PyErr_Occurred()) SWIG_fail
;
39298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39305 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39310 argc
= PyObject_Length(args
);
39311 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39312 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39318 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39328 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39336 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39344 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39354 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39362 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39367 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39372 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39373 PyObject
*resultobj
;
39374 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39375 wxGBPosition
*arg2
= 0 ;
39376 wxGBSizerItem
*result
;
39377 wxGBPosition temp2
;
39378 PyObject
* obj0
= 0 ;
39379 PyObject
* obj1
= 0 ;
39380 char *kwnames
[] = {
39381 (char *) "self",(char *) "pos", NULL
39384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39389 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39393 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39395 wxPyEndAllowThreads(__tstate
);
39396 if (PyErr_Occurred()) SWIG_fail
;
39398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39405 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39406 PyObject
*resultobj
;
39407 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39408 wxPoint
*arg2
= 0 ;
39409 wxGBSizerItem
*result
;
39411 PyObject
* obj0
= 0 ;
39412 PyObject
* obj1
= 0 ;
39413 char *kwnames
[] = {
39414 (char *) "self",(char *) "pt", NULL
39417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39422 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39426 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39428 wxPyEndAllowThreads(__tstate
);
39429 if (PyErr_Occurred()) SWIG_fail
;
39431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39438 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39439 PyObject
*resultobj
;
39440 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39441 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39442 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39444 PyObject
* obj0
= 0 ;
39445 PyObject
* obj1
= 0 ;
39446 PyObject
* obj2
= 0 ;
39447 char *kwnames
[] = {
39448 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39457 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39462 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39464 wxPyEndAllowThreads(__tstate
);
39465 if (PyErr_Occurred()) SWIG_fail
;
39468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39476 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39477 PyObject
*resultobj
;
39478 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39479 wxGBPosition
*arg2
= 0 ;
39480 wxGBSpan
*arg3
= 0 ;
39481 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39483 wxGBPosition temp2
;
39485 PyObject
* obj0
= 0 ;
39486 PyObject
* obj1
= 0 ;
39487 PyObject
* obj2
= 0 ;
39488 PyObject
* obj3
= 0 ;
39489 char *kwnames
[] = {
39490 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39498 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39502 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39505 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39510 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39512 wxPyEndAllowThreads(__tstate
);
39513 if (PyErr_Occurred()) SWIG_fail
;
39516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39524 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39527 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39529 return Py_BuildValue((char *)"");
39531 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39532 PyObject
*resultobj
;
39533 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39535 wxWindow
*arg3
= (wxWindow
*) 0 ;
39537 int arg5
= (int) 0 ;
39538 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39539 PyObject
* obj0
= 0 ;
39540 PyObject
* obj1
= 0 ;
39541 PyObject
* obj2
= 0 ;
39542 PyObject
* obj3
= 0 ;
39543 PyObject
* obj4
= 0 ;
39544 PyObject
* obj5
= 0 ;
39545 char *kwnames
[] = {
39546 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39552 arg2
= (int)SWIG_As_int(obj1
);
39553 if (PyErr_Occurred()) SWIG_fail
;
39554 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39556 arg4
= (int)SWIG_As_int(obj3
);
39557 if (PyErr_Occurred()) SWIG_fail
;
39559 arg5
= (int)SWIG_As_int(obj4
);
39560 if (PyErr_Occurred()) SWIG_fail
;
39563 arg6
= (int)SWIG_As_int(obj5
);
39564 if (PyErr_Occurred()) SWIG_fail
;
39567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39568 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39570 wxPyEndAllowThreads(__tstate
);
39571 if (PyErr_Occurred()) SWIG_fail
;
39573 Py_INCREF(Py_None
); resultobj
= Py_None
;
39580 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39581 PyObject
*resultobj
;
39582 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39583 wxWindow
*arg2
= (wxWindow
*) 0 ;
39584 int arg3
= (int) 0 ;
39585 PyObject
* obj0
= 0 ;
39586 PyObject
* obj1
= 0 ;
39587 PyObject
* obj2
= 0 ;
39588 char *kwnames
[] = {
39589 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39598 arg3
= (int)SWIG_As_int(obj2
);
39599 if (PyErr_Occurred()) SWIG_fail
;
39602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39603 (arg1
)->LeftOf(arg2
,arg3
);
39605 wxPyEndAllowThreads(__tstate
);
39606 if (PyErr_Occurred()) SWIG_fail
;
39608 Py_INCREF(Py_None
); resultobj
= Py_None
;
39615 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39616 PyObject
*resultobj
;
39617 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39618 wxWindow
*arg2
= (wxWindow
*) 0 ;
39619 int arg3
= (int) 0 ;
39620 PyObject
* obj0
= 0 ;
39621 PyObject
* obj1
= 0 ;
39622 PyObject
* obj2
= 0 ;
39623 char *kwnames
[] = {
39624 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39633 arg3
= (int)SWIG_As_int(obj2
);
39634 if (PyErr_Occurred()) SWIG_fail
;
39637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39638 (arg1
)->RightOf(arg2
,arg3
);
39640 wxPyEndAllowThreads(__tstate
);
39641 if (PyErr_Occurred()) SWIG_fail
;
39643 Py_INCREF(Py_None
); resultobj
= Py_None
;
39650 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39651 PyObject
*resultobj
;
39652 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39653 wxWindow
*arg2
= (wxWindow
*) 0 ;
39654 int arg3
= (int) 0 ;
39655 PyObject
* obj0
= 0 ;
39656 PyObject
* obj1
= 0 ;
39657 PyObject
* obj2
= 0 ;
39658 char *kwnames
[] = {
39659 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39668 arg3
= (int)SWIG_As_int(obj2
);
39669 if (PyErr_Occurred()) SWIG_fail
;
39672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39673 (arg1
)->Above(arg2
,arg3
);
39675 wxPyEndAllowThreads(__tstate
);
39676 if (PyErr_Occurred()) SWIG_fail
;
39678 Py_INCREF(Py_None
); resultobj
= Py_None
;
39685 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39686 PyObject
*resultobj
;
39687 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39688 wxWindow
*arg2
= (wxWindow
*) 0 ;
39689 int arg3
= (int) 0 ;
39690 PyObject
* obj0
= 0 ;
39691 PyObject
* obj1
= 0 ;
39692 PyObject
* obj2
= 0 ;
39693 char *kwnames
[] = {
39694 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39703 arg3
= (int)SWIG_As_int(obj2
);
39704 if (PyErr_Occurred()) SWIG_fail
;
39707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39708 (arg1
)->Below(arg2
,arg3
);
39710 wxPyEndAllowThreads(__tstate
);
39711 if (PyErr_Occurred()) SWIG_fail
;
39713 Py_INCREF(Py_None
); resultobj
= Py_None
;
39720 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39721 PyObject
*resultobj
;
39722 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39723 wxWindow
*arg2
= (wxWindow
*) 0 ;
39725 int arg4
= (int) 0 ;
39726 PyObject
* obj0
= 0 ;
39727 PyObject
* obj1
= 0 ;
39728 PyObject
* obj2
= 0 ;
39729 PyObject
* obj3
= 0 ;
39730 char *kwnames
[] = {
39731 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39739 arg3
= (int)SWIG_As_int(obj2
);
39740 if (PyErr_Occurred()) SWIG_fail
;
39742 arg4
= (int)SWIG_As_int(obj3
);
39743 if (PyErr_Occurred()) SWIG_fail
;
39746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39747 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39749 wxPyEndAllowThreads(__tstate
);
39750 if (PyErr_Occurred()) SWIG_fail
;
39752 Py_INCREF(Py_None
); resultobj
= Py_None
;
39759 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39760 PyObject
*resultobj
;
39761 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39762 wxWindow
*arg2
= (wxWindow
*) 0 ;
39765 PyObject
* obj0
= 0 ;
39766 PyObject
* obj1
= 0 ;
39767 PyObject
* obj2
= 0 ;
39768 PyObject
* obj3
= 0 ;
39769 char *kwnames
[] = {
39770 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39778 arg3
= (int)SWIG_As_int(obj2
);
39779 if (PyErr_Occurred()) SWIG_fail
;
39780 arg4
= (int)SWIG_As_int(obj3
);
39781 if (PyErr_Occurred()) SWIG_fail
;
39783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39784 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39786 wxPyEndAllowThreads(__tstate
);
39787 if (PyErr_Occurred()) SWIG_fail
;
39789 Py_INCREF(Py_None
); resultobj
= Py_None
;
39796 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39797 PyObject
*resultobj
;
39798 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39800 PyObject
* obj0
= 0 ;
39801 PyObject
* obj1
= 0 ;
39802 char *kwnames
[] = {
39803 (char *) "self",(char *) "val", NULL
39806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39809 arg2
= (int)SWIG_As_int(obj1
);
39810 if (PyErr_Occurred()) SWIG_fail
;
39812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39813 (arg1
)->Absolute(arg2
);
39815 wxPyEndAllowThreads(__tstate
);
39816 if (PyErr_Occurred()) SWIG_fail
;
39818 Py_INCREF(Py_None
); resultobj
= Py_None
;
39825 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39826 PyObject
*resultobj
;
39827 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39828 PyObject
* obj0
= 0 ;
39829 char *kwnames
[] = {
39830 (char *) "self", NULL
39833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39838 (arg1
)->Unconstrained();
39840 wxPyEndAllowThreads(__tstate
);
39841 if (PyErr_Occurred()) SWIG_fail
;
39843 Py_INCREF(Py_None
); resultobj
= Py_None
;
39850 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39851 PyObject
*resultobj
;
39852 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39853 PyObject
* obj0
= 0 ;
39854 char *kwnames
[] = {
39855 (char *) "self", NULL
39858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39865 wxPyEndAllowThreads(__tstate
);
39866 if (PyErr_Occurred()) SWIG_fail
;
39868 Py_INCREF(Py_None
); resultobj
= Py_None
;
39875 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39876 PyObject
*resultobj
;
39877 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39879 PyObject
* obj0
= 0 ;
39880 char *kwnames
[] = {
39881 (char *) "self", NULL
39884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39889 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39891 wxPyEndAllowThreads(__tstate
);
39892 if (PyErr_Occurred()) SWIG_fail
;
39895 resultobj
= wxPyMake_wxObject(result
, 0);
39903 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39904 PyObject
*resultobj
;
39905 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39907 PyObject
* obj0
= 0 ;
39908 char *kwnames
[] = {
39909 (char *) "self", NULL
39912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39917 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39919 wxPyEndAllowThreads(__tstate
);
39920 if (PyErr_Occurred()) SWIG_fail
;
39922 resultobj
= SWIG_From_int((int)result
);
39929 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39930 PyObject
*resultobj
;
39931 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39933 PyObject
* obj0
= 0 ;
39934 PyObject
* obj1
= 0 ;
39935 char *kwnames
[] = {
39936 (char *) "self",(char *) "which", NULL
39939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39942 arg2
= (int)SWIG_As_int(obj1
);
39943 if (PyErr_Occurred()) SWIG_fail
;
39945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39946 (arg1
)->SetEdge((wxEdge
)arg2
);
39948 wxPyEndAllowThreads(__tstate
);
39949 if (PyErr_Occurred()) SWIG_fail
;
39951 Py_INCREF(Py_None
); resultobj
= Py_None
;
39958 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39959 PyObject
*resultobj
;
39960 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39962 PyObject
* obj0
= 0 ;
39963 PyObject
* obj1
= 0 ;
39964 char *kwnames
[] = {
39965 (char *) "self",(char *) "v", NULL
39968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39971 arg2
= (int)SWIG_As_int(obj1
);
39972 if (PyErr_Occurred()) SWIG_fail
;
39974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39975 (arg1
)->SetValue(arg2
);
39977 wxPyEndAllowThreads(__tstate
);
39978 if (PyErr_Occurred()) SWIG_fail
;
39980 Py_INCREF(Py_None
); resultobj
= Py_None
;
39987 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39988 PyObject
*resultobj
;
39989 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39991 PyObject
* obj0
= 0 ;
39992 char *kwnames
[] = {
39993 (char *) "self", NULL
39996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40001 result
= (int)(arg1
)->GetMargin();
40003 wxPyEndAllowThreads(__tstate
);
40004 if (PyErr_Occurred()) SWIG_fail
;
40006 resultobj
= SWIG_From_int((int)result
);
40013 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40014 PyObject
*resultobj
;
40015 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40017 PyObject
* obj0
= 0 ;
40018 PyObject
* obj1
= 0 ;
40019 char *kwnames
[] = {
40020 (char *) "self",(char *) "m", NULL
40023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40026 arg2
= (int)SWIG_As_int(obj1
);
40027 if (PyErr_Occurred()) SWIG_fail
;
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40030 (arg1
)->SetMargin(arg2
);
40032 wxPyEndAllowThreads(__tstate
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40035 Py_INCREF(Py_None
); resultobj
= Py_None
;
40042 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40043 PyObject
*resultobj
;
40044 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40046 PyObject
* obj0
= 0 ;
40047 char *kwnames
[] = {
40048 (char *) "self", NULL
40051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40056 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40058 wxPyEndAllowThreads(__tstate
);
40059 if (PyErr_Occurred()) SWIG_fail
;
40061 resultobj
= SWIG_From_int((int)result
);
40068 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40069 PyObject
*resultobj
;
40070 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40072 PyObject
* obj0
= 0 ;
40073 char *kwnames
[] = {
40074 (char *) "self", NULL
40077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40082 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40084 wxPyEndAllowThreads(__tstate
);
40085 if (PyErr_Occurred()) SWIG_fail
;
40087 resultobj
= SWIG_From_int((int)result
);
40094 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40095 PyObject
*resultobj
;
40096 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40098 PyObject
* obj0
= 0 ;
40099 char *kwnames
[] = {
40100 (char *) "self", NULL
40103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40108 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40110 wxPyEndAllowThreads(__tstate
);
40111 if (PyErr_Occurred()) SWIG_fail
;
40113 resultobj
= SWIG_From_int((int)result
);
40120 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40121 PyObject
*resultobj
;
40122 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40124 PyObject
* obj0
= 0 ;
40125 char *kwnames
[] = {
40126 (char *) "self", NULL
40129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40134 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40136 wxPyEndAllowThreads(__tstate
);
40137 if (PyErr_Occurred()) SWIG_fail
;
40140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40148 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40149 PyObject
*resultobj
;
40150 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40152 PyObject
* obj0
= 0 ;
40153 PyObject
* obj1
= 0 ;
40154 char *kwnames
[] = {
40155 (char *) "self",(char *) "d", NULL
40158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40161 arg2
= (bool)SWIG_As_bool(obj1
);
40162 if (PyErr_Occurred()) SWIG_fail
;
40164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40165 (arg1
)->SetDone(arg2
);
40167 wxPyEndAllowThreads(__tstate
);
40168 if (PyErr_Occurred()) SWIG_fail
;
40170 Py_INCREF(Py_None
); resultobj
= Py_None
;
40177 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40178 PyObject
*resultobj
;
40179 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40181 PyObject
* obj0
= 0 ;
40182 char *kwnames
[] = {
40183 (char *) "self", NULL
40186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40191 result
= (int)(arg1
)->GetRelationship();
40193 wxPyEndAllowThreads(__tstate
);
40194 if (PyErr_Occurred()) SWIG_fail
;
40196 resultobj
= SWIG_From_int((int)result
);
40203 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40204 PyObject
*resultobj
;
40205 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40207 PyObject
* obj0
= 0 ;
40208 PyObject
* obj1
= 0 ;
40209 char *kwnames
[] = {
40210 (char *) "self",(char *) "r", NULL
40213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40216 arg2
= (int)SWIG_As_int(obj1
);
40217 if (PyErr_Occurred()) SWIG_fail
;
40219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40220 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40222 wxPyEndAllowThreads(__tstate
);
40223 if (PyErr_Occurred()) SWIG_fail
;
40225 Py_INCREF(Py_None
); resultobj
= Py_None
;
40232 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40233 PyObject
*resultobj
;
40234 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40235 wxWindow
*arg2
= (wxWindow
*) 0 ;
40237 PyObject
* obj0
= 0 ;
40238 PyObject
* obj1
= 0 ;
40239 char *kwnames
[] = {
40240 (char *) "self",(char *) "otherW", NULL
40243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40250 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40252 wxPyEndAllowThreads(__tstate
);
40253 if (PyErr_Occurred()) SWIG_fail
;
40256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40264 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40265 PyObject
*resultobj
;
40266 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40267 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40268 wxWindow
*arg3
= (wxWindow
*) 0 ;
40270 PyObject
* obj0
= 0 ;
40271 PyObject
* obj1
= 0 ;
40272 PyObject
* obj2
= 0 ;
40273 char *kwnames
[] = {
40274 (char *) "self",(char *) "constraints",(char *) "win", NULL
40277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40282 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40286 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40288 wxPyEndAllowThreads(__tstate
);
40289 if (PyErr_Occurred()) SWIG_fail
;
40292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40300 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40301 PyObject
*resultobj
;
40302 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40304 wxWindow
*arg3
= (wxWindow
*) 0 ;
40305 wxWindow
*arg4
= (wxWindow
*) 0 ;
40307 PyObject
* obj0
= 0 ;
40308 PyObject
* obj1
= 0 ;
40309 PyObject
* obj2
= 0 ;
40310 PyObject
* obj3
= 0 ;
40311 char *kwnames
[] = {
40312 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40318 arg2
= (int)SWIG_As_int(obj1
);
40319 if (PyErr_Occurred()) SWIG_fail
;
40320 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40322 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40326 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40328 wxPyEndAllowThreads(__tstate
);
40329 if (PyErr_Occurred()) SWIG_fail
;
40331 resultobj
= SWIG_From_int((int)result
);
40338 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40341 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40343 return Py_BuildValue((char *)"");
40345 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40346 PyObject
*resultobj
;
40347 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40348 wxIndividualLayoutConstraint
*result
;
40349 PyObject
* obj0
= 0 ;
40350 char *kwnames
[] = {
40351 (char *) "self", NULL
40354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40357 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40366 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40367 PyObject
*resultobj
;
40368 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40369 wxIndividualLayoutConstraint
*result
;
40370 PyObject
* obj0
= 0 ;
40371 char *kwnames
[] = {
40372 (char *) "self", NULL
40375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40378 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40387 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40388 PyObject
*resultobj
;
40389 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40390 wxIndividualLayoutConstraint
*result
;
40391 PyObject
* obj0
= 0 ;
40392 char *kwnames
[] = {
40393 (char *) "self", NULL
40396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40399 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40408 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40409 PyObject
*resultobj
;
40410 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40411 wxIndividualLayoutConstraint
*result
;
40412 PyObject
* obj0
= 0 ;
40413 char *kwnames
[] = {
40414 (char *) "self", NULL
40417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40420 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40429 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40430 PyObject
*resultobj
;
40431 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40432 wxIndividualLayoutConstraint
*result
;
40433 PyObject
* obj0
= 0 ;
40434 char *kwnames
[] = {
40435 (char *) "self", NULL
40438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40441 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40450 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40451 PyObject
*resultobj
;
40452 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40453 wxIndividualLayoutConstraint
*result
;
40454 PyObject
* obj0
= 0 ;
40455 char *kwnames
[] = {
40456 (char *) "self", NULL
40459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40462 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40471 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40472 PyObject
*resultobj
;
40473 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40474 wxIndividualLayoutConstraint
*result
;
40475 PyObject
* obj0
= 0 ;
40476 char *kwnames
[] = {
40477 (char *) "self", NULL
40480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40483 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40492 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40493 PyObject
*resultobj
;
40494 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40495 wxIndividualLayoutConstraint
*result
;
40496 PyObject
* obj0
= 0 ;
40497 char *kwnames
[] = {
40498 (char *) "self", NULL
40501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40504 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40513 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40514 PyObject
*resultobj
;
40515 wxLayoutConstraints
*result
;
40516 char *kwnames
[] = {
40520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40523 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40525 wxPyEndAllowThreads(__tstate
);
40526 if (PyErr_Occurred()) SWIG_fail
;
40528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40535 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40536 PyObject
*resultobj
;
40537 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40538 wxWindow
*arg2
= (wxWindow
*) 0 ;
40539 int *arg3
= (int *) 0 ;
40543 PyObject
* obj0
= 0 ;
40544 PyObject
* obj1
= 0 ;
40545 char *kwnames
[] = {
40546 (char *) "self",(char *) "win", NULL
40549 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40557 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40559 wxPyEndAllowThreads(__tstate
);
40560 if (PyErr_Occurred()) SWIG_fail
;
40563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40565 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40566 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40573 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40574 PyObject
*resultobj
;
40575 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40577 PyObject
* obj0
= 0 ;
40578 char *kwnames
[] = {
40579 (char *) "self", NULL
40582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40587 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40589 wxPyEndAllowThreads(__tstate
);
40590 if (PyErr_Occurred()) SWIG_fail
;
40593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40601 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40604 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40606 return Py_BuildValue((char *)"");
40608 static PyMethodDef SwigMethods
[] = {
40609 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40610 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40611 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40612 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40613 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40614 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40615 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40616 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40617 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40618 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40619 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40620 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40621 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40622 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40623 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40624 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40625 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40626 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40627 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40628 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40629 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40630 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40631 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40632 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40633 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40634 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40635 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40636 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40637 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40638 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40639 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40640 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40641 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40642 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40643 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40644 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40645 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40646 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40647 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40648 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40649 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40650 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40651 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40652 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40653 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40654 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40655 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40656 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40657 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40658 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40659 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40660 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40661 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40662 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40663 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40664 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40665 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40666 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40667 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40668 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40669 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40670 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40671 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40672 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40673 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40674 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40675 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40676 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40677 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40678 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40679 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40680 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40681 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40682 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40683 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40684 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40685 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40686 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40687 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40688 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40689 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40690 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40691 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40692 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40693 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40694 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40695 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40696 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40697 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40698 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40699 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40700 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40701 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40702 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40703 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40704 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40705 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40706 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40707 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40708 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40709 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40710 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40711 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40712 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40713 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
40714 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40715 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40716 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40717 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40718 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40719 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40720 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40721 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40722 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40723 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40724 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40725 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40726 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40727 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40728 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40729 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40730 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40731 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40732 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40733 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40734 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40735 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40736 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40737 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40738 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40739 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40740 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40741 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
40742 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40743 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40744 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40745 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40746 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40747 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40748 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40749 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40750 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40751 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40752 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40753 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40754 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40755 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40756 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40757 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40758 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40759 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
40760 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40761 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
40762 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40763 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40764 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40765 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40766 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40767 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40768 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40769 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
40770 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40771 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40772 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40773 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40774 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40776 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40777 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40778 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40779 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40780 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40783 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40784 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40787 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40788 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40790 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40793 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
40795 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40797 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
40799 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40800 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40802 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40803 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40804 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
40805 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40806 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40808 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40809 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40811 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40812 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
40815 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40818 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40821 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40823 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40824 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
40825 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40827 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
40829 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40831 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40832 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40833 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40834 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40838 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40843 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40847 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40857 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40875 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40879 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40884 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40887 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
40901 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
40903 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
40905 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
40907 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
40909 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
40911 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
40913 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
40915 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
40917 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
40919 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
40921 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
40923 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
40925 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
40939 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40952 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
40957 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
40960 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
40963 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
40975 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
40980 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
40986 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
40992 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41055 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41062 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41098 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41108 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41118 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41120 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41122 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41125 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41129 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41132 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41135 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41137 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41142 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41150 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41154 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41157 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41159 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41163 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41180 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41182 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41185 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41187 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41191 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41195 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41204 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41207 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41210 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41214 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41221 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41226 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41231 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41275 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
41293 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41300 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41304 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41314 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41483 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41523 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41537 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41540 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41595 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41622 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41652 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41660 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41677 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41678 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
41714 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
41743 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
41746 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
41750 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
41753 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
41763 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
41775 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
41785 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
41795 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
41809 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
41815 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
41816 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
41817 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
41818 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
41819 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
41824 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
41851 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
41863 { NULL
, NULL
, 0, NULL
}
41867 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41869 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41870 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41872 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41873 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41875 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41876 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41878 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41879 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41881 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41882 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41884 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41885 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41887 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41888 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41890 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41891 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41893 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41894 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41896 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41897 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41899 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41900 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41902 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41903 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41905 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41906 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41908 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41909 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41911 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41912 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41914 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41915 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41917 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41918 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41920 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41921 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41923 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41924 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41926 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41927 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41929 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41930 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41932 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41933 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41935 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41936 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41938 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41939 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41941 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41942 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41944 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41945 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41947 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41948 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41950 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41951 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41953 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41954 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41956 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41957 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41959 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41960 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41962 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41963 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41965 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41966 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41968 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41969 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41971 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41972 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41974 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41977 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41978 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41980 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41981 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41983 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41984 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41986 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41987 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41989 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41990 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41992 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41993 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41995 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41996 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41998 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41999 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42001 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42002 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42004 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42005 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42007 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42008 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42010 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42011 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42013 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42014 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42016 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42017 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42019 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42022 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42023 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42025 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42026 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42028 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42029 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42031 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42032 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42034 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42035 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42037 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42038 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42040 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42041 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42043 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42044 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42046 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42047 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42049 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42050 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42052 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42053 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42055 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42056 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42058 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42059 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42061 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42062 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42064 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42065 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42067 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42068 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42070 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42071 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42073 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42074 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42076 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42077 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42079 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42080 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42082 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42083 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42085 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42086 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42088 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42089 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42091 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42092 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42094 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42095 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42097 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42098 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42100 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42101 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42103 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42104 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42106 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42107 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42109 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42110 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42112 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42113 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42115 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42116 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42118 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42119 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42121 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42124 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42127 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42128 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42130 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42131 return (void *)((wxObject
*) ((wxSizer
*) x
));
42133 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42134 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42136 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42137 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42139 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42140 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42142 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42143 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42145 static void *_p_wxImageTo_p_wxObject(void *x
) {
42146 return (void *)((wxObject
*) ((wxImage
*) x
));
42148 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42149 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42151 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42152 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42154 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42155 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42157 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42158 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42160 static void *_p_wxControlTo_p_wxObject(void *x
) {
42161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42163 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42164 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42166 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42167 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42169 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42170 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42172 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42173 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42175 static void *_p_wxEventTo_p_wxObject(void *x
) {
42176 return (void *)((wxObject
*) ((wxEvent
*) x
));
42178 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42179 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42181 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42182 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42184 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42185 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42187 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42188 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42190 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42191 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42193 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42194 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42196 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42197 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42199 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42200 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42202 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42205 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42206 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42208 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42209 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42211 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42212 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42214 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42215 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42217 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42218 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42220 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42221 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42223 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42224 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42226 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42227 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42229 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42230 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42232 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42233 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42235 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42236 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42238 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42239 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42241 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42242 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42244 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42245 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42247 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42248 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42250 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42253 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42254 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42256 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42257 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42259 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42260 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42262 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42263 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42265 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42266 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42268 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42269 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42271 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42274 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42275 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42277 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42278 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42280 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42281 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42283 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42284 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42286 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42287 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42289 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42290 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42292 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42293 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42295 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42296 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42298 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42299 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42301 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42302 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42304 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42307 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42308 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42310 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42311 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42313 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42314 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42316 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42317 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42319 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42320 return (void *)((wxWindow
*) ((wxControl
*) x
));
42322 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42323 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42325 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42326 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42328 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42329 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42331 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42332 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42334 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42335 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42337 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42338 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42340 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42341 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42343 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42344 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42346 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42347 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42349 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42350 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42352 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42353 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42355 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}};
42356 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}};
42357 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}};
42358 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}};
42359 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}};
42360 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}};
42361 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}};
42362 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}};
42363 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}};
42364 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}};
42365 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}};
42366 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}};
42367 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}};
42368 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}};
42369 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}};
42370 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}};
42371 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}};
42372 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}};
42373 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}};
42374 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}};
42375 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}};
42376 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}};
42377 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}};
42378 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}};
42379 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}};
42380 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}};
42381 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}};
42382 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}};
42383 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}};
42384 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}};
42385 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}};
42386 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}};
42387 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}};
42388 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}};
42389 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}};
42390 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}};
42391 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}};
42392 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}};
42393 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}};
42394 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}};
42395 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}};
42396 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}};
42397 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}};
42398 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}};
42399 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}};
42400 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}};
42401 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}};
42402 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}};
42403 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}};
42404 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}};
42405 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}};
42406 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}};
42407 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}};
42408 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}};
42409 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}};
42410 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}};
42411 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}};
42412 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}};
42413 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}};
42414 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}};
42415 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}};
42416 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}};
42417 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}};
42418 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}};
42419 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}};
42420 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}};
42421 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}};
42422 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}};
42423 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}};
42424 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}};
42425 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}};
42426 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}};
42427 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}};
42428 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}};
42429 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}};
42430 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}};
42431 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}};
42432 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}};
42433 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}};
42434 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}};
42435 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}};
42436 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}};
42437 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}};
42438 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}};
42439 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}};
42440 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}};
42441 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}};
42442 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}};
42443 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}};
42444 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}};
42445 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}};
42446 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}};
42447 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}};
42448 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}};
42449 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}};
42450 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}};
42451 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}};
42452 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}};
42453 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}};
42454 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}};
42455 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}};
42456 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}};
42457 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}};
42458 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}};
42459 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}};
42460 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}};
42461 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}};
42462 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}};
42463 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}};
42464 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}};
42465 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}};
42466 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}};
42467 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}};
42468 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}};
42469 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}};
42470 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}};
42471 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}};
42473 static swig_type_info
*swig_types_initial
[] = {
42474 _swigt__p_wxLayoutConstraints
,
42475 _swigt__p_wxRealPoint
,
42476 _swigt__p_wxSizerItem
,
42477 _swigt__p_wxGBSizerItem
,
42478 _swigt__p_wxScrollEvent
,
42479 _swigt__p_wxEventLoop
,
42480 _swigt__p_wxIndividualLayoutConstraint
,
42482 _swigt__p_wxBoxSizer
,
42483 _swigt__p_wxStaticBoxSizer
,
42484 _swigt__p_wxGridBagSizer
,
42485 _swigt__p_wxAcceleratorEntry
,
42486 _swigt__p_wxUpdateUIEvent
,
42489 _swigt__p_wxGridSizer
,
42490 _swigt__p_wxFlexGridSizer
,
42491 _swigt__p_wxInitDialogEvent
,
42492 _swigt__p_wxItemContainer
,
42493 _swigt__p_wxNcPaintEvent
,
42494 _swigt__p_wxPaintEvent
,
42495 _swigt__p_wxSysColourChangedEvent
,
42496 _swigt__p_wxMouseCaptureChangedEvent
,
42497 _swigt__p_wxDisplayChangedEvent
,
42498 _swigt__p_wxPaletteChangedEvent
,
42499 _swigt__p_wxControl
,
42501 _swigt__p_wxMenuBarBase
,
42502 _swigt__p_wxSetCursorEvent
,
42503 _swigt__p_wxFSFile
,
42505 _swigt__p_wxRegion
,
42506 _swigt__p_wxPoint2D
,
42510 _swigt__p_wxPySizer
,
42511 _swigt__p_wxVisualAttributes
,
42512 _swigt__p_wxNotifyEvent
,
42513 _swigt__p_wxPyEvent
,
42514 _swigt__p_wxPropagationDisabler
,
42515 _swigt__p_wxAppTraits
,
42516 _swigt__p_wxArrayString
,
42517 _swigt__p_wxShowEvent
,
42518 _swigt__p_wxToolTip
,
42519 _swigt__p_wxIconizeEvent
,
42520 _swigt__p_wxActivateEvent
,
42521 _swigt__p_wxMoveEvent
,
42522 _swigt__p_wxSizeEvent
,
42523 _swigt__p_wxMaximizeEvent
,
42524 _swigt__p_wxQueryNewPaletteEvent
,
42525 _swigt__p_wxWindowCreateEvent
,
42526 _swigt__p_wxIdleEvent
,
42527 _swigt__p_wxMenuItem
,
42528 _swigt__p_wxStaticBox
,
42530 _swigt__p_wxTIFFHandler
,
42531 _swigt__p_wxXPMHandler
,
42532 _swigt__p_wxPNMHandler
,
42533 _swigt__p_wxJPEGHandler
,
42534 _swigt__p_wxPCXHandler
,
42535 _swigt__p_wxGIFHandler
,
42536 _swigt__p_wxPNGHandler
,
42537 _swigt__p_wxANIHandler
,
42538 _swigt__p_wxMemoryFSHandler
,
42539 _swigt__p_wxEvtHandler
,
42540 _swigt__p_wxCURHandler
,
42541 _swigt__p_wxICOHandler
,
42542 _swigt__p_wxBMPHandler
,
42543 _swigt__p_wxImageHandler
,
42544 _swigt__p_wxFileSystemHandler
,
42545 _swigt__p_wxPyFileSystemHandler
,
42546 _swigt__p_wxInternetFSHandler
,
42547 _swigt__p_wxZipFSHandler
,
42549 _swigt__p_wxGBSpan
,
42550 _swigt__p_wxPropagateOnce
,
42551 _swigt__p_wxAcceleratorTable
,
42553 _swigt__p_wxGBPosition
,
42556 _swigt__p_wxScrollWinEvent
,
42557 _swigt__p_wxImageHistogram
,
42560 _swigt__p_wxCursor
,
42561 _swigt__p_wxObject
,
42562 _swigt__p_wxPyInputStream
,
42563 _swigt__p_wxOutputStream
,
42564 _swigt__p_wxInputStream
,
42565 _swigt__p_wxDateTime
,
42566 _swigt__p_wxKeyEvent
,
42567 _swigt__p_wxNavigationKeyEvent
,
42568 _swigt__p_wxWindowDestroyEvent
,
42569 _swigt__p_wxWindow
,
42570 _swigt__p_wxMenuBar
,
42571 _swigt__p_wxFileSystem
,
42572 _swigt__p_wxBitmap
,
42573 _swigt__p_wxMenuEvent
,
42574 _swigt__p_wxContextMenuEvent
,
42575 _swigt__p_unsigned_char
,
42576 _swigt__p_wxCloseEvent
,
42577 _swigt__p_wxEraseEvent
,
42578 _swigt__p_wxMouseEvent
,
42580 _swigt__p_wxCommandEvent
,
42581 _swigt__p_wxPyCommandEvent
,
42582 _swigt__p_wxPyDropTarget
,
42583 _swigt__p_wxQuantize
,
42584 _swigt__p_wxChildFocusEvent
,
42585 _swigt__p_wxFocusEvent
,
42586 _swigt__p_wxDropFilesEvent
,
42587 _swigt__p_wxControlWithItems
,
42588 _swigt__p_wxColour
,
42589 _swigt__p_wxValidator
,
42590 _swigt__p_wxPyValidator
,
42595 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42597 static swig_const_info swig_const_table
[] = {
42598 {0, 0, 0, 0.0, 0, 0}};
42607 SWIGEXPORT(void) SWIG_init(void) {
42608 static PyObject
*SWIG_globals
= 0;
42609 static int typeinit
= 0;
42612 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42613 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42614 d
= PyModule_GetDict(m
);
42617 for (i
= 0; swig_types_initial
[i
]; i
++) {
42618 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42622 SWIG_InstallConstants(d
,swig_const_table
);
42625 #ifndef wxPyUSE_EXPORT
42626 // Make our API structure a CObject so other modules can import it
42627 // from this module.
42628 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42629 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42633 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42634 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42635 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42636 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42637 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42638 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42639 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42640 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42641 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42642 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42643 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42644 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42645 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42646 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42647 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42648 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42649 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42650 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42651 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42652 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42653 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42654 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42655 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42656 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42657 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42658 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42659 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42660 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42661 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42662 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42663 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42664 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42665 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42666 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42667 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42668 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42669 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42670 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42671 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42672 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42673 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42674 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42675 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42676 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42677 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42678 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42679 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42680 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42681 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42682 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42683 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42684 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42685 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42686 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42687 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42688 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42689 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42690 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42691 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42692 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42693 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42694 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42695 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42696 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42697 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42698 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42699 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42700 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
42701 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
42702 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
42703 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
42704 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
42705 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
42706 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
42707 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
42708 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
42709 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
42710 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
42711 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
42712 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
42713 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
42714 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
42715 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
42716 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
42717 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
42718 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
42719 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
42720 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
42721 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
42722 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
42723 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
42724 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
42725 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
42726 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
42727 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
42728 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
42729 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
42730 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
42731 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
42732 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
42733 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
42734 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
42735 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
42736 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
42737 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
42738 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
42739 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
42740 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
42741 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
42742 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
42743 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
42744 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
42745 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
42746 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
42747 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
42748 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
42749 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
42750 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
42751 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
42752 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
42753 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
42754 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
42755 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
42756 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
42757 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
42758 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
42759 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
42760 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
42761 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
42762 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
42763 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
42764 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
42765 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
42766 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
42767 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
42768 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
42769 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
42770 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
42771 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
42772 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
42773 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
42774 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
42775 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
42776 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
42777 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
42778 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
42779 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
42780 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
42781 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
42782 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
42783 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
42784 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
42785 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
42786 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
42787 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
42788 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
42789 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
42790 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
42791 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
42792 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
42793 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
42794 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
42795 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
42796 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
42797 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
42798 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
42799 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
42800 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
42801 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
42802 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
42803 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
42804 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
42805 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
42806 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
42807 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
42808 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
42809 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
42810 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
42811 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
42812 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
42813 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
42814 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
42815 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
42816 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
42817 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
42818 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
42819 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
42820 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
42821 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
42822 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
42823 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
42824 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
42825 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
42826 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
42827 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
42828 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
42829 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
42830 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
42831 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
42832 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
42833 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
42834 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
42835 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
42836 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
42837 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
42838 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
42839 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
42840 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
42841 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
42842 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
42843 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
42844 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
42845 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
42846 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
42847 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
42848 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
42849 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
42850 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
42851 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
42852 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42853 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
42854 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
42855 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
42856 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42857 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
42858 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
42859 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
42860 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
42861 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
42862 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
42863 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
42864 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
42865 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
42866 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
42867 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
42868 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
42869 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
42870 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
42871 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
42872 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
42873 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
42874 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
42875 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
42876 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
42877 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
42878 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
42879 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
42880 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
42881 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
42882 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
42883 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
42884 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
42885 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
42886 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
42887 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
42888 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
42889 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
42890 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
42891 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
42892 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
42893 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
42894 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
42895 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
42896 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
42897 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
42898 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
42899 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
42900 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
42901 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
42902 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
42903 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
42904 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
42905 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
42906 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
42907 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
42908 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
42909 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
42910 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
42911 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
42912 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
42913 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
42914 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
42915 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
42916 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
42917 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
42918 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
42919 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
42920 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
42921 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
42922 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
42923 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
42924 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
42925 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
42926 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
42927 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
42928 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
42929 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
42930 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
42931 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
42932 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
42933 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
42934 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
42935 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
42936 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
42937 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
42938 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
42939 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
42940 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
42941 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
42942 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
42943 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
42944 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
42945 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
42946 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
42947 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
42948 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
42949 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
42950 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
42951 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
42952 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
42953 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
42954 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
42955 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
42956 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
42957 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
42958 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
42959 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
42960 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
42961 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
42962 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
42963 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
42964 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
42965 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
42966 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
42967 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
42968 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
42969 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
42970 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
42971 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
42972 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
42973 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
42974 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
42975 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
42976 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
42977 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
42978 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
42979 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
42980 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
42981 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
42982 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
42983 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
42984 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
42985 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
42986 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
42987 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
42988 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
42989 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
42990 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
42991 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
42992 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
42993 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
42994 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
42995 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
42996 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
42997 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
42998 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
42999 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43000 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43001 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43002 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43003 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43004 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43005 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43006 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43007 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43008 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43009 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43010 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43011 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43012 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43013 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43014 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43015 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43016 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43017 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43018 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43019 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43020 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43021 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43022 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43023 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43024 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43025 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43026 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43027 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43028 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43029 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43030 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43031 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43032 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43033 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43034 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43035 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43036 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43037 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43038 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43039 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43040 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43041 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43042 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43043 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43044 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43045 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43046 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43047 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43048 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43049 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43050 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43051 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43052 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43053 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43054 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43055 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43056 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43057 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43058 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43059 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43060 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43061 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43062 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43063 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43064 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43065 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43066 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43067 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43068 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43069 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43070 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43071 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43072 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43073 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43074 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43075 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43076 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43077 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43078 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43079 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43080 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43081 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43082 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43083 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43084 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43085 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43086 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43087 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43088 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43089 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43090 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43091 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43092 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43093 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43094 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43095 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43096 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43097 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43098 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43099 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43100 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43101 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43102 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43103 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43104 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43105 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43106 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43107 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43108 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43109 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43110 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43111 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43112 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43113 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43114 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43115 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43116 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43117 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43118 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43119 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43120 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43121 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43122 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43123 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43124 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43125 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43126 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43127 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43128 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43129 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43130 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43131 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43132 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43133 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43134 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43135 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43136 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43137 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43138 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43139 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43140 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43141 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43142 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43143 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43144 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43145 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43146 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43147 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43148 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43149 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43150 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43151 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43152 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43153 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43154 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43155 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43156 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43157 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43158 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43159 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43160 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43161 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43162 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43163 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43164 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43165 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43166 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43167 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43168 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43169 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43170 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43171 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43172 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43173 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43174 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43175 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43176 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43177 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43178 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43179 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43180 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43181 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43182 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43183 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43184 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43185 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43186 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43187 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43188 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43189 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43190 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43191 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43192 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43193 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43194 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43195 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43196 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43197 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43198 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43199 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43200 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43201 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43202 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43203 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43204 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43205 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43206 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43207 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43208 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43209 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43210 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43211 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43212 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43213 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43214 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43215 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43216 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43217 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43218 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43219 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43220 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43221 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43222 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43223 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43224 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43225 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43226 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43227 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43228 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43229 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43230 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43231 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43233 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43236 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43238 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43239 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43240 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43241 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43242 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43243 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43244 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43245 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43246 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43247 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43248 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43249 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43250 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43251 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43252 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43253 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43254 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43255 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43256 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43257 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43258 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43259 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43260 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43261 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43262 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43263 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43264 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43265 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43266 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43267 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43268 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43269 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43270 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43271 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43272 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43273 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43274 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43275 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43276 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43277 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43278 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43279 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43280 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43281 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43282 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43283 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43284 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43285 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43286 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43287 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43288 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43289 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43290 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43291 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43292 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43293 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43294 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43295 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43296 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43297 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43298 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43299 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43300 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43301 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43302 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43303 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43304 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43305 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43306 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43307 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43308 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43309 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43310 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43311 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43312 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43313 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43314 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43315 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43316 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43317 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43318 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43319 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43320 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43321 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43322 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43323 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43324 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43325 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43326 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43327 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43328 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43329 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43330 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43331 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43332 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43333 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43334 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43335 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43336 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43337 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43338 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43339 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43340 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43341 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43342 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43343 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43344 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43345 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43346 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43347 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43348 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43349 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43350 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43351 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43352 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43353 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43354 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43355 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43356 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43357 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43358 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43359 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43360 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43361 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43362 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43363 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43364 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43365 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43366 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43367 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43368 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43369 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43370 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43371 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43372 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43373 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43374 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43375 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43376 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43377 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43378 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43379 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43380 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43381 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43382 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43383 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43384 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43385 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43386 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43387 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43388 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43389 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43390 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43391 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43392 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43393 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43394 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43395 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43396 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43397 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43398 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43399 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43400 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43401 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43402 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43403 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43404 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43405 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43406 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43407 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43408 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43409 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43410 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43411 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43412 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43413 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43414 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43415 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43416 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43417 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43418 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43419 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43420 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43421 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43422 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43424 // Initialize threading, some globals and such
43428 // Although these are defined in __version__ they need to be here too so
43429 // that an assert can be done to ensure that the wxPython and the wxWindows
43431 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43432 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43433 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));