1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
212 #define SWIGTYPE_p_wxRealPoint swig_types[1]
213 #define SWIGTYPE_p_wxSizerItem swig_types[2]
214 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
215 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
216 #define SWIGTYPE_p_wxEventLoop swig_types[5]
217 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
218 #define SWIGTYPE_p_wxSizer swig_types[7]
219 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
220 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
221 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
222 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
223 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
224 #define SWIGTYPE_p_wxMenu swig_types[13]
225 #define SWIGTYPE_p_wxEvent swig_types[14]
226 #define SWIGTYPE_p_wxGridSizer swig_types[15]
227 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
228 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
229 #define SWIGTYPE_p_wxItemContainer swig_types[18]
230 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
231 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
232 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
233 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
234 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
235 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
236 #define SWIGTYPE_p_wxControl swig_types[25]
237 #define SWIGTYPE_p_wxFont swig_types[26]
238 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
239 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
240 #define SWIGTYPE_p_wxFSFile swig_types[29]
241 #define SWIGTYPE_p_wxCaret swig_types[30]
242 #define SWIGTYPE_p_wxRegion swig_types[31]
243 #define SWIGTYPE_p_wxPoint2D swig_types[32]
244 #define SWIGTYPE_p_int swig_types[33]
245 #define SWIGTYPE_p_wxSize swig_types[34]
246 #define SWIGTYPE_p_wxDC swig_types[35]
247 #define SWIGTYPE_p_wxPySizer swig_types[36]
248 #define SWIGTYPE_p_wxVisualAttributes swig_types[37]
249 #define SWIGTYPE_p_wxNotifyEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyEvent swig_types[39]
251 #define SWIGTYPE_p_wxPropagationDisabler swig_types[40]
252 #define SWIGTYPE_p_wxAppTraits swig_types[41]
253 #define SWIGTYPE_p_wxArrayString swig_types[42]
254 #define SWIGTYPE_p_wxShowEvent swig_types[43]
255 #define SWIGTYPE_p_wxToolTip swig_types[44]
256 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
257 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
258 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
259 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
260 #define SWIGTYPE_p_wxMaximizeEvent swig_types[49]
261 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[50]
262 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[51]
263 #define SWIGTYPE_p_wxIdleEvent swig_types[52]
264 #define SWIGTYPE_p_wxMenuItem swig_types[53]
265 #define SWIGTYPE_p_wxStaticBox swig_types[54]
266 #define SWIGTYPE_p_long swig_types[55]
267 #define SWIGTYPE_p_wxTIFFHandler swig_types[56]
268 #define SWIGTYPE_p_wxXPMHandler swig_types[57]
269 #define SWIGTYPE_p_wxPNMHandler swig_types[58]
270 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
271 #define SWIGTYPE_p_wxPCXHandler swig_types[60]
272 #define SWIGTYPE_p_wxGIFHandler swig_types[61]
273 #define SWIGTYPE_p_wxPNGHandler swig_types[62]
274 #define SWIGTYPE_p_wxANIHandler swig_types[63]
275 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[64]
276 #define SWIGTYPE_p_wxEvtHandler swig_types[65]
277 #define SWIGTYPE_p_wxCURHandler swig_types[66]
278 #define SWIGTYPE_p_wxICOHandler swig_types[67]
279 #define SWIGTYPE_p_wxBMPHandler swig_types[68]
280 #define SWIGTYPE_p_wxImageHandler swig_types[69]
281 #define SWIGTYPE_p_wxFileSystemHandler swig_types[70]
282 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
283 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
284 #define SWIGTYPE_p_wxZipFSHandler swig_types[73]
285 #define SWIGTYPE_p_wxRect swig_types[74]
286 #define SWIGTYPE_p_wxGBSpan swig_types[75]
287 #define SWIGTYPE_p_wxPropagateOnce swig_types[76]
288 #define SWIGTYPE_p_wxAcceleratorTable swig_types[77]
289 #define SWIGTYPE_p_char swig_types[78]
290 #define SWIGTYPE_p_wxGBPosition swig_types[79]
291 #define SWIGTYPE_p_wxImage swig_types[80]
292 #define SWIGTYPE_p_wxFrame swig_types[81]
293 #define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
294 #define SWIGTYPE_p_wxImageHistogram swig_types[83]
295 #define SWIGTYPE_p_byte swig_types[84]
296 #define SWIGTYPE_p_wxPoint swig_types[85]
297 #define SWIGTYPE_p_wxCursor swig_types[86]
298 #define SWIGTYPE_p_wxObject swig_types[87]
299 #define SWIGTYPE_p_wxPyInputStream swig_types[88]
300 #define SWIGTYPE_p_wxOutputStream swig_types[89]
301 #define SWIGTYPE_p_wxInputStream swig_types[90]
302 #define SWIGTYPE_p_wxDateTime swig_types[91]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
304 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
305 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[94]
306 #define SWIGTYPE_p_wxWindow swig_types[95]
307 #define SWIGTYPE_p_wxMenuBar swig_types[96]
308 #define SWIGTYPE_p_wxFileSystem swig_types[97]
309 #define SWIGTYPE_p_wxBitmap swig_types[98]
310 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
311 #define SWIGTYPE_p_wxContextMenuEvent swig_types[100]
312 #define SWIGTYPE_p_unsigned_char swig_types[101]
313 #define SWIGTYPE_p_wxCloseEvent swig_types[102]
314 #define SWIGTYPE_p_wxEraseEvent swig_types[103]
315 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
316 #define SWIGTYPE_p_wxPyApp swig_types[105]
317 #define SWIGTYPE_p_wxCommandEvent swig_types[106]
318 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
319 #define SWIGTYPE_p_wxPyDropTarget swig_types[108]
320 #define SWIGTYPE_p_wxQuantize swig_types[109]
321 #define SWIGTYPE_p_wxChildFocusEvent swig_types[110]
322 #define SWIGTYPE_p_wxFocusEvent swig_types[111]
323 #define SWIGTYPE_p_wxDropFilesEvent swig_types[112]
324 #define SWIGTYPE_p_wxControlWithItems swig_types[113]
325 #define SWIGTYPE_p_wxColour swig_types[114]
326 #define SWIGTYPE_p_wxValidator swig_types[115]
327 #define SWIGTYPE_p_wxPyValidator swig_types[116]
328 static swig_type_info
*swig_types
[118];
330 /* -------- TYPES TABLE (END) -------- */
333 /*-----------------------------------------------
334 @(target):= _core_.so
335 ------------------------------------------------*/
336 #define SWIG_init init_core_
338 #define SWIG_name "_core_"
340 /* Auxiliar swig macros that appear in the header */
342 #define SWIG_OLDOBJ 1
343 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
344 #define SWIG_PYSTR SWIG_NEWOBJ + 1
347 #define SWIGSTATICINLINE(a) static inline a
348 #define SWIGSTATIC(a) static a
349 #define swig_new_array(size,Type) (new Type[(size)])
350 #define swig_delete(cptr) delete cptr
351 #define swig_delete_array(cptr) delete[] cptr
352 #define swig_const_cast(a,Type) const_cast<Type >(a)
353 #define swig_static_cast(a,Type) static_cast<Type >(a)
354 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
355 #define swig_new_copy(ptr,Type) (new Type(*ptr))
356 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
360 #define SWIGSTATICINLINE(a) static a
361 #define SWIGSTATIC(a) static a
362 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
363 #define swig_delete(cptr) free((char*)cptr)
364 #define swig_delete_array(cptr) free((char*)cptr)
365 #define swig_const_cast(a,Type) (Type)(a)
366 #define swig_static_cast(a,Type) (Type)(a)
367 #define swig_reinterpret_cast(a,Type) (Type)(a)
368 #define swig_numeric_cast(a,Type) (Type)(a)
369 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
371 #endif /* __cplusplus */
374 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
375 #define SWIG_From_signed_SS_char PyInt_FromLong
377 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
378 #define SWIG_From_unsigned_SS_char PyInt_FromLong
380 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
381 #define SWIG_From_short PyInt_FromLong
383 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
384 #define SWIG_From_unsigned_SS_short PyInt_FromLong
386 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
387 #define SWIG_From_int PyInt_FromLong
389 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
390 #define SWIG_From_long PyInt_FromLong
392 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
393 #define SWIG_From_float PyFloat_FromDouble
395 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
396 #define SWIG_From_double PyFloat_FromDouble
400 #include "wx/wxPython/wxPython_int.h"
401 #include "wx/wxPython/pyclasses.h"
404 #ifndef wxPyUSE_EXPORT
405 // Helper functions for dealing with SWIG objects and such. These are
406 // located here so they know about the SWIG types and functions declared
407 // in the wrapper code.
409 #include <wx/hashmap.h>
410 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
413 // Maintains a hashmap of className to swig_type_info pointers. Given the
414 // name of a class either looks up the type info in the cache, or scans the
415 // SWIG tables for it.
416 extern PyObject
* wxPyPtrTypeMap
;
418 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
420 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
422 if (typeInfoCache
== NULL
)
423 typeInfoCache
= new wxPyTypeInfoHashMap
;
425 wxString
name(className
);
426 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
429 // it wasn't in the cache, so look it up from SWIG
430 name
.Append(wxT(" *"));
431 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
433 // if it still wasn't found, try looking for a mapped name
438 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
439 (char*)(const char*)name
.mbc_str())) != NULL
) {
440 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
441 name
.Append(wxT(" *"));
442 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
446 // and add it to the map if found
447 (*typeInfoCache
)[className
] = swigType
;
454 // Check if a class name is a type known to SWIG
455 bool wxPyCheckSwigType(const wxChar
* className
) {
457 swig_type_info
* swigType
= wxPyFindSwigType(className
);
458 return swigType
!= NULL
;
462 // Given a pointer to a C++ object and a class name, construct a Python proxy
464 PyObject
* wxPyConstructObject(void* ptr
,
465 const wxChar
* className
,
468 swig_type_info
* swigType
= wxPyFindSwigType(className
);
469 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
471 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
475 // Extract a pointer to the wrapped C++ object from a Python proxy object.
476 // Ensures that the proxy object is of the specified (or derived) type. If
477 // not able to perform the conversion then a Python exception is set and the
478 // error should be handled properly in the caller. Returns True on success.
479 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
480 const wxChar
* className
) {
482 swig_type_info
* swigType
= wxPyFindSwigType(className
);
483 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
485 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
489 // Make a SWIGified pointer object suitable for a .this attribute
490 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
492 PyObject
* robj
= NULL
;
494 swig_type_info
* swigType
= wxPyFindSwigType(className
);
495 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
497 #ifdef SWIG_COBJECT_TYPES
498 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
504 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
505 strcpy(r
, swigType
->name
);
506 robj
= PyString_FromString(result
);
516 // Export a C API in a struct. Other modules will be able to load this from
517 // the wx._core_ module and will then have safe access to these functions,
518 // even if they are located in another shared library.
519 static wxPyCoreAPI API
= {
521 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
522 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
523 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
524 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
525 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
526 (p_SWIG_Python_TypePrettyName_t
)SWIG_Python_TypePrettyName
,
527 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
528 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
529 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
530 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
531 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
532 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
533 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
534 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
535 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
536 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
537 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
538 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
545 wxPyBeginAllowThreads
,
547 wxPyBeginBlockThreads
,
561 wxBitmap_LIST_helper
,
562 wxString_LIST_helper
,
563 wxAcceleratorEntry_LIST_helper
,
572 wxPySimple_typecheck
,
575 wxPyCBH_setCallbackInfo
,
576 wxPyCBH_findCallback
,
577 wxPyCBH_callCallback
,
578 wxPyCBH_callCallbackObj
,
586 wxArrayString2PyList_helper
,
587 wxArrayInt2PyList_helper
,
591 wxPyOORClientData_dtor
,
593 wxPyCBInputStream_create
,
596 wxPySwigInstance_Check
,
606 enum wxHotkeyModifier
614 #define wxEVT_HOTKEY 9999
617 static const wxString
wxPyEmptyString(wxEmptyString
);
618 wxString
wxObject_GetClassName(wxObject
*self
){
619 return self
->GetClassInfo()->GetClassName();
621 void wxObject_Destroy(wxObject
*self
){
626 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
633 SWIGSTATICINLINE(int)
634 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
637 if (value
< min_value
) {
639 PyErr_Format(PyExc_OverflowError
,
640 "value %ld is less than '%s' minimum %ld",
641 value
, errmsg
, min_value
);
644 } else if (value
> max_value
) {
646 PyErr_Format(PyExc_OverflowError
,
647 "value %ld is greater than '%s' maximum %ld",
648 value
, errmsg
, max_value
);
656 // See my_fragments.i
657 SWIGSTATICINLINE(int)
658 SWIG_AsVal_long(PyObject
* obj
, long* val
)
660 if (PyNumber_Check(obj
)) {
661 if (val
) *val
= PyInt_AsLong(obj
);
665 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
666 obj
->ob_type
->tp_name
);
667 PyErr_SetObject(PyExc_TypeError
, errmsg
);
674 #if INT_MAX != LONG_MAX
675 SWIGSTATICINLINE(int)
676 SWIG_AsVal_int(PyObject
*obj
, int *val
)
678 const char* errmsg
= val
? "int" : 0;
680 if (SWIG_AsVal_long(obj
, &v
)) {
681 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
682 if (val
) *val
= swig_numeric_cast(v
, int);
691 PyErr_SetString(PyExc_TypeError
, "an int is expected");
696 SWIGSTATICINLINE(int)
697 SWIG_AsVal_int(PyObject
*obj
, int *val
)
699 return SWIG_AsVal_long(obj
,(long*)val
);
704 SWIGSTATICINLINE(int)
705 SWIG_As_int(PyObject
* obj
)
708 if (!SWIG_AsVal_int(obj
, &v
)) {
710 this is needed to make valgrind/purify happier. the other
711 solution is throw an exception, but since this code should work
714 memset((void*)&v
, 0, sizeof(int));
720 SWIGSTATICINLINE(int)
721 SWIG_Check_int(PyObject
* obj
)
723 return SWIG_AsVal_int(obj
, (int*)0);
726 PyObject
*wxSize_Get(wxSize
*self
){
727 bool blocked
= wxPyBeginBlockThreads();
728 PyObject
* tup
= PyTuple_New(2);
729 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
730 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
731 wxPyEndBlockThreads(blocked
);
735 // See my_fragments.i
736 SWIGSTATICINLINE(int)
737 SWIG_AsVal_double(PyObject
*obj
, double* val
)
739 if (PyNumber_Check(obj
)) {
740 if (val
) *val
= PyFloat_AsDouble(obj
);
744 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
745 obj
->ob_type
->tp_name
);
746 PyErr_SetObject(PyExc_TypeError
, errmsg
);
753 SWIGSTATICINLINE(double)
754 SWIG_As_double(PyObject
* obj
)
757 if (!SWIG_AsVal_double(obj
, &v
)) {
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
763 memset((void*)&v
, 0, sizeof(double));
769 SWIGSTATICINLINE(int)
770 SWIG_Check_double(PyObject
* obj
)
772 return SWIG_AsVal_double(obj
, (double*)0);
775 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
779 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
780 bool blocked
= wxPyBeginBlockThreads();
781 PyObject
* tup
= PyTuple_New(2);
782 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
783 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
784 wxPyEndBlockThreads(blocked
);
788 SWIGSTATICINLINE(long)
789 SWIG_As_long(PyObject
* obj
)
792 if (!SWIG_AsVal_long(obj
, &v
)) {
794 this is needed to make valgrind/purify happier. the other
795 solution is throw an exception, but since this code should work
798 memset((void*)&v
, 0, sizeof(long));
804 SWIGSTATICINLINE(int)
805 SWIG_Check_long(PyObject
* obj
)
807 return SWIG_AsVal_long(obj
, (long*)0);
810 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
814 PyObject
*wxPoint_Get(wxPoint
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
818 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
819 wxPyEndBlockThreads(blocked
);
822 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
826 self
->height
= height
;
828 PyObject
*wxRect_Get(wxRect
*self
){
829 bool blocked
= wxPyBeginBlockThreads();
830 PyObject
* tup
= PyTuple_New(4);
831 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
832 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
833 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
834 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
835 wxPyEndBlockThreads(blocked
);
839 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
842 wxRect
dest(0,0,0,0);
845 reg1
.Intersect(reg2
);
846 dest
= reg1
.GetBox();
848 if (dest
!= wxRect(0,0,0,0)) {
849 bool blocked
= wxPyBeginBlockThreads();
850 wxRect
* newRect
= new wxRect(dest
);
851 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
852 wxPyEndBlockThreads(blocked
);
860 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
866 } else if (target
== Py_None
) {
870 if (!PyTuple_Check(target
)) {
872 target
= PyTuple_New(1);
873 PyTuple_SetItem(target
, 0, o2
);
876 PyTuple_SetItem(o3
, 0, o
);
879 target
= PySequence_Concat(o2
, o3
);
887 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
891 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
892 bool blocked
= wxPyBeginBlockThreads();
893 PyObject
* tup
= PyTuple_New(2);
894 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
895 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
896 wxPyEndBlockThreads(blocked
);
900 #include "wx/wxPython/pyistream.h"
902 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
903 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
905 return new wxPyInputStream(wxis
);
910 SWIGSTATICINLINE(PyObject
*)
911 SWIG_From_char(char c
)
913 return PyString_FromStringAndSize(&c
,1);
917 SWIGSTATICINLINE(PyObject
* )
918 SWIG_From_unsigned_SS_long(unsigned long value
)
920 return (value
> LONG_MAX
) ?
921 PyLong_FromUnsignedLong(value
)
922 : PyInt_FromLong(swig_numeric_cast(value
,long));
926 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
928 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
930 static swig_type_info
* pchar_info
= 0;
932 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
933 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
934 if (cptr
) *cptr
= vptr
;
935 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
938 if (PyString_Check(obj
)) {
940 *cptr
= PyString_AS_STRING(obj
);
942 *psize
= PyString_GET_SIZE(obj
) + 1;
949 PyErr_SetString(PyExc_TypeError
, "a string is expected");
956 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
958 char* cptr
; size_t csize
;
959 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
964 ie, assing the array using an extra '0' char.
966 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
969 if (csize
) memcpy(val
, cptr
, csize
);
970 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
976 PyErr_Format(PyExc_TypeError
,
977 "a char array of maximum size %ld is expected",
984 SWIGSTATICINLINE(int)
985 SWIG_AsVal_char(PyObject
*obj
, char *val
)
987 const char* errmsg
= val
? "char" : 0;
989 if (SWIG_AsVal_long(obj
, &v
)) {
990 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
998 return SWIG_AsCharArray(obj
, val
, 1);
1003 SWIGSTATICINLINE(char)
1004 SWIG_As_char(PyObject
* obj
)
1007 if (!SWIG_AsVal_char(obj
, &v
)) {
1009 this is needed to make valgrind/purify happier. the other
1010 solution is throw an exception, but since this code should work
1013 memset((void*)&v
, 0, sizeof(char));
1019 SWIGSTATICINLINE(int)
1020 SWIG_Check_char(PyObject
* obj
)
1022 return SWIG_AsVal_char(obj
, (char*)0);
1025 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
1026 // We use only strings for the streams, not unicode
1027 PyObject
* str
= PyObject_Str(obj
);
1029 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
1032 self
->Write(PyString_AS_STRING(str
),
1033 PyString_GET_SIZE(str
));
1037 #include "wx/wxPython/pyistream.h"
1040 class wxPyFileSystemHandler
: public wxFileSystemHandler
1043 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1045 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
1046 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
1047 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
1048 DEC_PYCALLBACK_STRING__pure(FindNext
);
1050 wxString
GetProtocol(const wxString
& location
) {
1051 return wxFileSystemHandler::GetProtocol(location
);
1054 wxString
GetLeftLocation(const wxString
& location
) {
1055 return wxFileSystemHandler::GetLeftLocation(location
);
1058 wxString
GetAnchor(const wxString
& location
) {
1059 return wxFileSystemHandler::GetAnchor(location
);
1062 wxString
GetRightLocation(const wxString
& location
) {
1063 return wxFileSystemHandler::GetRightLocation(location
);
1066 wxString
GetMimeTypeFromExt(const wxString
& location
) {
1067 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
1074 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
1075 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
1076 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
1077 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
1080 SWIGSTATICINLINE(int)
1081 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1083 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1084 if (obj
== Py_True
) {
1085 if (val
) *val
= true;
1088 if (obj
== Py_False
) {
1089 if (val
) *val
= false;
1093 if (SWIG_AsVal_int(obj
, &res
)) {
1094 if (val
) *val
= (bool)res
;
1098 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
1104 SWIGSTATICINLINE(bool)
1105 SWIG_As_bool(PyObject
* obj
)
1108 if (!SWIG_AsVal_bool(obj
, &v
)) {
1110 this is needed to make valgrind/purify happier. the other
1111 solution is throw an exception, but since this code should work
1114 memset((void*)&v
, 0, sizeof(bool));
1120 SWIGSTATICINLINE(int)
1121 SWIG_Check_bool(PyObject
* obj
)
1123 return SWIG_AsVal_bool(obj
, (bool*)0);
1126 wxString
FileSystem_URLToFileName(wxString
const &url
){
1127 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1128 return fname
.GetFullPath();
1131 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1134 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1137 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1138 const wxBitmap
& bitmap
,
1140 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1143 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1145 if (! PyString_Check(data
)) {
1146 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1147 "Expected string object"));
1151 bool blocked
= wxPyBeginBlockThreads();
1152 void* ptr
= (void*)PyString_AsString(data
);
1153 size_t size
= PyString_Size(data
);
1154 wxPyEndBlockThreads(blocked
);
1156 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
1160 #include "wx/wxPython/pyistream.h"
1163 // See my_fragments.i
1164 SWIGSTATICINLINE(int)
1165 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1168 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1169 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1173 *val
= (unsigned long)v
;
1178 SWIGSTATICINLINE(int)
1179 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1180 unsigned long max_value
,
1183 if (value
> max_value
) {
1185 PyErr_Format(PyExc_OverflowError
,
1186 "value %ld is greater than '%s' minimum %ld",
1187 value
, errmsg
, max_value
);
1195 SWIGSTATICINLINE(int)
1196 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1198 const char* errmsg
= val
? "unsigned char" : 0;
1200 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1201 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1202 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
1211 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
1217 SWIGSTATICINLINE(unsigned char)
1218 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1221 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1223 this is needed to make valgrind/purify happier. the other
1224 solution is throw an exception, but since this code should work
1227 memset((void*)&v
, 0, sizeof(unsigned char));
1233 SWIGSTATICINLINE(int)
1234 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1236 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1240 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1241 if (width
> 0 && height
> 0)
1242 return new wxImage(width
, height
, clear
);
1246 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1247 return new wxImage(bitmap
.ConvertToImage());
1249 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1250 // Copy the source data so the wxImage can clean it up later
1251 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1256 memcpy(copy
, data
, width
*height
*3);
1257 return new wxImage(width
, height
, copy
, false);
1259 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
1260 // Copy the source data so the wxImage can clean it up later
1261 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
1262 if (dcopy
== NULL
) {
1266 memcpy(dcopy
, data
, width
*height
*3);
1267 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
1268 if (acopy
== NULL
) {
1272 memcpy(acopy
, alpha
, width
*height
);
1274 return new wxImage(width
, height
, dcopy
, acopy
, false);
1276 wxSize
wxImage_GetSize(wxImage
*self
){
1277 wxSize
size(self
->GetWidth(), self
->GetHeight());
1280 PyObject
*wxImage_GetData(wxImage
*self
){
1281 unsigned char* data
= self
->GetData();
1282 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1284 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1287 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1288 unsigned char* dataPtr
;
1290 if (! PyString_Check(data
)) {
1291 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1292 "Expected string object"));
1296 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1297 dataPtr
= (unsigned char*) malloc(len
);
1298 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1299 self
->SetData(dataPtr
);
1300 // wxImage takes ownership of dataPtr...
1302 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1303 unsigned char* data
= self
->GetData();
1304 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1306 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1309 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1310 unsigned char* buffer
;
1313 bool blocked
= wxPyBeginBlockThreads();
1314 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1317 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1318 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1321 self
->SetData(buffer
);
1323 wxPyEndBlockThreads(blocked
);
1325 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1326 unsigned char* data
= self
->GetAlpha();
1330 int len
= self
->GetWidth() * self
->GetHeight();
1332 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1336 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1337 unsigned char* dataPtr
;
1339 if (! PyString_Check(data
)) {
1340 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1344 size_t len
= self
->GetWidth() * self
->GetHeight();
1345 dataPtr
= (unsigned char*) malloc(len
);
1346 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1347 self
->SetAlpha(dataPtr
);
1348 // wxImage takes ownership of dataPtr...
1350 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1351 unsigned char* data
= self
->GetAlpha();
1352 int len
= self
->GetWidth() * self
->GetHeight();
1354 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1357 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1358 unsigned char* buffer
;
1361 bool blocked
= wxPyBeginBlockThreads();
1362 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1365 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1366 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1369 self
->SetAlpha(buffer
);
1371 wxPyEndBlockThreads(blocked
);
1374 SWIGSTATICINLINE(unsigned long)
1375 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1378 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1380 this is needed to make valgrind/purify happier. the other
1381 solution is throw an exception, but since this code should work
1384 memset((void*)&v
, 0, sizeof(unsigned long));
1390 SWIGSTATICINLINE(int)
1391 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1393 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1396 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
){
1397 wxBitmap
bitmap(*self
, depth
);
1400 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1401 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1402 wxBitmap
bitmap( mono
, 1 );
1405 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1406 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1407 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1408 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1409 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1411 #include <wx/quantize.h>
1413 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1414 return wxQuantize::Quantize(src
, dest
,
1417 NULL
, // eightBitData
1420 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1421 if (PyCallable_Check(func
)) {
1422 self
->Connect(id
, lastId
, eventType
,
1423 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1424 new wxPyCallback(func
));
1426 else if (func
== Py_None
) {
1427 self
->Disconnect(id
, lastId
, eventType
,
1428 (wxObjectEventFunction
)
1429 &wxPyCallback::EventThunker
);
1433 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1436 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1437 return self
->Disconnect(id
, lastId
, eventType
,
1438 (wxObjectEventFunction
)
1439 &wxPyCallback::EventThunker
);
1441 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1442 if (_self
&& _self
!= Py_None
) {
1443 self
->SetClientObject(new wxPyOORClientData(_self
));
1446 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1448 self
->SetClientObject(NULL
); // This will delete it too
1453 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1455 return self
->GetUnicodeKey();
1461 #if UINT_MAX < LONG_MAX
1462 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1463 #define SWIG_From_unsigned_SS_int SWIG_From_long
1466 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1467 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1472 #if UINT_MAX != ULONG_MAX
1473 SWIGSTATICINLINE(int)
1474 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1476 const char* errmsg
= val
? "unsigned int" : 0;
1478 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1479 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1480 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1487 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1492 SWIGSTATICINLINE(unsigned int)
1493 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1495 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1500 SWIGSTATICINLINE(unsigned int)
1501 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1504 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1506 this is needed to make valgrind/purify happier. the other
1507 solution is throw an exception, but since this code should work
1510 memset((void*)&v
, 0, sizeof(unsigned int));
1516 SWIGSTATICINLINE(int)
1517 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1519 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1522 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1523 self
->m_size
= size
;
1525 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1528 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1529 int count
= self
->GetNumberOfFiles();
1530 wxString
* files
= self
->GetFiles();
1531 PyObject
* list
= PyList_New(count
);
1534 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1538 for (int i
=0; i
<count
; i
++) {
1539 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1545 wxPyApp
*new_wxPyApp(){
1546 wxPythonApp
= new wxPyApp();
1550 void wxApp_CleanUp() {
1555 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1560 // A dummy class that raises an exception if used...
1564 wxEventLoop() { wxPyRaiseNotImplemented(); }
1565 int Run() { return 0; }
1566 void Exit(int rc
= 0) {}
1567 bool Pending() const { return false; }
1568 bool Dispatch() { return false; }
1569 bool IsRunning() const { return false; }
1570 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
1571 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
1576 #include <wx/evtloop.h>
1582 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1583 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1584 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1585 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1586 wxWindowList
& list
= self
->GetChildren();
1587 return wxPy_ConvertList(&list
);
1589 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1591 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1596 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1603 long wxWindow_GetHandle(wxWindow
*self
){
1604 return wxPyGetWinHandle(self
);
1606 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1607 self
->AssociateHandle((WXWidget
)handle
);
1610 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1611 return wxWindow::FindWindowById(id
, parent
);
1614 wxWindow
* wxFindWindowByName( const wxString
& name
,
1615 const wxWindow
*parent
= NULL
) {
1616 return wxWindow::FindWindowByName(name
, parent
);
1619 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1620 const wxWindow
*parent
= NULL
) {
1621 return wxWindow::FindWindowByLabel(label
, parent
);
1626 #include <wx/msw/private.h> // to get wxGetWindowId
1630 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1632 WXHWND hWnd
= (WXHWND
)_hWnd
;
1633 long id
= wxGetWindowId(hWnd
);
1634 wxWindow
* win
= new wxWindow
;
1635 parent
->AddChild(win
);
1636 win
->SetEventHandler(win
);
1639 win
->SubclassWin(hWnd
);
1640 win
->AdoptAttributesFromHWND();
1641 win
->SetupColours();
1644 wxPyRaiseNotImplemented();
1650 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1651 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1652 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1654 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1656 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1657 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1658 wxMenuItemList
& list
= self
->GetMenuItems();
1659 return wxPy_ConvertList(&list
);
1661 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1662 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1664 wxPyClientData
* data
= new wxPyClientData(clientData
);
1665 return self
->Append(item
, data
);
1667 return self
->Append(item
);
1669 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1671 wxPyClientData
* data
= new wxPyClientData(clientData
);
1672 return self
->Insert(item
, pos
, data
);
1674 return self
->Insert(item
, pos
);
1676 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1677 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1679 Py_INCREF(data
->m_obj
);
1686 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1687 wxPyClientData
* data
= new wxPyClientData(clientData
);
1688 self
->SetClientObject(n
, data
);
1692 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1693 wxPyUserData
* data
= NULL
;
1695 bool blocked
= wxPyBeginBlockThreads();
1696 data
= new wxPyUserData(userData
);
1697 wxPyEndBlockThreads(blocked
);
1699 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1701 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1702 wxPyUserData
* data
= NULL
;
1704 bool blocked
= wxPyBeginBlockThreads();
1705 data
= new wxPyUserData(userData
);
1706 wxPyEndBlockThreads(blocked
);
1708 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1710 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1711 wxPyUserData
* data
= NULL
;
1713 bool blocked
= wxPyBeginBlockThreads();
1714 data
= new wxPyUserData(userData
);
1715 wxPyEndBlockThreads(blocked
);
1717 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1721 SWIGSTATICINLINE(int)
1722 SWIG_CheckDoubleInRange(double value
, double min_value
,
1723 double max_value
, const char* errmsg
)
1725 if (value
< min_value
) {
1727 PyErr_Format(PyExc_OverflowError
,
1728 "value %g is less than %s minimum %g",
1729 value
, errmsg
, min_value
);
1732 } else if (value
> max_value
) {
1734 PyErr_Format(PyExc_OverflowError
,
1735 "value %g is greater than %s maximum %g",
1736 value
, errmsg
, max_value
);
1744 SWIGSTATICINLINE(int)
1745 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1747 const char* errmsg
= val
? "float" : 0;
1749 if (SWIG_AsVal_double(obj
, &v
)) {
1750 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1760 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1766 SWIGSTATICINLINE(float)
1767 SWIG_As_float(PyObject
* obj
)
1770 if (!SWIG_AsVal_float(obj
, &v
)) {
1772 this is needed to make valgrind/purify happier. the other
1773 solution is throw an exception, but since this code should work
1776 memset((void*)&v
, 0, sizeof(float));
1782 SWIGSTATICINLINE(int)
1783 SWIG_Check_float(PyObject
* obj
)
1785 return SWIG_AsVal_float(obj
, (float*)0);
1788 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1789 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1791 Py_INCREF(data
->m_obj
);
1799 // Figure out the type of the sizer item
1801 struct wxPySizerItemInfo
{
1803 : window(NULL
), sizer(NULL
), gotSize(false),
1804 size(wxDefaultSize
), gotPos(false), pos(-1)
1815 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1817 wxPySizerItemInfo info
;
1819 wxSize
* sizePtr
= &size
;
1821 // Find out what the type of the item is
1823 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1828 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1832 // try wxSize or (w,h)
1833 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1834 info
.size
= *sizePtr
;
1835 info
.gotSize
= true;
1839 if (checkIdx
&& PyInt_Check(item
)) {
1840 info
.pos
= PyInt_AsLong(item
);
1846 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1847 // no expected type, figure out what kind of error message to generate
1848 if ( !checkSize
&& !checkIdx
)
1849 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1850 else if ( checkSize
&& !checkIdx
)
1851 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1852 else if ( !checkSize
&& checkIdx
)
1853 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1855 // can this one happen?
1856 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1862 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1863 if (!self
->GetClientObject())
1864 self
->SetClientObject(new wxPyOORClientData(_self
));
1866 wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1868 wxPyUserData
* data
= NULL
;
1869 bool blocked
= wxPyBeginBlockThreads();
1870 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1871 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1872 data
= new wxPyUserData(userData
);
1873 wxPyEndBlockThreads(blocked
);
1875 // Now call the real Add method if a valid item type was found
1877 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
1878 else if ( info
.sizer
)
1879 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1880 else if (info
.gotSize
)
1881 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1882 proportion
, flag
, border
, data
);
1886 wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1888 wxPyUserData
* data
= NULL
;
1889 bool blocked
= wxPyBeginBlockThreads();
1890 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1891 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1892 data
= new wxPyUserData(userData
);
1893 wxPyEndBlockThreads(blocked
);
1895 // Now call the real Insert method if a valid item type was found
1897 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1898 else if ( info
.sizer
)
1899 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1900 else if (info
.gotSize
)
1901 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1902 proportion
, flag
, border
, data
);
1906 wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1908 wxPyUserData
* data
= NULL
;
1909 bool blocked
= wxPyBeginBlockThreads();
1910 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1911 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1912 data
= new wxPyUserData(userData
);
1913 wxPyEndBlockThreads(blocked
);
1915 // Now call the real Prepend method if a valid item type was found
1917 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1918 else if ( info
.sizer
)
1919 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1920 else if (info
.gotSize
)
1921 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1922 proportion
, flag
, border
, data
);
1926 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1927 bool blocked
= wxPyBeginBlockThreads();
1928 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1929 wxPyEndBlockThreads(blocked
);
1931 return self
->Remove(info
.window
);
1932 else if ( info
.sizer
)
1933 return self
->Remove(info
.sizer
);
1934 else if ( info
.gotPos
)
1935 return self
->Remove(info
.pos
);
1939 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1940 bool blocked
= wxPyBeginBlockThreads();
1941 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1942 wxPyEndBlockThreads(blocked
);
1944 return self
->Detach(info
.window
);
1945 else if ( info
.sizer
)
1946 return self
->Detach(info
.sizer
);
1947 else if ( info
.gotPos
)
1948 return self
->Detach(info
.pos
);
1952 wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
1953 bool blocked
= wxPyBeginBlockThreads();
1954 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1955 wxPyEndBlockThreads(blocked
);
1957 return self
->GetItem(info
.window
);
1958 else if ( info
.sizer
)
1959 return self
->GetItem(info
.sizer
);
1960 else if ( info
.gotPos
)
1961 return self
->GetItem(info
.pos
);
1965 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1966 bool blocked
= wxPyBeginBlockThreads();
1967 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1968 wxPyEndBlockThreads(blocked
);
1970 self
->SetItemMinSize(info
.window
, size
);
1971 else if ( info
.sizer
)
1972 self
->SetItemMinSize(info
.sizer
, size
);
1973 else if ( info
.gotPos
)
1974 self
->SetItemMinSize(info
.pos
, size
);
1976 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1977 wxSizerItemList
& list
= self
->GetChildren();
1978 return wxPy_ConvertList(&list
);
1980 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1981 bool blocked
= wxPyBeginBlockThreads();
1982 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1983 wxPyEndBlockThreads(blocked
);
1985 return self
->Show(info
.window
, show
, recursive
);
1986 else if ( info
.sizer
)
1987 return self
->Show(info
.sizer
, show
, recursive
);
1988 else if ( info
.gotPos
)
1989 return self
->Show(info
.pos
, show
);
1993 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1994 bool blocked
= wxPyBeginBlockThreads();
1995 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1996 wxPyEndBlockThreads(blocked
);
1998 return self
->IsShown(info
.window
);
1999 else if ( info
.sizer
)
2000 return self
->IsShown(info
.sizer
);
2001 else if ( info
.gotPos
)
2002 return self
->IsShown(info
.pos
);
2008 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
2009 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
2010 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
2015 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
2017 if (source
== Py_None
) {
2018 **obj
= wxGBPosition(-1,-1);
2021 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
2024 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
2026 if (source
== Py_None
) {
2027 **obj
= wxGBSpan(-1,-1);
2030 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
2034 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2038 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2039 bool blocked
= wxPyBeginBlockThreads();
2040 PyObject
* tup
= PyTuple_New(2);
2041 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2042 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2043 wxPyEndBlockThreads(blocked
);
2046 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2047 self
->SetRowspan(rowspan
);
2048 self
->SetColspan(colspan
);
2050 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2051 bool blocked
= wxPyBeginBlockThreads();
2052 PyObject
* tup
= PyTuple_New(2);
2053 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2054 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2055 wxPyEndBlockThreads(blocked
);
2058 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2059 wxPyUserData
* data
= NULL
;
2061 bool blocked
= wxPyBeginBlockThreads();
2062 data
= new wxPyUserData(userData
);
2063 wxPyEndBlockThreads(blocked
);
2065 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2067 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2068 wxPyUserData
* data
= NULL
;
2070 bool blocked
= wxPyBeginBlockThreads();
2071 data
= new wxPyUserData(userData
);
2072 wxPyEndBlockThreads(blocked
);
2074 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2076 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2077 wxPyUserData
* data
= NULL
;
2079 bool blocked
= wxPyBeginBlockThreads();
2080 data
= new wxPyUserData(userData
);
2081 wxPyEndBlockThreads(blocked
);
2083 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2085 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2087 self
->GetEndPos(row
, col
);
2088 return wxGBPosition(row
, col
);
2090 wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2092 wxPyUserData
* data
= NULL
;
2093 bool blocked
= wxPyBeginBlockThreads();
2094 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2095 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2096 data
= new wxPyUserData(userData
);
2097 wxPyEndBlockThreads(blocked
);
2099 // Now call the real Add method if a valid item type was found
2101 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2102 else if ( info
.sizer
)
2103 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2104 else if (info
.gotSize
)
2105 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2106 pos
, span
, flag
, border
, data
);
2114 static int _wrap_EmptyString_set(PyObject
*) {
2115 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2120 static PyObject
*_wrap_EmptyString_get() {
2125 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2127 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2134 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxObject
*arg1
= (wxObject
*) 0 ;
2138 PyObject
* obj0
= 0 ;
2140 (char *) "self", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 result
= wxObject_GetClassName(arg1
);
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2166 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 wxObject
*arg1
= (wxObject
*) 0 ;
2169 PyObject
* obj0
= 0 ;
2171 (char *) "self", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 wxObject_Destroy(arg1
);
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) SWIG_fail
;
2184 Py_INCREF(Py_None
); resultobj
= Py_None
;
2191 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2194 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2196 return Py_BuildValue((char *)"");
2198 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 wxSize
*arg1
= (wxSize
*) 0 ;
2202 PyObject
* obj0
= 0 ;
2203 PyObject
* obj1
= 0 ;
2205 (char *) "self",(char *) "x", NULL
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2211 arg2
= (int)SWIG_As_int(obj1
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2213 if (arg1
) (arg1
)->x
= arg2
;
2215 Py_INCREF(Py_None
); resultobj
= Py_None
;
2222 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxSize
*arg1
= (wxSize
*) 0 ;
2226 PyObject
* obj0
= 0 ;
2228 (char *) "self", NULL
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2234 result
= (int) ((arg1
)->x
);
2236 resultobj
= SWIG_From_int((int)result
);
2243 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
*resultobj
;
2245 wxSize
*arg1
= (wxSize
*) 0 ;
2247 PyObject
* obj0
= 0 ;
2248 PyObject
* obj1
= 0 ;
2250 (char *) "self",(char *) "y", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2256 arg2
= (int)SWIG_As_int(obj1
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2258 if (arg1
) (arg1
)->y
= arg2
;
2260 Py_INCREF(Py_None
); resultobj
= Py_None
;
2267 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
*resultobj
;
2269 wxSize
*arg1
= (wxSize
*) 0 ;
2271 PyObject
* obj0
= 0 ;
2273 (char *) "self", NULL
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2279 result
= (int) ((arg1
)->y
);
2281 resultobj
= SWIG_From_int((int)result
);
2288 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 int arg1
= (int) 0 ;
2291 int arg2
= (int) 0 ;
2293 PyObject
* obj0
= 0 ;
2294 PyObject
* obj1
= 0 ;
2296 (char *) "w",(char *) "h", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2301 arg1
= (int)SWIG_As_int(obj0
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2305 arg2
= (int)SWIG_As_int(obj1
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) SWIG_fail
;
2315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2322 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
*resultobj
;
2324 wxSize
*arg1
= (wxSize
*) 0 ;
2325 PyObject
* obj0
= 0 ;
2327 (char *) "self", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 wxPyEndAllowThreads(__tstate
);
2338 if (PyErr_Occurred()) SWIG_fail
;
2340 Py_INCREF(Py_None
); resultobj
= Py_None
;
2347 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
*resultobj
;
2349 wxSize
*arg1
= (wxSize
*) 0 ;
2353 PyObject
* obj0
= 0 ;
2354 PyObject
* obj1
= 0 ;
2356 (char *) "self",(char *) "sz", NULL
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2382 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2384 wxSize
*arg1
= (wxSize
*) 0 ;
2388 PyObject
* obj0
= 0 ;
2389 PyObject
* obj1
= 0 ;
2391 (char *) "self",(char *) "sz", NULL
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2399 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2417 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
;
2419 wxSize
*arg1
= (wxSize
*) 0 ;
2423 PyObject
* obj0
= 0 ;
2424 PyObject
* obj1
= 0 ;
2426 (char *) "self",(char *) "sz", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2434 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2438 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2440 wxPyEndAllowThreads(__tstate
);
2441 if (PyErr_Occurred()) SWIG_fail
;
2445 resultptr
= new wxSize((wxSize
&) result
);
2446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2454 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
*resultobj
;
2456 wxSize
*arg1
= (wxSize
*) 0 ;
2460 PyObject
* obj0
= 0 ;
2461 PyObject
* obj1
= 0 ;
2463 (char *) "self",(char *) "sz", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2482 resultptr
= new wxSize((wxSize
&) result
);
2483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2491 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxSize
*arg1
= (wxSize
*) 0 ;
2496 PyObject
* obj0
= 0 ;
2497 PyObject
* obj1
= 0 ;
2499 (char *) "self",(char *) "sz", NULL
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2507 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 (arg1
)->IncTo((wxSize
const &)*arg2
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 Py_INCREF(Py_None
); resultobj
= Py_None
;
2523 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxSize
*arg1
= (wxSize
*) 0 ;
2528 PyObject
* obj0
= 0 ;
2529 PyObject
* obj1
= 0 ;
2531 (char *) "self",(char *) "sz", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 (arg1
)->DecTo((wxSize
const &)*arg2
);
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2555 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 wxSize
*arg1
= (wxSize
*) 0 ;
2560 PyObject
* obj0
= 0 ;
2561 PyObject
* obj1
= 0 ;
2562 PyObject
* obj2
= 0 ;
2564 (char *) "self",(char *) "w",(char *) "h", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2570 arg2
= (int)SWIG_As_int(obj1
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2572 arg3
= (int)SWIG_As_int(obj2
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 (arg1
)->Set(arg2
,arg3
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2581 Py_INCREF(Py_None
); resultobj
= Py_None
;
2588 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
*resultobj
;
2590 wxSize
*arg1
= (wxSize
*) 0 ;
2592 PyObject
* obj0
= 0 ;
2593 PyObject
* obj1
= 0 ;
2595 (char *) "self",(char *) "w", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2601 arg2
= (int)SWIG_As_int(obj1
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 (arg1
)->SetWidth(arg2
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2610 Py_INCREF(Py_None
); resultobj
= Py_None
;
2617 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxSize
*arg1
= (wxSize
*) 0 ;
2621 PyObject
* obj0
= 0 ;
2622 PyObject
* obj1
= 0 ;
2624 (char *) "self",(char *) "h", NULL
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2630 arg2
= (int)SWIG_As_int(obj1
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 (arg1
)->SetHeight(arg2
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2639 Py_INCREF(Py_None
); resultobj
= Py_None
;
2646 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2648 wxSize
*arg1
= (wxSize
*) 0 ;
2650 PyObject
* obj0
= 0 ;
2652 (char *) "self", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= SWIG_From_int((int)result
);
2672 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2674 wxSize
*arg1
= (wxSize
*) 0 ;
2676 PyObject
* obj0
= 0 ;
2678 (char *) "self", NULL
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2691 resultobj
= SWIG_From_int((int)result
);
2698 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxSize
*arg1
= (wxSize
*) 0 ;
2702 PyObject
* obj0
= 0 ;
2704 (char *) "self", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2726 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxSize
*arg1
= (wxSize
*) 0 ;
2731 PyObject
* obj0
= 0 ;
2732 PyObject
* obj1
= 0 ;
2734 (char *) "self",(char *) "size", NULL
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2742 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2751 Py_INCREF(Py_None
); resultobj
= Py_None
;
2758 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
*resultobj
;
2760 wxSize
*arg1
= (wxSize
*) 0 ;
2762 PyObject
* obj0
= 0 ;
2764 (char *) "self", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 result
= (PyObject
*)wxSize_Get(arg1
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2784 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2787 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2789 return Py_BuildValue((char *)"");
2791 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
*resultobj
;
2793 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2795 PyObject
* obj0
= 0 ;
2796 PyObject
* obj1
= 0 ;
2798 (char *) "self",(char *) "x", NULL
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2804 arg2
= (double)SWIG_As_double(obj1
);
2805 if (PyErr_Occurred()) SWIG_fail
;
2806 if (arg1
) (arg1
)->x
= arg2
;
2808 Py_INCREF(Py_None
); resultobj
= Py_None
;
2815 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2817 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2819 PyObject
* obj0
= 0 ;
2821 (char *) "self", NULL
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2827 result
= (double) ((arg1
)->x
);
2829 resultobj
= SWIG_From_double((double)result
);
2836 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
;
2838 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2840 PyObject
* obj0
= 0 ;
2841 PyObject
* obj1
= 0 ;
2843 (char *) "self",(char *) "y", NULL
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2849 arg2
= (double)SWIG_As_double(obj1
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2851 if (arg1
) (arg1
)->y
= arg2
;
2853 Py_INCREF(Py_None
); resultobj
= Py_None
;
2860 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2862 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2864 PyObject
* obj0
= 0 ;
2866 (char *) "self", NULL
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2872 result
= (double) ((arg1
)->y
);
2874 resultobj
= SWIG_From_double((double)result
);
2881 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 double arg1
= (double) 0.0 ;
2884 double arg2
= (double) 0.0 ;
2885 wxRealPoint
*result
;
2886 PyObject
* obj0
= 0 ;
2887 PyObject
* obj1
= 0 ;
2889 (char *) "x",(char *) "y", NULL
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2894 arg1
= (double)SWIG_As_double(obj0
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2898 arg2
= (double)SWIG_As_double(obj1
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2915 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
;
2917 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2918 PyObject
* obj0
= 0 ;
2920 (char *) "self", NULL
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2933 Py_INCREF(Py_None
); resultobj
= Py_None
;
2940 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2943 wxRealPoint
*arg2
= 0 ;
2946 PyObject
* obj0
= 0 ;
2947 PyObject
* obj1
= 0 ;
2949 (char *) "self",(char *) "pt", NULL
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2957 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2975 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2978 wxRealPoint
*arg2
= 0 ;
2981 PyObject
* obj0
= 0 ;
2982 PyObject
* obj1
= 0 ;
2984 (char *) "self",(char *) "pt", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2992 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3010 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3013 wxRealPoint
*arg2
= 0 ;
3016 PyObject
* obj0
= 0 ;
3017 PyObject
* obj1
= 0 ;
3019 (char *) "self",(char *) "pt", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3027 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3037 wxRealPoint
* resultptr
;
3038 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3047 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
*resultobj
;
3049 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3050 wxRealPoint
*arg2
= 0 ;
3053 PyObject
* obj0
= 0 ;
3054 PyObject
* obj1
= 0 ;
3056 (char *) "self",(char *) "pt", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3064 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3074 wxRealPoint
* resultptr
;
3075 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3084 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3086 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3091 PyObject
* obj2
= 0 ;
3093 (char *) "self",(char *) "x",(char *) "y", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3099 arg2
= (double)SWIG_As_double(obj1
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3101 arg3
= (double)SWIG_As_double(obj2
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 wxRealPoint_Set(arg1
,arg2
,arg3
);
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3110 Py_INCREF(Py_None
); resultobj
= Py_None
;
3117 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3123 (char *) "self", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3143 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3146 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3148 return Py_BuildValue((char *)"");
3150 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
*resultobj
;
3152 wxPoint
*arg1
= (wxPoint
*) 0 ;
3154 PyObject
* obj0
= 0 ;
3155 PyObject
* obj1
= 0 ;
3157 (char *) "self",(char *) "x", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3163 arg2
= (int)SWIG_As_int(obj1
);
3164 if (PyErr_Occurred()) SWIG_fail
;
3165 if (arg1
) (arg1
)->x
= arg2
;
3167 Py_INCREF(Py_None
); resultobj
= Py_None
;
3174 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxPoint
*arg1
= (wxPoint
*) 0 ;
3178 PyObject
* obj0
= 0 ;
3180 (char *) "self", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3186 result
= (int) ((arg1
)->x
);
3188 resultobj
= SWIG_From_int((int)result
);
3195 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
*resultobj
;
3197 wxPoint
*arg1
= (wxPoint
*) 0 ;
3199 PyObject
* obj0
= 0 ;
3200 PyObject
* obj1
= 0 ;
3202 (char *) "self",(char *) "y", NULL
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3208 arg2
= (int)SWIG_As_int(obj1
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3210 if (arg1
) (arg1
)->y
= arg2
;
3212 Py_INCREF(Py_None
); resultobj
= Py_None
;
3219 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxPoint
*arg1
= (wxPoint
*) 0 ;
3223 PyObject
* obj0
= 0 ;
3225 (char *) "self", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3231 result
= (int) ((arg1
)->y
);
3233 resultobj
= SWIG_From_int((int)result
);
3240 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 int arg1
= (int) 0 ;
3243 int arg2
= (int) 0 ;
3245 PyObject
* obj0
= 0 ;
3246 PyObject
* obj1
= 0 ;
3248 (char *) "x",(char *) "y", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3253 arg1
= (int)SWIG_As_int(obj0
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3257 arg2
= (int)SWIG_As_int(obj1
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3274 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
*resultobj
;
3276 wxPoint
*arg1
= (wxPoint
*) 0 ;
3277 PyObject
* obj0
= 0 ;
3279 (char *) "self", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3292 Py_INCREF(Py_None
); resultobj
= Py_None
;
3299 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
*resultobj
;
3301 wxPoint
*arg1
= (wxPoint
*) 0 ;
3305 PyObject
* obj0
= 0 ;
3306 PyObject
* obj1
= 0 ;
3308 (char *) "self",(char *) "pt", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3334 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
*resultobj
;
3336 wxPoint
*arg1
= (wxPoint
*) 0 ;
3340 PyObject
* obj0
= 0 ;
3341 PyObject
* obj1
= 0 ;
3343 (char *) "self",(char *) "pt", NULL
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3351 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3369 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxPoint
*arg1
= (wxPoint
*) 0 ;
3375 PyObject
* obj0
= 0 ;
3376 PyObject
* obj1
= 0 ;
3378 (char *) "self",(char *) "pt", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3396 wxPoint
* resultptr
;
3397 resultptr
= new wxPoint((wxPoint
&) result
);
3398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3406 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxPoint
*arg1
= (wxPoint
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3413 PyObject
* obj1
= 0 ;
3415 (char *) "self",(char *) "pt", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3423 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3433 wxPoint
* resultptr
;
3434 resultptr
= new wxPoint((wxPoint
&) result
);
3435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3443 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 wxPoint
*arg1
= (wxPoint
*) 0 ;
3449 PyObject
* obj0
= 0 ;
3450 PyObject
* obj1
= 0 ;
3452 (char *) "self",(char *) "pt", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3457 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3466 result
= (wxPoint
*) &_result_ref
;
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3479 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxPoint
*arg1
= (wxPoint
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3488 (char *) "self",(char *) "pt", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3493 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3496 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3502 result
= (wxPoint
*) &_result_ref
;
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3515 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxPoint
*arg1
= (wxPoint
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3521 PyObject
* obj1
= 0 ;
3522 PyObject
* obj2
= 0 ;
3524 (char *) "self",(char *) "x",(char *) "y", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 arg2
= (long)SWIG_As_long(obj1
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3532 arg3
= (long)SWIG_As_long(obj2
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 wxPoint_Set(arg1
,arg2
,arg3
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 Py_INCREF(Py_None
); resultobj
= Py_None
;
3548 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxPoint
*arg1
= (wxPoint
*) 0 ;
3552 PyObject
* obj0
= 0 ;
3554 (char *) "self", NULL
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (PyObject
*)wxPoint_Get(arg1
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3574 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3577 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3579 return Py_BuildValue((char *)"");
3581 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 int arg1
= (int) 0 ;
3584 int arg2
= (int) 0 ;
3585 int arg3
= (int) 0 ;
3586 int arg4
= (int) 0 ;
3588 PyObject
* obj0
= 0 ;
3589 PyObject
* obj1
= 0 ;
3590 PyObject
* obj2
= 0 ;
3591 PyObject
* obj3
= 0 ;
3593 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3598 arg1
= (int)SWIG_As_int(obj0
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3602 arg2
= (int)SWIG_As_int(obj1
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3606 arg3
= (int)SWIG_As_int(obj2
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3610 arg4
= (int)SWIG_As_int(obj3
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3627 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 (char *) "topLeft",(char *) "bottomRight", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3643 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3663 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3670 PyObject
* obj0
= 0 ;
3671 PyObject
* obj1
= 0 ;
3673 (char *) "pos",(char *) "size", NULL
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3679 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3683 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3699 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3704 PyObject
* obj0
= 0 ;
3706 (char *) "size", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
3712 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3728 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxRect
*arg1
= (wxRect
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3733 (char *) "self", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 Py_INCREF(Py_None
); resultobj
= Py_None
;
3753 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxRect
*arg1
= (wxRect
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3759 (char *) "self", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 result
= (int)((wxRect
const *)arg1
)->GetX();
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 resultobj
= SWIG_From_int((int)result
);
3779 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxRect
*arg1
= (wxRect
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3786 (char *) "self",(char *) "x", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3792 arg2
= (int)SWIG_As_int(obj1
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 Py_INCREF(Py_None
); resultobj
= Py_None
;
3808 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3810 wxRect
*arg1
= (wxRect
*) 0 ;
3812 PyObject
* obj0
= 0 ;
3814 (char *) "self", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (int)(arg1
)->GetY();
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_From_int((int)result
);
3834 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxRect
*arg1
= (wxRect
*) 0 ;
3838 PyObject
* obj0
= 0 ;
3839 PyObject
* obj1
= 0 ;
3841 (char *) "self",(char *) "y", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3847 arg2
= (int)SWIG_As_int(obj1
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 Py_INCREF(Py_None
); resultobj
= Py_None
;
3863 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxRect
*arg1
= (wxRect
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3869 (char *) "self", NULL
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_From_int((int)result
);
3889 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 wxRect
*arg1
= (wxRect
*) 0 ;
3893 PyObject
* obj0
= 0 ;
3894 PyObject
* obj1
= 0 ;
3896 (char *) "self",(char *) "w", NULL
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3902 arg2
= (int)SWIG_As_int(obj1
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 (arg1
)->SetWidth(arg2
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 Py_INCREF(Py_None
); resultobj
= Py_None
;
3918 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxRect
*arg1
= (wxRect
*) 0 ;
3922 PyObject
* obj0
= 0 ;
3924 (char *) "self", NULL
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= SWIG_From_int((int)result
);
3944 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
;
3946 wxRect
*arg1
= (wxRect
*) 0 ;
3948 PyObject
* obj0
= 0 ;
3949 PyObject
* obj1
= 0 ;
3951 (char *) "self",(char *) "h", NULL
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3957 arg2
= (int)SWIG_As_int(obj1
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 (arg1
)->SetHeight(arg2
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 Py_INCREF(Py_None
); resultobj
= Py_None
;
3973 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxRect
*arg1
= (wxRect
*) 0 ;
3977 PyObject
* obj0
= 0 ;
3979 (char *) "self", NULL
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 result
= ((wxRect
const *)arg1
)->GetPosition();
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3993 wxPoint
* resultptr
;
3994 resultptr
= new wxPoint((wxPoint
&) result
);
3995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4003 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
;
4005 wxRect
*arg1
= (wxRect
*) 0 ;
4008 PyObject
* obj0
= 0 ;
4009 PyObject
* obj1
= 0 ;
4011 (char *) "self",(char *) "p", NULL
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 Py_INCREF(Py_None
); resultobj
= Py_None
;
4035 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
;
4037 wxRect
*arg1
= (wxRect
*) 0 ;
4039 PyObject
* obj0
= 0 ;
4041 (char *) "self", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
4045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 result
= ((wxRect
const *)arg1
)->GetSize();
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4056 resultptr
= new wxSize((wxSize
&) result
);
4057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4065 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxRect
*arg1
= (wxRect
*) 0 ;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4073 (char *) "self",(char *) "s", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4081 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 (arg1
)->SetSize((wxSize
const &)*arg2
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 Py_INCREF(Py_None
); resultobj
= Py_None
;
4097 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxRect
*arg1
= (wxRect
*) 0 ;
4101 PyObject
* obj0
= 0 ;
4103 (char *) "self", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4117 wxPoint
* resultptr
;
4118 resultptr
= new wxPoint((wxPoint
&) result
);
4119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4127 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4129 wxRect
*arg1
= (wxRect
*) 0 ;
4132 PyObject
* obj0
= 0 ;
4133 PyObject
* obj1
= 0 ;
4135 (char *) "self",(char *) "p", NULL
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4143 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxRect
*arg1
= (wxRect
*) 0 ;
4163 PyObject
* obj0
= 0 ;
4165 (char *) "self", NULL
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4179 wxPoint
* resultptr
;
4180 resultptr
= new wxPoint((wxPoint
&) result
);
4181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4189 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxRect
*arg1
= (wxRect
*) 0 ;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "p", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4205 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 Py_INCREF(Py_None
); resultobj
= Py_None
;
4221 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 wxRect
*arg1
= (wxRect
*) 0 ;
4225 PyObject
* obj0
= 0 ;
4227 (char *) "self", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= SWIG_From_int((int)result
);
4247 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4249 wxRect
*arg1
= (wxRect
*) 0 ;
4251 PyObject
* obj0
= 0 ;
4253 (char *) "self", NULL
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= (int)((wxRect
const *)arg1
)->GetTop();
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= SWIG_From_int((int)result
);
4273 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxRect
*arg1
= (wxRect
*) 0 ;
4277 PyObject
* obj0
= 0 ;
4279 (char *) "self", NULL
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) SWIG_fail
;
4292 resultobj
= SWIG_From_int((int)result
);
4299 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
*resultobj
;
4301 wxRect
*arg1
= (wxRect
*) 0 ;
4303 PyObject
* obj0
= 0 ;
4305 (char *) "self", NULL
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (int)((wxRect
const *)arg1
)->GetRight();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_From_int((int)result
);
4325 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxRect
*arg1
= (wxRect
*) 0 ;
4329 PyObject
* obj0
= 0 ;
4330 PyObject
* obj1
= 0 ;
4332 (char *) "self",(char *) "left", NULL
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4338 arg2
= (int)SWIG_As_int(obj1
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 (arg1
)->SetLeft(arg2
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 Py_INCREF(Py_None
); resultobj
= Py_None
;
4354 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
;
4356 wxRect
*arg1
= (wxRect
*) 0 ;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4361 (char *) "self",(char *) "right", NULL
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4367 arg2
= (int)SWIG_As_int(obj1
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 (arg1
)->SetRight(arg2
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 Py_INCREF(Py_None
); resultobj
= Py_None
;
4383 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4385 wxRect
*arg1
= (wxRect
*) 0 ;
4387 PyObject
* obj0
= 0 ;
4388 PyObject
* obj1
= 0 ;
4390 (char *) "self",(char *) "top", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4396 arg2
= (int)SWIG_As_int(obj1
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 (arg1
)->SetTop(arg2
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 Py_INCREF(Py_None
); resultobj
= Py_None
;
4412 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxRect
*arg1
= (wxRect
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4419 (char *) "self",(char *) "bottom", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4425 arg2
= (int)SWIG_As_int(obj1
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 (arg1
)->SetBottom(arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 Py_INCREF(Py_None
); resultobj
= Py_None
;
4441 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
;
4443 wxRect
*arg1
= (wxRect
*) 0 ;
4447 PyObject
* obj0
= 0 ;
4448 PyObject
* obj1
= 0 ;
4449 PyObject
* obj2
= 0 ;
4451 (char *) "self",(char *) "dx",(char *) "dy", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4457 arg2
= (int)SWIG_As_int(obj1
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4459 arg3
= (int)SWIG_As_int(obj2
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4465 result
= (wxRect
*) &_result_ref
;
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4478 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxRect
*arg1
= (wxRect
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4486 PyObject
* obj2
= 0 ;
4488 (char *) "self",(char *) "dx",(char *) "dy", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4494 arg2
= (int)SWIG_As_int(obj1
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4496 arg3
= (int)SWIG_As_int(obj2
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4502 result
= (wxRect
*) &_result_ref
;
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4515 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4517 wxRect
*arg1
= (wxRect
*) 0 ;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4522 PyObject
* obj2
= 0 ;
4524 (char *) "self",(char *) "dx",(char *) "dy", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4530 arg2
= (int)SWIG_As_int(obj1
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4532 arg3
= (int)SWIG_As_int(obj2
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 (arg1
)->Offset(arg2
,arg3
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 Py_INCREF(Py_None
); resultobj
= Py_None
;
4548 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxRect
*arg1
= (wxRect
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4554 PyObject
* obj1
= 0 ;
4556 (char *) "self",(char *) "pt", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4564 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 (arg1
)->Offset((wxPoint
const &)*arg2
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 Py_INCREF(Py_None
); resultobj
= Py_None
;
4580 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxRect
*arg1
= (wxRect
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4587 PyObject
* obj1
= 0 ;
4589 (char *) "self",(char *) "rect", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4597 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4608 resultptr
= new wxRect((wxRect
&) result
);
4609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4617 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxRect
*arg1
= (wxRect
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4624 PyObject
* obj1
= 0 ;
4626 (char *) "self",(char *) "rect", NULL
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
4630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4634 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= (arg1
)->Union((wxRect
const &)*arg2
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4645 resultptr
= new wxRect((wxRect
&) result
);
4646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4654 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
*resultobj
;
4656 wxRect
*arg1
= (wxRect
*) 0 ;
4660 PyObject
* obj0
= 0 ;
4661 PyObject
* obj1
= 0 ;
4663 (char *) "self",(char *) "rect", NULL
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4671 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4682 resultptr
= new wxRect((wxRect
&) result
);
4683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4691 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxRect
*arg1
= (wxRect
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4698 PyObject
* obj1
= 0 ;
4700 (char *) "self",(char *) "rect", NULL
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4705 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4708 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4714 result
= (wxRect
*) &_result_ref
;
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4727 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxRect
*arg1
= (wxRect
*) 0 ;
4733 PyObject
* obj0
= 0 ;
4734 PyObject
* obj1
= 0 ;
4736 (char *) "self",(char *) "rect", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4744 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4762 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxRect
*arg1
= (wxRect
*) 0 ;
4768 PyObject
* obj0
= 0 ;
4769 PyObject
* obj1
= 0 ;
4771 (char *) "self",(char *) "rect", NULL
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4779 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4797 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxRect
*arg1
= (wxRect
*) 0 ;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4805 PyObject
* obj2
= 0 ;
4807 (char *) "self",(char *) "x",(char *) "y", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 arg2
= (int)SWIG_As_int(obj1
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4815 arg3
= (int)SWIG_As_int(obj2
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4833 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4835 wxRect
*arg1
= (wxRect
*) 0 ;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4842 (char *) "self",(char *) "pt", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4850 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4868 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxRect
*arg1
= (wxRect
*) 0 ;
4874 PyObject
* obj0
= 0 ;
4875 PyObject
* obj1
= 0 ;
4877 (char *) "self",(char *) "rect", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4885 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4903 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4905 wxRect
*arg1
= (wxRect
*) 0 ;
4907 PyObject
* obj0
= 0 ;
4908 PyObject
* obj1
= 0 ;
4910 (char *) "self",(char *) "x", NULL
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4916 arg2
= (int)SWIG_As_int(obj1
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4918 if (arg1
) (arg1
)->x
= arg2
;
4920 Py_INCREF(Py_None
); resultobj
= Py_None
;
4927 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxRect
*arg1
= (wxRect
*) 0 ;
4931 PyObject
* obj0
= 0 ;
4933 (char *) "self", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4939 result
= (int) ((arg1
)->x
);
4941 resultobj
= SWIG_From_int((int)result
);
4948 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4950 wxRect
*arg1
= (wxRect
*) 0 ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4955 (char *) "self",(char *) "y", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 arg2
= (int)SWIG_As_int(obj1
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4963 if (arg1
) (arg1
)->y
= arg2
;
4965 Py_INCREF(Py_None
); resultobj
= Py_None
;
4972 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
*resultobj
;
4974 wxRect
*arg1
= (wxRect
*) 0 ;
4976 PyObject
* obj0
= 0 ;
4978 (char *) "self", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4984 result
= (int) ((arg1
)->y
);
4986 resultobj
= SWIG_From_int((int)result
);
4993 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxRect
*arg1
= (wxRect
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
5000 (char *) "self",(char *) "width", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5006 arg2
= (int)SWIG_As_int(obj1
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5008 if (arg1
) (arg1
)->width
= arg2
;
5010 Py_INCREF(Py_None
); resultobj
= Py_None
;
5017 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxRect
*arg1
= (wxRect
*) 0 ;
5021 PyObject
* obj0
= 0 ;
5023 (char *) "self", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 result
= (int) ((arg1
)->width
);
5031 resultobj
= SWIG_From_int((int)result
);
5038 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
;
5040 wxRect
*arg1
= (wxRect
*) 0 ;
5042 PyObject
* obj0
= 0 ;
5043 PyObject
* obj1
= 0 ;
5045 (char *) "self",(char *) "height", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5051 arg2
= (int)SWIG_As_int(obj1
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5053 if (arg1
) (arg1
)->height
= arg2
;
5055 Py_INCREF(Py_None
); resultobj
= Py_None
;
5062 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxRect
*arg1
= (wxRect
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5068 (char *) "self", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5074 result
= (int) ((arg1
)->height
);
5076 resultobj
= SWIG_From_int((int)result
);
5083 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxRect
*arg1
= (wxRect
*) 0 ;
5086 int arg2
= (int) 0 ;
5087 int arg3
= (int) 0 ;
5088 int arg4
= (int) 0 ;
5089 int arg5
= (int) 0 ;
5090 PyObject
* obj0
= 0 ;
5091 PyObject
* obj1
= 0 ;
5092 PyObject
* obj2
= 0 ;
5093 PyObject
* obj3
= 0 ;
5094 PyObject
* obj4
= 0 ;
5096 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5103 arg2
= (int)SWIG_As_int(obj1
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5107 arg3
= (int)SWIG_As_int(obj2
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5111 arg4
= (int)SWIG_As_int(obj3
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5115 arg5
= (int)SWIG_As_int(obj4
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 Py_INCREF(Py_None
); resultobj
= Py_None
;
5132 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxRect
*arg1
= (wxRect
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5138 (char *) "self", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (PyObject
*)wxRect_Get(arg1
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5158 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5161 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5163 return Py_BuildValue((char *)"");
5165 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxRect
*arg1
= (wxRect
*) 0 ;
5168 wxRect
*arg2
= (wxRect
*) 0 ;
5170 PyObject
* obj0
= 0 ;
5171 PyObject
* obj1
= 0 ;
5173 (char *) "r1",(char *) "r2", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5182 if (!wxPyCheckForApp()) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5196 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 double arg1
= (double) 0.0 ;
5199 double arg2
= (double) 0.0 ;
5201 PyObject
* obj0
= 0 ;
5202 PyObject
* obj1
= 0 ;
5204 (char *) "x",(char *) "y", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5209 arg1
= (double)SWIG_As_double(obj0
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5213 arg2
= (double)SWIG_As_double(obj1
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5230 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxPoint2D
*arg1
= 0 ;
5235 PyObject
* obj0
= 0 ;
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5243 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5259 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5264 PyObject
* obj0
= 0 ;
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5272 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5288 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5291 int *arg2
= (int *) 0 ;
5292 int *arg3
= (int *) 0 ;
5297 PyObject
* obj0
= 0 ;
5299 (char *) "self", NULL
5302 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5303 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 Py_INCREF(Py_None
); resultobj
= Py_None
;
5315 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5316 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5317 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5318 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5325 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
*resultobj
;
5327 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5328 int *arg2
= (int *) 0 ;
5329 int *arg3
= (int *) 0 ;
5334 PyObject
* obj0
= 0 ;
5336 (char *) "self", NULL
5339 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5340 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 Py_INCREF(Py_None
); resultobj
= Py_None
;
5352 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5353 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5354 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5355 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5362 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5366 PyObject
* obj0
= 0 ;
5368 (char *) "self", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= SWIG_From_double((double)result
);
5388 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5394 (char *) "self", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 resultobj
= SWIG_From_double((double)result
);
5414 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5421 (char *) "self",(char *) "length", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5427 arg2
= (double)SWIG_As_double(obj1
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 (arg1
)->SetVectorLength(arg2
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 Py_INCREF(Py_None
); resultobj
= Py_None
;
5443 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5450 (char *) "self",(char *) "degrees", NULL
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5456 arg2
= (double)SWIG_As_double(obj1
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 (arg1
)->SetVectorAngle(arg2
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 Py_INCREF(Py_None
); resultobj
= Py_None
;
5472 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5475 wxPoint2D
*arg2
= 0 ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5481 (char *) "self",(char *) "pt", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5489 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_From_double((double)result
);
5505 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5508 wxPoint2D
*arg2
= 0 ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5514 (char *) "self",(char *) "pt", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5522 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= SWIG_From_double((double)result
);
5538 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5541 wxPoint2D
*arg2
= 0 ;
5544 PyObject
* obj0
= 0 ;
5545 PyObject
* obj1
= 0 ;
5547 (char *) "self",(char *) "vec", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5555 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_From_double((double)result
);
5571 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5574 wxPoint2D
*arg2
= 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5580 (char *) "self",(char *) "vec", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5588 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= SWIG_From_double((double)result
);
5604 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5608 PyObject
* obj0
= 0 ;
5610 (char *) "self", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (arg1
)->operator -();
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5624 wxPoint2D
* resultptr
;
5625 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5634 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5637 wxPoint2D
*arg2
= 0 ;
5640 PyObject
* obj0
= 0 ;
5641 PyObject
* obj1
= 0 ;
5643 (char *) "self",(char *) "pt", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5648 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5651 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5657 result
= (wxPoint2D
*) &_result_ref
;
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5670 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5673 wxPoint2D
*arg2
= 0 ;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5679 (char *) "self",(char *) "pt", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5684 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5687 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5693 result
= (wxPoint2D
*) &_result_ref
;
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5706 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5709 wxPoint2D
*arg2
= 0 ;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj1
= 0 ;
5715 (char *) "self",(char *) "pt", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5720 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5723 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5729 result
= (wxPoint2D
*) &_result_ref
;
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5742 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5745 wxPoint2D
*arg2
= 0 ;
5748 PyObject
* obj0
= 0 ;
5749 PyObject
* obj1
= 0 ;
5751 (char *) "self",(char *) "pt", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5756 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5759 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5765 result
= (wxPoint2D
*) &_result_ref
;
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5778 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
;
5780 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5781 wxPoint2D
*arg2
= 0 ;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj1
= 0 ;
5787 (char *) "self",(char *) "pt", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5795 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5813 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5816 wxPoint2D
*arg2
= 0 ;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5822 (char *) "self",(char *) "pt", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5830 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5848 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
*resultobj
;
5850 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5855 (char *) "self",(char *) "m_x", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5861 arg2
= (double)SWIG_As_double(obj1
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5863 if (arg1
) (arg1
)->m_x
= arg2
;
5865 Py_INCREF(Py_None
); resultobj
= Py_None
;
5872 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "self", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5884 result
= (double) ((arg1
)->m_x
);
5886 resultobj
= SWIG_From_double((double)result
);
5893 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj1
= 0 ;
5900 (char *) "self",(char *) "m_y", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5906 arg2
= (double)SWIG_As_double(obj1
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5908 if (arg1
) (arg1
)->m_y
= arg2
;
5910 Py_INCREF(Py_None
); resultobj
= Py_None
;
5917 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5921 PyObject
* obj0
= 0 ;
5923 (char *) "self", NULL
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5929 result
= (double) ((arg1
)->m_y
);
5931 resultobj
= SWIG_From_double((double)result
);
5938 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
;
5940 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5941 double arg2
= (double) 0 ;
5942 double arg3
= (double) 0 ;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5945 PyObject
* obj2
= 0 ;
5947 (char *) "self",(char *) "x",(char *) "y", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5954 arg2
= (double)SWIG_As_double(obj1
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5958 arg3
= (double)SWIG_As_double(obj2
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 wxPoint2D_Set(arg1
,arg2
,arg3
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 Py_INCREF(Py_None
); resultobj
= Py_None
;
5975 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5981 (char *) "self", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
6001 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
6003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6004 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
6006 return Py_BuildValue((char *)"");
6008 static int _wrap_DefaultPosition_set(PyObject
*) {
6009 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
6014 static PyObject
*_wrap_DefaultPosition_get() {
6017 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
6022 static int _wrap_DefaultSize_set(PyObject
*) {
6023 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
6028 static PyObject
*_wrap_DefaultSize_get() {
6031 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
6036 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 PyObject
*arg1
= (PyObject
*) 0 ;
6039 wxPyInputStream
*result
;
6040 PyObject
* obj0
= 0 ;
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
6061 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
;
6063 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6064 PyObject
* obj0
= 0 ;
6066 (char *) "self", NULL
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
6070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6079 Py_INCREF(Py_None
); resultobj
= Py_None
;
6086 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
;
6088 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6091 (char *) "self", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 Py_INCREF(Py_None
); resultobj
= Py_None
;
6111 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
;
6113 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6116 (char *) "self", NULL
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
6120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 Py_INCREF(Py_None
); resultobj
= Py_None
;
6136 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6142 (char *) "self", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (bool)(arg1
)->eof();
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6164 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6167 int arg2
= (int) -1 ;
6169 PyObject
* obj0
= 0 ;
6170 PyObject
* obj1
= 0 ;
6172 (char *) "self",(char *) "size", NULL
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6179 arg2
= (int)SWIG_As_int(obj1
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 result
= (PyObject
*)(arg1
)->read(arg2
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6196 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6199 int arg2
= (int) -1 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6204 (char *) "self",(char *) "size", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6211 arg2
= (int)SWIG_As_int(obj1
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (PyObject
*)(arg1
)->readline(arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6228 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6231 int arg2
= (int) -1 ;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6236 (char *) "self",(char *) "sizehint", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 arg2
= (int)SWIG_As_int(obj1
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6260 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6264 int arg3
= (int) 0 ;
6265 PyObject
* obj0
= 0 ;
6266 PyObject
* obj1
= 0 ;
6267 PyObject
* obj2
= 0 ;
6269 (char *) "self",(char *) "offset",(char *) "whence", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6275 arg2
= (int)SWIG_As_int(obj1
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 arg3
= (int)SWIG_As_int(obj2
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 (arg1
)->seek(arg2
,arg3
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 Py_INCREF(Py_None
); resultobj
= Py_None
;
6295 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "self", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (int)(arg1
)->tell();
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_From_int((int)result
);
6321 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6327 (char *) "self", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= (char)(arg1
)->Peek();
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= SWIG_From_char((char)result
);
6347 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6351 PyObject
* obj0
= 0 ;
6353 (char *) "self", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (char)(arg1
)->GetC();
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_From_char((char)result
);
6373 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6379 (char *) "self", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (size_t)(arg1
)->LastRead();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6399 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6403 PyObject
* obj0
= 0 ;
6405 (char *) "self", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 result
= (bool)(arg1
)->CanRead();
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6427 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6431 PyObject
* obj0
= 0 ;
6433 (char *) "self", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (bool)(arg1
)->Eof();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6455 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6463 (char *) "self",(char *) "c", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6469 arg2
= (char)SWIG_As_char(obj1
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (bool)(arg1
)->Ungetch(arg2
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6487 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6491 int arg3
= (int) wxFromStart
;
6493 PyObject
* obj0
= 0 ;
6494 PyObject
* obj1
= 0 ;
6495 PyObject
* obj2
= 0 ;
6497 (char *) "self",(char *) "pos",(char *) "mode", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6503 arg2
= (long)SWIG_As_long(obj1
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 arg3
= (int)SWIG_As_int(obj2
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= SWIG_From_long((long)result
);
6523 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
;
6525 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6529 (char *) "self", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (long)(arg1
)->TellI();
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_From_long((long)result
);
6549 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6552 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6554 return Py_BuildValue((char *)"");
6556 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6559 PyObject
*arg2
= (PyObject
*) 0 ;
6560 PyObject
* obj0
= 0 ;
6561 PyObject
* obj1
= 0 ;
6563 (char *) "self",(char *) "obj", NULL
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 wxOutputStream_write(arg1
,arg2
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 Py_INCREF(Py_None
); resultobj
= Py_None
;
6584 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6587 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6589 return Py_BuildValue((char *)"");
6591 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6594 wxString
*arg2
= 0 ;
6595 wxString
*arg3
= 0 ;
6596 wxString
*arg4
= 0 ;
6599 wxPyInputStream
*temp1
;
6601 bool temp2
= false ;
6602 bool temp3
= false ;
6603 bool temp4
= false ;
6605 PyObject
* obj0
= 0 ;
6606 PyObject
* obj1
= 0 ;
6607 PyObject
* obj2
= 0 ;
6608 PyObject
* obj3
= 0 ;
6609 PyObject
* obj4
= 0 ;
6611 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6616 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6617 arg1
= temp1
->m_wxis
;
6620 PyErr_Clear(); // clear the failure of the wxPyConvert above
6621 arg1
= wxPyCBInputStream_create(obj0
, false);
6623 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6630 arg2
= wxString_in_helper(obj1
);
6631 if (arg2
== NULL
) SWIG_fail
;
6635 arg3
= wxString_in_helper(obj2
);
6636 if (arg3
== NULL
) SWIG_fail
;
6640 arg4
= wxString_in_helper(obj3
);
6641 if (arg4
== NULL
) SWIG_fail
;
6644 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6645 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= wxPyMake_wxObject(result
, 1);
6695 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6698 PyObject
* obj0
= 0 ;
6700 (char *) "self", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 Py_INCREF(Py_None
); resultobj
= Py_None
;
6720 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
;
6722 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6723 wxInputStream
*result
;
6724 PyObject
* obj0
= 0 ;
6726 (char *) "self", NULL
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 result
= (wxInputStream
*)(arg1
)->GetStream();
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6740 wxPyInputStream
* _ptr
= NULL
;
6743 _ptr
= new wxPyInputStream(result
);
6745 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
6753 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
;
6755 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6757 PyObject
* obj0
= 0 ;
6759 (char *) "self", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6769 result
= (wxString
*) &_result_ref
;
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6779 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6788 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6792 PyObject
* obj0
= 0 ;
6794 (char *) "self", NULL
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 wxString
const &_result_ref
= (arg1
)->GetLocation();
6804 result
= (wxString
*) &_result_ref
;
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6814 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6823 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6827 PyObject
* obj0
= 0 ;
6829 (char *) "self", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6839 result
= (wxString
*) &_result_ref
;
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6849 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6858 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (arg1
)->GetModificationTime();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6878 wxDateTime
* resultptr
;
6879 resultptr
= new wxDateTime((wxDateTime
&) result
);
6880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6888 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6891 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6893 return Py_BuildValue((char *)"");
6895 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6898 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6900 return Py_BuildValue((char *)"");
6902 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxPyFileSystemHandler
*result
;
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6924 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
;
6926 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6927 PyObject
*arg2
= (PyObject
*) 0 ;
6928 PyObject
*arg3
= (PyObject
*) 0 ;
6929 PyObject
* obj0
= 0 ;
6930 PyObject
* obj1
= 0 ;
6931 PyObject
* obj2
= 0 ;
6933 (char *) "self",(char *) "self",(char *) "_class", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 Py_INCREF(Py_None
); resultobj
= Py_None
;
6955 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6958 wxString
*arg2
= 0 ;
6960 bool temp2
= false ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6964 (char *) "self",(char *) "location", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6971 arg2
= wxString_in_helper(obj1
);
6972 if (arg2
== NULL
) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6999 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7002 wxFileSystem
*arg2
= 0 ;
7003 wxString
*arg3
= 0 ;
7005 bool temp3
= false ;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7008 PyObject
* obj2
= 0 ;
7010 (char *) "self",(char *) "fs",(char *) "location", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7020 PyErr_SetString(PyExc_TypeError
,"null reference");
7024 arg3
= wxString_in_helper(obj2
);
7025 if (arg3
== NULL
) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= wxPyMake_wxObject(result
, 1);
7052 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7055 wxString
*arg2
= 0 ;
7056 int arg3
= (int) 0 ;
7058 bool temp2
= false ;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7061 PyObject
* obj2
= 0 ;
7063 (char *) "self",(char *) "spec",(char *) "flags", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7070 arg2
= wxString_in_helper(obj1
);
7071 if (arg2
== NULL
) SWIG_fail
;
7075 arg3
= (int)SWIG_As_int(obj2
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7106 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7108 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7110 PyObject
* obj0
= 0 ;
7112 (char *) "self", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 result
= (arg1
)->FindNext();
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7138 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7141 wxString
*arg2
= 0 ;
7143 bool temp2
= false ;
7144 PyObject
* obj0
= 0 ;
7145 PyObject
* obj1
= 0 ;
7147 (char *) "self",(char *) "location", NULL
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7154 arg2
= wxString_in_helper(obj1
);
7155 if (arg2
== NULL
) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7186 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7189 wxString
*arg2
= 0 ;
7191 bool temp2
= false ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7195 (char *) "self",(char *) "location", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 arg2
= wxString_in_helper(obj1
);
7203 if (arg2
== NULL
) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7234 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7237 wxString
*arg2
= 0 ;
7239 bool temp2
= false ;
7240 PyObject
* obj0
= 0 ;
7241 PyObject
* obj1
= 0 ;
7243 (char *) "self",(char *) "location", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7250 arg2
= wxString_in_helper(obj1
);
7251 if (arg2
== NULL
) SWIG_fail
;
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7282 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
*resultobj
;
7284 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7285 wxString
*arg2
= 0 ;
7287 bool temp2
= false ;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7291 (char *) "self",(char *) "location", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7298 arg2
= wxString_in_helper(obj1
);
7299 if (arg2
== NULL
) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7330 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
;
7332 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7333 wxString
*arg2
= 0 ;
7335 bool temp2
= false ;
7336 PyObject
* obj0
= 0 ;
7337 PyObject
* obj1
= 0 ;
7339 (char *) "self",(char *) "location", NULL
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7346 arg2
= wxString_in_helper(obj1
);
7347 if (arg2
== NULL
) SWIG_fail
;
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7378 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7381 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7383 return Py_BuildValue((char *)"");
7385 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxFileSystem
*result
;
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 result
= (wxFileSystem
*)new wxFileSystem();
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= wxPyMake_wxObject(result
, 1);
7409 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7411 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "self", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 Py_INCREF(Py_None
); resultobj
= Py_None
;
7434 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7437 wxString
*arg2
= 0 ;
7438 bool arg3
= (bool) false ;
7439 bool temp2
= false ;
7440 PyObject
* obj0
= 0 ;
7441 PyObject
* obj1
= 0 ;
7442 PyObject
* obj2
= 0 ;
7444 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7451 arg2
= wxString_in_helper(obj1
);
7452 if (arg2
== NULL
) SWIG_fail
;
7456 arg3
= (bool)SWIG_As_bool(obj2
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 Py_INCREF(Py_None
); resultobj
= Py_None
;
7481 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7485 PyObject
* obj0
= 0 ;
7487 (char *) "self", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= (arg1
)->GetPath();
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7513 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
;
7515 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7516 wxString
*arg2
= 0 ;
7518 bool temp2
= false ;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj1
= 0 ;
7522 (char *) "self",(char *) "location", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7529 arg2
= wxString_in_helper(obj1
);
7530 if (arg2
== NULL
) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= wxPyMake_wxObject(result
, 1);
7557 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7560 wxString
*arg2
= 0 ;
7561 int arg3
= (int) 0 ;
7563 bool temp2
= false ;
7564 PyObject
* obj0
= 0 ;
7565 PyObject
* obj1
= 0 ;
7566 PyObject
* obj2
= 0 ;
7568 (char *) "self",(char *) "spec",(char *) "flags", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7575 arg2
= wxString_in_helper(obj1
);
7576 if (arg2
== NULL
) SWIG_fail
;
7580 arg3
= (int)SWIG_As_int(obj2
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7611 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7615 PyObject
* obj0
= 0 ;
7617 (char *) "self", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (arg1
)->FindNext();
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());
7643 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7646 PyObject
* obj0
= 0 ;
7648 (char *) "handler", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7656 wxFileSystem::AddHandler(arg1
);
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7661 Py_INCREF(Py_None
); resultobj
= Py_None
;
7668 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
*resultobj
;
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 wxFileSystem::CleanUpHandlers();
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 Py_INCREF(Py_None
); resultobj
= Py_None
;
7689 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxString
*arg1
= 0 ;
7693 bool temp1
= false ;
7694 PyObject
* obj0
= 0 ;
7696 (char *) "filename", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7701 arg1
= wxString_in_helper(obj0
);
7702 if (arg1
== NULL
) SWIG_fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7733 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxString
*arg1
= 0 ;
7737 bool temp1
= false ;
7738 PyObject
* obj0
= 0 ;
7740 (char *) "url", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7745 arg1
= wxString_in_helper(obj0
);
7746 if (arg1
== NULL
) SWIG_fail
;
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7777 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7780 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7782 return Py_BuildValue((char *)"");
7784 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxInternetFSHandler
*result
;
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7806 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 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:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
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_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 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:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
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
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7906 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7908 return Py_BuildValue((char *)"");
7910 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxZipFSHandler
*result
;
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7932 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
*resultobj
;
7934 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7935 wxString
*arg2
= 0 ;
7937 bool temp2
= false ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7941 (char *) "self",(char *) "location", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7948 arg2
= wxString_in_helper(obj1
);
7949 if (arg2
== NULL
) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7976 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7979 wxFileSystem
*arg2
= 0 ;
7980 wxString
*arg3
= 0 ;
7982 bool temp3
= false ;
7983 PyObject
* obj0
= 0 ;
7984 PyObject
* obj1
= 0 ;
7985 PyObject
* obj2
= 0 ;
7987 (char *) "self",(char *) "fs",(char *) "location", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7997 PyErr_SetString(PyExc_TypeError
,"null reference");
8001 arg3
= wxString_in_helper(obj2
);
8002 if (arg3
== NULL
) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= wxPyMake_wxObject(result
, 1);
8029 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
;
8031 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8032 wxString
*arg2
= 0 ;
8033 int arg3
= (int) 0 ;
8035 bool temp2
= false ;
8036 PyObject
* obj0
= 0 ;
8037 PyObject
* obj1
= 0 ;
8038 PyObject
* obj2
= 0 ;
8040 (char *) "self",(char *) "spec",(char *) "flags", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8047 arg2
= wxString_in_helper(obj1
);
8048 if (arg2
== NULL
) SWIG_fail
;
8052 arg3
= (int)SWIG_As_int(obj2
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8083 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8085 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8087 PyObject
* obj0
= 0 ;
8089 (char *) "self", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 result
= (arg1
)->FindNext();
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8115 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8118 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
8120 return Py_BuildValue((char *)"");
8122 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
*resultobj
;
8124 wxString
*arg1
= 0 ;
8127 bool temp1
= false ;
8128 PyObject
* obj0
= 0 ;
8129 PyObject
* obj1
= 0 ;
8130 PyObject
* obj2
= 0 ;
8132 (char *) "filename",(char *) "image",(char *) "type", NULL
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8137 arg1
= wxString_in_helper(obj0
);
8138 if (arg1
== NULL
) SWIG_fail
;
8141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8145 PyErr_SetString(PyExc_TypeError
,"null reference");
8148 arg3
= (long)SWIG_As_long(obj2
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 Py_INCREF(Py_None
); resultobj
= Py_None
;
8172 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxString
*arg1
= 0 ;
8175 wxBitmap
*arg2
= 0 ;
8177 bool temp1
= false ;
8178 PyObject
* obj0
= 0 ;
8179 PyObject
* obj1
= 0 ;
8180 PyObject
* obj2
= 0 ;
8182 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8187 arg1
= wxString_in_helper(obj0
);
8188 if (arg1
== NULL
) SWIG_fail
;
8191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8195 PyErr_SetString(PyExc_TypeError
,"null reference");
8198 arg3
= (long)SWIG_As_long(obj2
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 Py_INCREF(Py_None
); resultobj
= Py_None
;
8222 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 wxString
*arg1
= 0 ;
8225 PyObject
*arg2
= (PyObject
*) 0 ;
8226 bool temp1
= false ;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8230 (char *) "filename",(char *) "data", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8235 arg1
= wxString_in_helper(obj0
);
8236 if (arg1
== NULL
) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 Py_INCREF(Py_None
); resultobj
= Py_None
;
8262 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxMemoryFSHandler
*result
;
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8284 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxString
*arg1
= 0 ;
8287 bool temp1
= false ;
8288 PyObject
* obj0
= 0 ;
8290 (char *) "filename", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8295 arg1
= wxString_in_helper(obj0
);
8296 if (arg1
== NULL
) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 Py_INCREF(Py_None
); resultobj
= Py_None
;
8321 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8324 wxString
*arg2
= 0 ;
8326 bool temp2
= false ;
8327 PyObject
* obj0
= 0 ;
8328 PyObject
* obj1
= 0 ;
8330 (char *) "self",(char *) "location", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8337 arg2
= wxString_in_helper(obj1
);
8338 if (arg2
== NULL
) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8365 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8368 wxFileSystem
*arg2
= 0 ;
8369 wxString
*arg3
= 0 ;
8371 bool temp3
= false ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8374 PyObject
* obj2
= 0 ;
8376 (char *) "self",(char *) "fs",(char *) "location", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8386 PyErr_SetString(PyExc_TypeError
,"null reference");
8390 arg3
= wxString_in_helper(obj2
);
8391 if (arg3
== NULL
) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= wxPyMake_wxObject(result
, 1);
8418 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8421 wxString
*arg2
= 0 ;
8422 int arg3
= (int) 0 ;
8424 bool temp2
= false ;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj1
= 0 ;
8427 PyObject
* obj2
= 0 ;
8429 (char *) "self",(char *) "spec",(char *) "flags", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8436 arg2
= wxString_in_helper(obj1
);
8437 if (arg2
== NULL
) SWIG_fail
;
8441 arg3
= (int)SWIG_As_int(obj2
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8472 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8476 PyObject
* obj0
= 0 ;
8478 (char *) "self", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 result
= (arg1
)->FindNext();
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8504 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8507 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8509 return Py_BuildValue((char *)"");
8511 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8515 PyObject
* obj0
= 0 ;
8517 (char *) "self", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (arg1
)->GetName();
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8543 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8547 PyObject
* obj0
= 0 ;
8549 (char *) "self", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (arg1
)->GetExtension();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8575 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8579 PyObject
* obj0
= 0 ;
8581 (char *) "self", NULL
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (long)(arg1
)->GetType();
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= SWIG_From_long((long)result
);
8601 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8605 PyObject
* obj0
= 0 ;
8607 (char *) "self", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (arg1
)->GetMimeType();
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8633 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
;
8635 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8636 wxString
*arg2
= 0 ;
8638 bool temp2
= false ;
8639 PyObject
* obj0
= 0 ;
8640 PyObject
* obj1
= 0 ;
8642 (char *) "self",(char *) "name", NULL
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8649 arg2
= wxString_in_helper(obj1
);
8650 if (arg2
== NULL
) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8677 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8680 wxString
*arg2
= 0 ;
8681 bool temp2
= false ;
8682 PyObject
* obj0
= 0 ;
8683 PyObject
* obj1
= 0 ;
8685 (char *) "self",(char *) "name", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8692 arg2
= wxString_in_helper(obj1
);
8693 if (arg2
== NULL
) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 (arg1
)->SetName((wxString
const &)*arg2
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 Py_INCREF(Py_None
); resultobj
= Py_None
;
8718 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8721 wxString
*arg2
= 0 ;
8722 bool temp2
= false ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8726 (char *) "self",(char *) "extension", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8733 arg2
= wxString_in_helper(obj1
);
8734 if (arg2
== NULL
) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 (arg1
)->SetExtension((wxString
const &)*arg2
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 Py_INCREF(Py_None
); resultobj
= Py_None
;
8759 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8766 (char *) "self",(char *) "type", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8772 arg2
= (long)SWIG_As_long(obj1
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 (arg1
)->SetType(arg2
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 Py_INCREF(Py_None
); resultobj
= Py_None
;
8788 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8790 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8791 wxString
*arg2
= 0 ;
8792 bool temp2
= false ;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8796 (char *) "self",(char *) "mimetype", NULL
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8803 arg2
= wxString_in_helper(obj1
);
8804 if (arg2
== NULL
) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8832 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8834 return Py_BuildValue((char *)"");
8836 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxImageHistogram
*result
;
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (wxImageHistogram
*)new wxImageHistogram();
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8858 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 unsigned char arg1
;
8861 unsigned char arg2
;
8862 unsigned char arg3
;
8863 unsigned long result
;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8866 PyObject
* obj2
= 0 ;
8868 (char *) "r",(char *) "g",(char *) "b", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8872 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8874 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8876 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8892 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8895 unsigned char *arg2
= (unsigned char *) 0 ;
8896 unsigned char *arg3
= (unsigned char *) 0 ;
8897 unsigned char *arg4
= (unsigned char *) 0 ;
8898 unsigned char arg5
= (unsigned char) 1 ;
8899 unsigned char arg6
= (unsigned char) 0 ;
8900 unsigned char arg7
= (unsigned char) 0 ;
8902 unsigned char temp2
;
8904 unsigned char temp3
;
8906 unsigned char temp4
;
8908 PyObject
* obj0
= 0 ;
8909 PyObject
* obj1
= 0 ;
8910 PyObject
* obj2
= 0 ;
8911 PyObject
* obj3
= 0 ;
8913 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8916 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8917 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8918 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8923 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8927 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8931 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8944 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8945 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8946 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8947 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8948 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8949 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8956 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8959 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8961 return Py_BuildValue((char *)"");
8963 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxString
*arg1
= 0 ;
8966 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8967 int arg3
= (int) -1 ;
8969 bool temp1
= false ;
8970 PyObject
* obj0
= 0 ;
8971 PyObject
* obj1
= 0 ;
8972 PyObject
* obj2
= 0 ;
8974 (char *) "name",(char *) "type",(char *) "index", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8979 arg1
= wxString_in_helper(obj0
);
8980 if (arg1
== NULL
) SWIG_fail
;
8984 arg2
= (long)SWIG_As_long(obj1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8988 arg3
= (int)SWIG_As_int(obj2
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9013 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxImage
*arg1
= (wxImage
*) 0 ;
9016 PyObject
* obj0
= 0 ;
9018 (char *) "self", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
9022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 Py_INCREF(Py_None
); resultobj
= Py_None
;
9038 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxString
*arg1
= 0 ;
9041 wxString
*arg2
= 0 ;
9042 int arg3
= (int) -1 ;
9044 bool temp1
= false ;
9045 bool temp2
= false ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9048 PyObject
* obj2
= 0 ;
9050 (char *) "name",(char *) "mimetype",(char *) "index", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9055 arg1
= wxString_in_helper(obj0
);
9056 if (arg1
== NULL
) SWIG_fail
;
9060 arg2
= wxString_in_helper(obj1
);
9061 if (arg2
== NULL
) SWIG_fail
;
9065 arg3
= (int)SWIG_As_int(obj2
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9098 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxInputStream
*arg1
= 0 ;
9101 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9102 int arg3
= (int) -1 ;
9104 wxPyInputStream
*temp1
;
9106 PyObject
* obj0
= 0 ;
9107 PyObject
* obj1
= 0 ;
9108 PyObject
* obj2
= 0 ;
9110 (char *) "stream",(char *) "type",(char *) "index", NULL
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9115 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9116 arg1
= temp1
->m_wxis
;
9119 PyErr_Clear(); // clear the failure of the wxPyConvert above
9120 arg1
= wxPyCBInputStream_create(obj0
, false);
9122 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9129 arg2
= (long)SWIG_As_long(obj1
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9133 arg3
= (int)SWIG_As_int(obj2
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9158 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9160 wxInputStream
*arg1
= 0 ;
9161 wxString
*arg2
= 0 ;
9162 int arg3
= (int) -1 ;
9164 wxPyInputStream
*temp1
;
9166 bool temp2
= false ;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9169 PyObject
* obj2
= 0 ;
9171 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9176 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9177 arg1
= temp1
->m_wxis
;
9180 PyErr_Clear(); // clear the failure of the wxPyConvert above
9181 arg1
= wxPyCBInputStream_create(obj0
, false);
9183 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9190 arg2
= wxString_in_helper(obj1
);
9191 if (arg2
== NULL
) SWIG_fail
;
9195 arg3
= (int)SWIG_As_int(obj2
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9228 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 int arg1
= (int) 0 ;
9231 int arg2
= (int) 0 ;
9232 bool arg3
= (bool) true ;
9234 PyObject
* obj0
= 0 ;
9235 PyObject
* obj1
= 0 ;
9236 PyObject
* obj2
= 0 ;
9238 (char *) "width",(char *) "height",(char *) "clear", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9243 arg1
= (int)SWIG_As_int(obj0
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9247 arg2
= (int)SWIG_As_int(obj1
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9251 arg3
= (bool)SWIG_As_bool(obj2
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9268 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxBitmap
*arg1
= 0 ;
9272 PyObject
* obj0
= 0 ;
9274 (char *) "bitmap", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9282 PyErr_SetString(PyExc_TypeError
,"null reference");
9286 if (!wxPyCheckForApp()) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9300 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
;
9304 unsigned char *arg3
= (unsigned char *) 0 ;
9306 PyObject
* obj0
= 0 ;
9307 PyObject
* obj1
= 0 ;
9308 PyObject
* obj2
= 0 ;
9310 (char *) "width",(char *) "height",(char *) "data", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9314 arg1
= (int)SWIG_As_int(obj0
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9316 arg2
= (int)SWIG_As_int(obj1
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9318 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9334 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9338 unsigned char *arg3
= (unsigned char *) 0 ;
9339 unsigned char *arg4
= (unsigned char *) 0 ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9343 PyObject
* obj2
= 0 ;
9344 PyObject
* obj3
= 0 ;
9346 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9350 arg1
= (int)SWIG_As_int(obj0
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9352 arg2
= (int)SWIG_As_int(obj1
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9354 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9356 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9372 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxImage
*arg1
= (wxImage
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9379 PyObject
* obj2
= 0 ;
9381 (char *) "self",(char *) "width",(char *) "height", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 arg2
= (int)SWIG_As_int(obj1
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9389 arg3
= (int)SWIG_As_int(obj2
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 (arg1
)->Create(arg2
,arg3
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 Py_INCREF(Py_None
); resultobj
= Py_None
;
9405 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxImage
*arg1
= (wxImage
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9410 (char *) "self", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 Py_INCREF(Py_None
); resultobj
= Py_None
;
9430 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxImage
*arg1
= (wxImage
*) 0 ;
9435 SwigValueWrapper
< wxImage
> result
;
9436 PyObject
* obj0
= 0 ;
9437 PyObject
* obj1
= 0 ;
9438 PyObject
* obj2
= 0 ;
9440 (char *) "self",(char *) "width",(char *) "height", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9446 arg2
= (int)SWIG_As_int(obj1
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9448 arg3
= (int)SWIG_As_int(obj2
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (arg1
)->Scale(arg2
,arg3
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9458 wxImage
* resultptr
;
9459 resultptr
= new wxImage((wxImage
&) result
);
9460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9468 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxImage
*arg1
= (wxImage
*) 0 ;
9473 SwigValueWrapper
< wxImage
> result
;
9474 PyObject
* obj0
= 0 ;
9475 PyObject
* obj1
= 0 ;
9476 PyObject
* obj2
= 0 ;
9478 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9484 arg2
= (int)SWIG_As_int(obj1
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9486 arg3
= (int)SWIG_As_int(obj2
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9496 wxImage
* resultptr
;
9497 resultptr
= new wxImage((wxImage
&) result
);
9498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9506 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxImage
*arg1
= (wxImage
*) 0 ;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9514 PyObject
* obj2
= 0 ;
9516 (char *) "self",(char *) "width",(char *) "height", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9522 arg2
= (int)SWIG_As_int(obj1
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9524 arg3
= (int)SWIG_As_int(obj2
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9530 result
= (wxImage
*) &_result_ref
;
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9543 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxImage
*arg1
= (wxImage
*) 0 ;
9548 unsigned char arg4
;
9549 unsigned char arg5
;
9550 unsigned char arg6
;
9551 PyObject
* obj0
= 0 ;
9552 PyObject
* obj1
= 0 ;
9553 PyObject
* obj2
= 0 ;
9554 PyObject
* obj3
= 0 ;
9555 PyObject
* obj4
= 0 ;
9556 PyObject
* obj5
= 0 ;
9558 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9564 arg2
= (int)SWIG_As_int(obj1
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9566 arg3
= (int)SWIG_As_int(obj2
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9568 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9570 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9572 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 Py_INCREF(Py_None
); resultobj
= Py_None
;
9588 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxImage
*arg1
= (wxImage
*) 0 ;
9593 unsigned char result
;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9596 PyObject
* obj2
= 0 ;
9598 (char *) "self",(char *) "x",(char *) "y", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9604 arg2
= (int)SWIG_As_int(obj1
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9606 arg3
= (int)SWIG_As_int(obj2
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9622 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxImage
*arg1
= (wxImage
*) 0 ;
9627 unsigned char result
;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9630 PyObject
* obj2
= 0 ;
9632 (char *) "self",(char *) "x",(char *) "y", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9638 arg2
= (int)SWIG_As_int(obj1
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9640 arg3
= (int)SWIG_As_int(obj2
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9656 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxImage
*arg1
= (wxImage
*) 0 ;
9661 unsigned char result
;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9664 PyObject
* obj2
= 0 ;
9666 (char *) "self",(char *) "x",(char *) "y", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9672 arg2
= (int)SWIG_As_int(obj1
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9674 arg3
= (int)SWIG_As_int(obj2
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9690 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
;
9692 wxImage
*arg1
= (wxImage
*) 0 ;
9695 unsigned char arg4
;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9698 PyObject
* obj2
= 0 ;
9699 PyObject
* obj3
= 0 ;
9701 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9707 arg2
= (int)SWIG_As_int(obj1
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9709 arg3
= (int)SWIG_As_int(obj2
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9711 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 Py_INCREF(Py_None
); resultobj
= Py_None
;
9727 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxImage
*arg1
= (wxImage
*) 0 ;
9732 unsigned char result
;
9733 PyObject
* obj0
= 0 ;
9734 PyObject
* obj1
= 0 ;
9735 PyObject
* obj2
= 0 ;
9737 (char *) "self",(char *) "x",(char *) "y", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9743 arg2
= (int)SWIG_As_int(obj1
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9745 arg3
= (int)SWIG_As_int(obj2
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9761 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxImage
*arg1
= (wxImage
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9767 (char *) "self", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (bool)(arg1
)->HasAlpha();
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9789 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxImage
*arg1
= (wxImage
*) 0 ;
9792 byte
*arg2
= (byte
*) 0 ;
9793 byte
*arg3
= (byte
*) 0 ;
9794 byte
*arg4
= (byte
*) 0 ;
9795 byte arg5
= (byte
) 0 ;
9796 byte arg6
= (byte
) 0 ;
9797 byte arg7
= (byte
) 0 ;
9805 PyObject
* obj0
= 0 ;
9806 PyObject
* obj1
= 0 ;
9807 PyObject
* obj2
= 0 ;
9808 PyObject
* obj3
= 0 ;
9810 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9813 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9814 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9815 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9820 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9824 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9828 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9841 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9842 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9843 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9844 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9845 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9846 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9853 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxImage
*arg1
= (wxImage
*) 0 ;
9856 byte arg2
= (byte
) 128 ;
9858 PyObject
* obj0
= 0 ;
9859 PyObject
* obj1
= 0 ;
9861 (char *) "self",(char *) "threshold", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9868 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9887 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxImage
*arg1
= (wxImage
*) 0 ;
9890 unsigned char arg2
;
9891 unsigned char arg3
;
9892 unsigned char arg4
;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj1
= 0 ;
9896 PyObject
* obj2
= 0 ;
9897 PyObject
* obj3
= 0 ;
9899 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9905 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9907 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9909 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9927 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9929 wxImage
*arg1
= (wxImage
*) 0 ;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9937 PyObject
* obj2
= 0 ;
9938 PyObject
* obj3
= 0 ;
9939 PyObject
* obj4
= 0 ;
9941 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9951 PyErr_SetString(PyExc_TypeError
,"null reference");
9954 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9956 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9958 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9976 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxString
*arg1
= 0 ;
9980 bool temp1
= false ;
9981 PyObject
* obj0
= 0 ;
9983 (char *) "name", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9988 arg1
= wxString_in_helper(obj0
);
9989 if (arg1
== NULL
) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10016 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxString
*arg1
= 0 ;
10019 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10021 bool temp1
= false ;
10022 PyObject
* obj0
= 0 ;
10023 PyObject
* obj1
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "name",(char *) "type", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10030 arg1
= wxString_in_helper(obj0
);
10031 if (arg1
== NULL
) SWIG_fail
;
10035 arg2
= (long)SWIG_As_long(obj1
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= SWIG_From_int((int)result
);
10060 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxImage
*arg1
= (wxImage
*) 0 ;
10063 wxString
*arg2
= 0 ;
10064 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10065 int arg4
= (int) -1 ;
10067 bool temp2
= false ;
10068 PyObject
* obj0
= 0 ;
10069 PyObject
* obj1
= 0 ;
10070 PyObject
* obj2
= 0 ;
10071 PyObject
* obj3
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10080 arg2
= wxString_in_helper(obj1
);
10081 if (arg2
== NULL
) SWIG_fail
;
10085 arg3
= (long)SWIG_As_long(obj2
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10089 arg4
= (int)SWIG_As_int(obj3
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10116 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxImage
*arg1
= (wxImage
*) 0 ;
10119 wxString
*arg2
= 0 ;
10120 wxString
*arg3
= 0 ;
10121 int arg4
= (int) -1 ;
10123 bool temp2
= false ;
10124 bool temp3
= false ;
10125 PyObject
* obj0
= 0 ;
10126 PyObject
* obj1
= 0 ;
10127 PyObject
* obj2
= 0 ;
10128 PyObject
* obj3
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10137 arg2
= wxString_in_helper(obj1
);
10138 if (arg2
== NULL
) SWIG_fail
;
10142 arg3
= wxString_in_helper(obj2
);
10143 if (arg3
== NULL
) SWIG_fail
;
10147 arg4
= (int)SWIG_As_int(obj3
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10182 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxImage
*arg1
= (wxImage
*) 0 ;
10185 wxString
*arg2
= 0 ;
10188 bool temp2
= false ;
10189 PyObject
* obj0
= 0 ;
10190 PyObject
* obj1
= 0 ;
10191 PyObject
* obj2
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self",(char *) "name",(char *) "type", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10200 arg2
= wxString_in_helper(obj1
);
10201 if (arg2
== NULL
) SWIG_fail
;
10204 arg3
= (int)SWIG_As_int(obj2
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10230 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxImage
*arg1
= (wxImage
*) 0 ;
10233 wxString
*arg2
= 0 ;
10234 wxString
*arg3
= 0 ;
10236 bool temp2
= false ;
10237 bool temp3
= false ;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10240 PyObject
* obj2
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10249 arg2
= wxString_in_helper(obj1
);
10250 if (arg2
== NULL
) SWIG_fail
;
10254 arg3
= wxString_in_helper(obj2
);
10255 if (arg3
== NULL
) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10290 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxInputStream
*arg1
= 0 ;
10294 wxPyInputStream
*temp1
;
10296 PyObject
* obj0
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "stream", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10303 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10304 arg1
= temp1
->m_wxis
;
10307 PyErr_Clear(); // clear the failure of the wxPyConvert above
10308 arg1
= wxPyCBInputStream_create(obj0
, false);
10309 if (arg1
== NULL
) {
10310 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (bool)wxImage::CanRead(*arg1
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10340 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxImage
*arg1
= (wxImage
*) 0 ;
10343 wxInputStream
*arg2
= 0 ;
10344 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10345 int arg4
= (int) -1 ;
10347 wxPyInputStream
*temp2
;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 PyObject
* obj2
= 0 ;
10352 PyObject
* obj3
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10361 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10362 arg2
= temp2
->m_wxis
;
10365 PyErr_Clear(); // clear the failure of the wxPyConvert above
10366 arg2
= wxPyCBInputStream_create(obj1
, false);
10367 if (arg2
== NULL
) {
10368 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10375 arg3
= (long)SWIG_As_long(obj2
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10379 arg4
= (int)SWIG_As_int(obj3
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10406 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxImage
*arg1
= (wxImage
*) 0 ;
10409 wxInputStream
*arg2
= 0 ;
10410 wxString
*arg3
= 0 ;
10411 int arg4
= (int) -1 ;
10413 wxPyInputStream
*temp2
;
10415 bool temp3
= false ;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 PyObject
* obj2
= 0 ;
10419 PyObject
* obj3
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10428 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10429 arg2
= temp2
->m_wxis
;
10432 PyErr_Clear(); // clear the failure of the wxPyConvert above
10433 arg2
= wxPyCBInputStream_create(obj1
, false);
10434 if (arg2
== NULL
) {
10435 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10442 arg3
= wxString_in_helper(obj2
);
10443 if (arg3
== NULL
) SWIG_fail
;
10447 arg4
= (int)SWIG_As_int(obj3
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10482 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxImage
*arg1
= (wxImage
*) 0 ;
10486 PyObject
* obj0
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "self", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= (bool)(arg1
)->Ok();
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10510 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxImage
*arg1
= (wxImage
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 result
= (int)(arg1
)->GetWidth();
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_From_int((int)result
);
10536 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxImage
*arg1
= (wxImage
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (int)(arg1
)->GetHeight();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= SWIG_From_int((int)result
);
10562 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxImage
*arg1
= (wxImage
*) 0 ;
10566 PyObject
* obj0
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 result
= wxImage_GetSize(arg1
);
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10582 wxSize
* resultptr
;
10583 resultptr
= new wxSize((wxSize
&) result
);
10584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10592 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
;
10594 wxImage
*arg1
= (wxImage
*) 0 ;
10596 SwigValueWrapper
< wxImage
> result
;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "self",(char *) "rect", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10609 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10619 wxImage
* resultptr
;
10620 resultptr
= new wxImage((wxImage
&) result
);
10621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10629 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxImage
*arg1
= (wxImage
*) 0 ;
10632 SwigValueWrapper
< wxImage
> result
;
10633 PyObject
* obj0
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "self", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (arg1
)->Copy();
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10649 wxImage
* resultptr
;
10650 resultptr
= new wxImage((wxImage
&) result
);
10651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10659 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxImage
*arg1
= (wxImage
*) 0 ;
10662 wxImage
*arg2
= 0 ;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 PyObject
* obj2
= 0 ;
10668 PyObject
* obj3
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10679 if (arg2
== NULL
) {
10680 PyErr_SetString(PyExc_TypeError
,"null reference");
10683 arg3
= (int)SWIG_As_int(obj2
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10685 arg4
= (int)SWIG_As_int(obj3
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 Py_INCREF(Py_None
); resultobj
= Py_None
;
10701 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10703 wxImage
*arg1
= (wxImage
*) 0 ;
10705 PyObject
* obj0
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (PyObject
*)wxImage_GetData(arg1
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= result
;
10727 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxImage
*arg1
= (wxImage
*) 0 ;
10730 PyObject
*arg2
= (PyObject
*) 0 ;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self",(char *) "data", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 wxImage_SetData(arg1
,arg2
);
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 Py_INCREF(Py_None
); resultobj
= Py_None
;
10755 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxImage
*arg1
= (wxImage
*) 0 ;
10759 PyObject
* obj0
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 resultobj
= result
;
10781 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxImage
*arg1
= (wxImage
*) 0 ;
10784 PyObject
*arg2
= (PyObject
*) 0 ;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self",(char *) "data", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 wxImage_SetDataBuffer(arg1
,arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 Py_INCREF(Py_None
); resultobj
= Py_None
;
10809 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxImage
*arg1
= (wxImage
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= result
;
10835 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxImage
*arg1
= (wxImage
*) 0 ;
10838 PyObject
*arg2
= (PyObject
*) 0 ;
10839 PyObject
* obj0
= 0 ;
10840 PyObject
* obj1
= 0 ;
10841 char *kwnames
[] = {
10842 (char *) "self",(char *) "data", NULL
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 wxImage_SetAlphaData(arg1
,arg2
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 Py_INCREF(Py_None
); resultobj
= Py_None
;
10863 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxImage
*arg1
= (wxImage
*) 0 ;
10867 PyObject
* obj0
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= result
;
10889 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxImage
*arg1
= (wxImage
*) 0 ;
10892 PyObject
*arg2
= (PyObject
*) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "self",(char *) "data", NULL
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 wxImage_SetAlphaBuffer(arg1
,arg2
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 Py_INCREF(Py_None
); resultobj
= Py_None
;
10917 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxImage
*arg1
= (wxImage
*) 0 ;
10920 unsigned char arg2
;
10921 unsigned char arg3
;
10922 unsigned char arg4
;
10923 PyObject
* obj0
= 0 ;
10924 PyObject
* obj1
= 0 ;
10925 PyObject
* obj2
= 0 ;
10926 PyObject
* obj3
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10934 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10936 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10938 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 Py_INCREF(Py_None
); resultobj
= Py_None
;
10954 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxImage
*arg1
= (wxImage
*) 0 ;
10957 unsigned char result
;
10958 PyObject
* obj0
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (unsigned char)(arg1
)->GetMaskRed();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10980 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
;
10982 wxImage
*arg1
= (wxImage
*) 0 ;
10983 unsigned char result
;
10984 PyObject
* obj0
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 result
= (unsigned char)(arg1
)->GetMaskGreen();
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
11006 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
;
11008 wxImage
*arg1
= (wxImage
*) 0 ;
11009 unsigned char result
;
11010 PyObject
* obj0
= 0 ;
11011 char *kwnames
[] = {
11012 (char *) "self", NULL
11015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
11016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (unsigned char)(arg1
)->GetMaskBlue();
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
11032 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxImage
*arg1
= (wxImage
*) 0 ;
11035 bool arg2
= (bool) true ;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "self",(char *) "mask", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11046 arg2
= (bool)SWIG_As_bool(obj1
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 (arg1
)->SetMask(arg2
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 Py_INCREF(Py_None
); resultobj
= Py_None
;
11063 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxImage
*arg1
= (wxImage
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (bool)(arg1
)->HasMask();
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxImage
*arg1
= (wxImage
*) 0 ;
11095 wxPoint
*arg3
= 0 ;
11096 bool arg4
= (bool) true ;
11097 wxPoint
*arg5
= (wxPoint
*) NULL
;
11098 SwigValueWrapper
< wxImage
> result
;
11100 PyObject
* obj0
= 0 ;
11101 PyObject
* obj1
= 0 ;
11102 PyObject
* obj2
= 0 ;
11103 PyObject
* obj3
= 0 ;
11104 PyObject
* obj4
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11112 arg2
= (double)SWIG_As_double(obj1
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11116 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11119 arg4
= (bool)SWIG_As_bool(obj3
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11123 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 wxImage
* resultptr
;
11135 resultptr
= new wxImage((wxImage
&) result
);
11136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11144 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
;
11146 wxImage
*arg1
= (wxImage
*) 0 ;
11147 bool arg2
= (bool) true ;
11148 SwigValueWrapper
< wxImage
> result
;
11149 PyObject
* obj0
= 0 ;
11150 PyObject
* obj1
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self",(char *) "clockwise", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 arg2
= (bool)SWIG_As_bool(obj1
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= (arg1
)->Rotate90(arg2
);
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11170 wxImage
* resultptr
;
11171 resultptr
= new wxImage((wxImage
&) result
);
11172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11180 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
;
11182 wxImage
*arg1
= (wxImage
*) 0 ;
11183 bool arg2
= (bool) true ;
11184 SwigValueWrapper
< wxImage
> result
;
11185 PyObject
* obj0
= 0 ;
11186 PyObject
* obj1
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self",(char *) "horizontally", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11195 arg2
= (bool)SWIG_As_bool(obj1
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (arg1
)->Mirror(arg2
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 wxImage
* resultptr
;
11207 resultptr
= new wxImage((wxImage
&) result
);
11208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11216 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxImage
*arg1
= (wxImage
*) 0 ;
11219 unsigned char arg2
;
11220 unsigned char arg3
;
11221 unsigned char arg4
;
11222 unsigned char arg5
;
11223 unsigned char arg6
;
11224 unsigned char arg7
;
11225 PyObject
* obj0
= 0 ;
11226 PyObject
* obj1
= 0 ;
11227 PyObject
* obj2
= 0 ;
11228 PyObject
* obj3
= 0 ;
11229 PyObject
* obj4
= 0 ;
11230 PyObject
* obj5
= 0 ;
11231 PyObject
* obj6
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11239 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11241 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11243 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11245 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11247 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11249 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 Py_INCREF(Py_None
); resultobj
= Py_None
;
11265 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxImage
*arg1
= (wxImage
*) 0 ;
11268 unsigned char arg2
;
11269 unsigned char arg3
;
11270 unsigned char arg4
;
11271 SwigValueWrapper
< wxImage
> result
;
11272 PyObject
* obj0
= 0 ;
11273 PyObject
* obj1
= 0 ;
11274 PyObject
* obj2
= 0 ;
11275 PyObject
* obj3
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11283 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11285 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11287 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 wxImage
* resultptr
;
11298 resultptr
= new wxImage((wxImage
&) result
);
11299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11307 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxImage
*arg1
= (wxImage
*) 0 ;
11310 wxString
*arg2
= 0 ;
11311 wxString
*arg3
= 0 ;
11312 bool temp2
= false ;
11313 bool temp3
= false ;
11314 PyObject
* obj0
= 0 ;
11315 PyObject
* obj1
= 0 ;
11316 PyObject
* obj2
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self",(char *) "name",(char *) "value", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11325 arg2
= wxString_in_helper(obj1
);
11326 if (arg2
== NULL
) SWIG_fail
;
11330 arg3
= wxString_in_helper(obj2
);
11331 if (arg3
== NULL
) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 Py_INCREF(Py_None
); resultobj
= Py_None
;
11364 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxImage
*arg1
= (wxImage
*) 0 ;
11367 wxString
*arg2
= 0 ;
11369 bool temp2
= false ;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 PyObject
* obj2
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self",(char *) "name",(char *) "value", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11381 arg2
= wxString_in_helper(obj1
);
11382 if (arg2
== NULL
) SWIG_fail
;
11385 arg3
= (int)SWIG_As_int(obj2
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 Py_INCREF(Py_None
); resultobj
= Py_None
;
11409 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxImage
*arg1
= (wxImage
*) 0 ;
11412 wxString
*arg2
= 0 ;
11414 bool temp2
= false ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self",(char *) "name", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11425 arg2
= wxString_in_helper(obj1
);
11426 if (arg2
== NULL
) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11457 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
;
11459 wxImage
*arg1
= (wxImage
*) 0 ;
11460 wxString
*arg2
= 0 ;
11462 bool temp2
= false ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "name", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11473 arg2
= wxString_in_helper(obj1
);
11474 if (arg2
== NULL
) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_From_int((int)result
);
11499 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxImage
*arg1
= (wxImage
*) 0 ;
11502 wxString
*arg2
= 0 ;
11504 bool temp2
= false ;
11505 PyObject
* obj0
= 0 ;
11506 PyObject
* obj1
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self",(char *) "name", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11515 arg2
= wxString_in_helper(obj1
);
11516 if (arg2
== NULL
) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11543 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxImage
*arg1
= (wxImage
*) 0 ;
11546 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11547 unsigned long result
;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 char *kwnames
[] = {
11551 (char *) "self",(char *) "stopafter", NULL
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11558 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11575 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxImage
*arg1
= (wxImage
*) 0 ;
11578 wxImageHistogram
*arg2
= 0 ;
11579 unsigned long result
;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "h", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11592 if (arg2
== NULL
) {
11593 PyErr_SetString(PyExc_TypeError
,"null reference");
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11610 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
;
11612 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11613 PyObject
* obj0
= 0 ;
11614 char *kwnames
[] = {
11615 (char *) "handler", NULL
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 wxImage::AddHandler(arg1
);
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11628 Py_INCREF(Py_None
); resultobj
= Py_None
;
11635 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11638 PyObject
* obj0
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "handler", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 wxImage::InsertHandler(arg1
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 Py_INCREF(Py_None
); resultobj
= Py_None
;
11660 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxString
*arg1
= 0 ;
11664 bool temp1
= false ;
11665 PyObject
* obj0
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "name", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11672 arg1
= wxString_in_helper(obj0
);
11673 if (arg1
== NULL
) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11700 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11703 char *kwnames
[] = {
11707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= wxImage::GetImageExtWildcard();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11728 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxImage
*arg1
= (wxImage
*) 0 ;
11731 int arg2
= (int) -1 ;
11733 PyObject
* obj0
= 0 ;
11734 PyObject
* obj1
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "self",(char *) "depth", NULL
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11743 arg2
= (int)SWIG_As_int(obj1
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11747 if (!wxPyCheckForApp()) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11755 wxBitmap
* resultptr
;
11756 resultptr
= new wxBitmap((wxBitmap
&) result
);
11757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11765 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
;
11767 wxImage
*arg1
= (wxImage
*) 0 ;
11768 unsigned char arg2
;
11769 unsigned char arg3
;
11770 unsigned char arg4
;
11772 PyObject
* obj0
= 0 ;
11773 PyObject
* obj1
= 0 ;
11774 PyObject
* obj2
= 0 ;
11775 PyObject
* obj3
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11783 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11785 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11787 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 if (!wxPyCheckForApp()) SWIG_fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11798 wxBitmap
* resultptr
;
11799 resultptr
= new wxBitmap((wxBitmap
&) result
);
11800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11808 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11811 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11813 return Py_BuildValue((char *)"");
11815 static int _wrap_NullImage_set(PyObject
*) {
11816 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11821 static PyObject
*_wrap_NullImage_get() {
11824 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11829 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11830 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11835 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11840 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11842 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11849 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11850 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11855 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11860 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11862 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11869 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11870 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11875 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11880 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11882 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11889 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11890 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11895 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11900 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11902 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11909 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11910 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11915 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11920 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11922 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11929 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxBMPHandler
*result
;
11932 char *kwnames
[] = {
11936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 result
= (wxBMPHandler
*)new wxBMPHandler();
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11951 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11954 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11956 return Py_BuildValue((char *)"");
11958 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxICOHandler
*result
;
11961 char *kwnames
[] = {
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (wxICOHandler
*)new wxICOHandler();
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11980 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11983 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11985 return Py_BuildValue((char *)"");
11987 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxCURHandler
*result
;
11990 char *kwnames
[] = {
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (wxCURHandler
*)new wxCURHandler();
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
12009 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
12011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12012 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
12014 return Py_BuildValue((char *)"");
12016 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxANIHandler
*result
;
12019 char *kwnames
[] = {
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (wxANIHandler
*)new wxANIHandler();
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
12038 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
12040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12041 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
12043 return Py_BuildValue((char *)"");
12045 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
;
12047 wxPNGHandler
*result
;
12048 char *kwnames
[] = {
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 result
= (wxPNGHandler
*)new wxPNGHandler();
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
12067 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
12069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12070 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
12072 return Py_BuildValue((char *)"");
12074 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxGIFHandler
*result
;
12077 char *kwnames
[] = {
12081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 result
= (wxGIFHandler
*)new wxGIFHandler();
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
12096 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
12098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12099 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
12101 return Py_BuildValue((char *)"");
12103 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxPCXHandler
*result
;
12106 char *kwnames
[] = {
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= (wxPCXHandler
*)new wxPCXHandler();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
12125 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
12127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12128 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
12130 return Py_BuildValue((char *)"");
12132 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
;
12134 wxJPEGHandler
*result
;
12135 char *kwnames
[] = {
12139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (wxJPEGHandler
*)new wxJPEGHandler();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
12154 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
12156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12157 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
12159 return Py_BuildValue((char *)"");
12161 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxPNMHandler
*result
;
12164 char *kwnames
[] = {
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= (wxPNMHandler
*)new wxPNMHandler();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
12183 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
12185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12186 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
12188 return Py_BuildValue((char *)"");
12190 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxXPMHandler
*result
;
12193 char *kwnames
[] = {
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= (wxXPMHandler
*)new wxXPMHandler();
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12212 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12215 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12217 return Py_BuildValue((char *)"");
12219 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxTIFFHandler
*result
;
12222 char *kwnames
[] = {
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12241 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12244 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12246 return Py_BuildValue((char *)"");
12248 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxImage
*arg1
= 0 ;
12251 wxImage
*arg2
= 0 ;
12252 int arg3
= (int) 236 ;
12253 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12255 PyObject
* obj0
= 0 ;
12256 PyObject
* obj1
= 0 ;
12257 PyObject
* obj2
= 0 ;
12258 PyObject
* obj3
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12267 if (arg1
== NULL
) {
12268 PyErr_SetString(PyExc_TypeError
,"null reference");
12271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12274 if (arg2
== NULL
) {
12275 PyErr_SetString(PyExc_TypeError
,"null reference");
12279 arg3
= (int)SWIG_As_int(obj2
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 arg4
= (int)SWIG_As_int(obj3
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12302 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12305 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12307 return Py_BuildValue((char *)"");
12309 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxEvtHandler
*result
;
12312 char *kwnames
[] = {
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (wxEvtHandler
*)new wxEvtHandler();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12331 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12334 wxEvtHandler
*result
;
12335 PyObject
* obj0
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= wxPyMake_wxObject(result
, 0);
12359 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12362 wxEvtHandler
*result
;
12363 PyObject
* obj0
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= wxPyMake_wxObject(result
, 0);
12387 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12390 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 PyObject
* obj1
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self",(char *) "handler", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 (arg1
)->SetNextHandler(arg2
);
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 Py_INCREF(Py_None
); resultobj
= Py_None
;
12416 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
;
12418 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12419 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 char *kwnames
[] = {
12423 (char *) "self",(char *) "handler", NULL
12426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 (arg1
)->SetPreviousHandler(arg2
);
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 Py_INCREF(Py_None
); resultobj
= Py_None
;
12445 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
;
12447 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12449 PyObject
* obj0
= 0 ;
12450 char *kwnames
[] = {
12451 (char *) "self", NULL
12454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12473 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12477 PyObject
* obj0
= 0 ;
12478 PyObject
* obj1
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self",(char *) "enabled", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12486 arg2
= (bool)SWIG_As_bool(obj1
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 (arg1
)->SetEvtHandlerEnabled(arg2
);
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 Py_INCREF(Py_None
); resultobj
= Py_None
;
12502 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12505 wxEvent
*arg2
= 0 ;
12507 PyObject
* obj0
= 0 ;
12508 PyObject
* obj1
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self",(char *) "event", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12519 if (arg2
== NULL
) {
12520 PyErr_SetString(PyExc_TypeError
,"null reference");
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12539 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12542 wxEvent
*arg2
= 0 ;
12543 PyObject
* obj0
= 0 ;
12544 PyObject
* obj1
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self",(char *) "event", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12555 if (arg2
== NULL
) {
12556 PyErr_SetString(PyExc_TypeError
,"null reference");
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 (arg1
)->AddPendingEvent(*arg2
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 Py_INCREF(Py_None
); resultobj
= Py_None
;
12573 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 (arg1
)->ProcessPendingEvents();
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 Py_INCREF(Py_None
); resultobj
= Py_None
;
12598 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12604 PyObject
*arg5
= (PyObject
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 PyObject
* obj2
= 0 ;
12608 PyObject
* obj3
= 0 ;
12609 PyObject
* obj4
= 0 ;
12610 char *kwnames
[] = {
12611 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12617 arg2
= (int)SWIG_As_int(obj1
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12619 arg3
= (int)SWIG_As_int(obj2
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12621 arg4
= (int)SWIG_As_int(obj3
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 Py_INCREF(Py_None
); resultobj
= Py_None
;
12638 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12642 int arg3
= (int) -1 ;
12643 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 PyObject
* obj2
= 0 ;
12648 PyObject
* obj3
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12656 arg2
= (int)SWIG_As_int(obj1
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 arg3
= (int)SWIG_As_int(obj2
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12663 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12682 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12685 PyObject
*arg2
= (PyObject
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self",(char *) "_self", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 wxEvtHandler__setOORInfo(arg1
,arg2
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 Py_INCREF(Py_None
); resultobj
= Py_None
;
12710 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12713 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12715 return Py_BuildValue((char *)"");
12717 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxEventType result
;
12720 char *kwnames
[] = {
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (wxEventType
)wxNewEventType();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= SWIG_From_int((int)result
);
12739 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxEvent
*arg1
= (wxEvent
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 Py_INCREF(Py_None
); resultobj
= Py_None
;
12764 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxEvent
*arg1
= (wxEvent
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self",(char *) "typ", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12777 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 (arg1
)->SetEventType(arg2
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 Py_INCREF(Py_None
); resultobj
= Py_None
;
12793 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxEvent
*arg1
= (wxEvent
*) 0 ;
12796 wxEventType result
;
12797 PyObject
* obj0
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "self", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= SWIG_From_int((int)result
);
12819 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12820 PyObject
*resultobj
;
12821 wxEvent
*arg1
= (wxEvent
*) 0 ;
12823 PyObject
* obj0
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= wxPyMake_wxObject(result
, 0);
12847 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
;
12849 wxEvent
*arg1
= (wxEvent
*) 0 ;
12850 wxObject
*arg2
= (wxObject
*) 0 ;
12851 PyObject
* obj0
= 0 ;
12852 PyObject
* obj1
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "self",(char *) "obj", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 (arg1
)->SetEventObject(arg2
);
12866 wxPyEndAllowThreads(__tstate
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12869 Py_INCREF(Py_None
); resultobj
= Py_None
;
12876 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12877 PyObject
*resultobj
;
12878 wxEvent
*arg1
= (wxEvent
*) 0 ;
12880 PyObject
* obj0
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 resultobj
= SWIG_From_long((long)result
);
12902 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
;
12904 wxEvent
*arg1
= (wxEvent
*) 0 ;
12905 long arg2
= (long) 0 ;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self",(char *) "ts", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12916 arg2
= (long)SWIG_As_long(obj1
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 (arg1
)->SetTimestamp(arg2
);
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 Py_INCREF(Py_None
); resultobj
= Py_None
;
12933 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxEvent
*arg1
= (wxEvent
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (int)((wxEvent
const *)arg1
)->GetId();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= SWIG_From_int((int)result
);
12959 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxEvent
*arg1
= (wxEvent
*) 0 ;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self",(char *) "Id", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12972 arg2
= (int)SWIG_As_int(obj1
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 (arg1
)->SetId(arg2
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 Py_INCREF(Py_None
); resultobj
= Py_None
;
12988 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxEvent
*arg1
= (wxEvent
*) 0 ;
12992 PyObject
* obj0
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13016 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxEvent
*arg1
= (wxEvent
*) 0 ;
13019 bool arg2
= (bool) true ;
13020 PyObject
* obj0
= 0 ;
13021 PyObject
* obj1
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self",(char *) "skip", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 arg2
= (bool)SWIG_As_bool(obj1
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 (arg1
)->Skip(arg2
);
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13040 Py_INCREF(Py_None
); resultobj
= Py_None
;
13047 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
;
13049 wxEvent
*arg1
= (wxEvent
*) 0 ;
13051 PyObject
* obj0
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
13057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13075 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
;
13077 wxEvent
*arg1
= (wxEvent
*) 0 ;
13079 PyObject
* obj0
= 0 ;
13080 char *kwnames
[] = {
13081 (char *) "self", NULL
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
13085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13103 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxEvent
*arg1
= (wxEvent
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
13113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (int)(arg1
)->StopPropagation();
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_From_int((int)result
);
13129 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxEvent
*arg1
= (wxEvent
*) 0 ;
13133 PyObject
* obj0
= 0 ;
13134 PyObject
* obj1
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self",(char *) "propagationLevel", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13142 arg2
= (int)SWIG_As_int(obj1
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 (arg1
)->ResumePropagation(arg2
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 Py_INCREF(Py_None
); resultobj
= Py_None
;
13158 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxEvent
*arg1
= (wxEvent
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (wxEvent
*)(arg1
)->Clone();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13184 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
13186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13187 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
13189 return Py_BuildValue((char *)"");
13191 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxEvent
*arg1
= 0 ;
13194 wxPropagationDisabler
*result
;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "event", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13204 if (arg1
== NULL
) {
13205 PyErr_SetString(PyExc_TypeError
,"null reference");
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13222 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 char *kwnames
[] = {
13227 (char *) "self", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 Py_INCREF(Py_None
); resultobj
= Py_None
;
13247 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13250 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13252 return Py_BuildValue((char *)"");
13254 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxEvent
*arg1
= 0 ;
13257 wxPropagateOnce
*result
;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "event", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13267 if (arg1
== NULL
) {
13268 PyErr_SetString(PyExc_TypeError
,"null reference");
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13285 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
;
13287 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 Py_INCREF(Py_None
); resultobj
= Py_None
;
13310 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13313 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13315 return Py_BuildValue((char *)"");
13317 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13320 int arg2
= (int) 0 ;
13321 wxCommandEvent
*result
;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "commandType",(char *) "winid", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13330 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13334 arg2
= (int)SWIG_As_int(obj1
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13351 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "self", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_From_int((int)result
);
13377 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13380 wxString
*arg2
= 0 ;
13381 bool temp2
= false ;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self",(char *) "s", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13392 arg2
= wxString_in_helper(obj1
);
13393 if (arg2
== NULL
) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 (arg1
)->SetString((wxString
const &)*arg2
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13422 PyObject
* obj0
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "self", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13450 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13454 PyObject
* obj0
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "self", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13478 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13479 PyObject
*resultobj
;
13480 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13482 PyObject
* obj0
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13506 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 PyObject
* obj1
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "self",(char *) "extraLong", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13519 arg2
= (long)SWIG_As_long(obj1
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 (arg1
)->SetExtraLong(arg2
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 Py_INCREF(Py_None
); resultobj
= Py_None
;
13535 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_From_long((long)result
);
13561 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 PyObject
* obj1
= 0 ;
13567 char *kwnames
[] = {
13568 (char *) "self",(char *) "i", NULL
13571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13574 arg2
= (int)SWIG_As_int(obj1
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 (arg1
)->SetInt(arg2
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 Py_INCREF(Py_None
); resultobj
= Py_None
;
13590 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= SWIG_From_long((long)result
);
13616 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13620 PyObject
* obj0
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13642 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13645 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13647 return Py_BuildValue((char *)"");
13649 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
;
13651 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13652 int arg2
= (int) 0 ;
13653 wxNotifyEvent
*result
;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "commandType",(char *) "winid", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13662 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13666 arg2
= (int)SWIG_As_int(obj1
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13683 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
;
13685 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13686 PyObject
* obj0
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13701 Py_INCREF(Py_None
); resultobj
= Py_None
;
13708 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
;
13710 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13711 PyObject
* obj0
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 Py_INCREF(Py_None
); resultobj
= Py_None
;
13733 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13737 PyObject
* obj0
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 result
= (bool)(arg1
)->IsAllowed();
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13761 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13764 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13766 return Py_BuildValue((char *)"");
13768 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13771 int arg2
= (int) 0 ;
13772 int arg3
= (int) 0 ;
13773 int arg4
= (int) 0 ;
13774 wxScrollEvent
*result
;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 PyObject
* obj2
= 0 ;
13778 PyObject
* obj3
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13785 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13789 arg2
= (int)SWIG_As_int(obj1
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13793 arg3
= (int)SWIG_As_int(obj2
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13797 arg4
= (int)SWIG_As_int(obj3
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13814 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
;
13816 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_From_int((int)result
);
13840 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
;
13842 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13844 PyObject
* obj0
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "self", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_From_int((int)result
);
13866 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
;
13868 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13870 PyObject
* obj0
= 0 ;
13871 PyObject
* obj1
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "self",(char *) "orient", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13879 arg2
= (int)SWIG_As_int(obj1
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 (arg1
)->SetOrientation(arg2
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 Py_INCREF(Py_None
); resultobj
= Py_None
;
13895 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
;
13897 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13899 PyObject
* obj0
= 0 ;
13900 PyObject
* obj1
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self",(char *) "pos", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13908 arg2
= (int)SWIG_As_int(obj1
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 (arg1
)->SetPosition(arg2
);
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 Py_INCREF(Py_None
); resultobj
= Py_None
;
13924 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13927 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13929 return Py_BuildValue((char *)"");
13931 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
;
13933 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13934 int arg2
= (int) 0 ;
13935 int arg3
= (int) 0 ;
13936 wxScrollWinEvent
*result
;
13937 PyObject
* obj0
= 0 ;
13938 PyObject
* obj1
= 0 ;
13939 PyObject
* obj2
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13946 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13950 arg2
= (int)SWIG_As_int(obj1
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13954 arg3
= (int)SWIG_As_int(obj2
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13971 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13975 PyObject
* obj0
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "self", NULL
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= SWIG_From_int((int)result
);
13997 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14001 PyObject
* obj0
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= SWIG_From_int((int)result
);
14023 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self",(char *) "orient", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
14034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14036 arg2
= (int)SWIG_As_int(obj1
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 (arg1
)->SetOrientation(arg2
);
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14045 Py_INCREF(Py_None
); resultobj
= Py_None
;
14052 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "pos", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14065 arg2
= (int)SWIG_As_int(obj1
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 (arg1
)->SetPosition(arg2
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 Py_INCREF(Py_None
); resultobj
= Py_None
;
14081 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
14083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14084 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
14086 return Py_BuildValue((char *)"");
14088 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14091 wxMouseEvent
*result
;
14092 PyObject
* obj0
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "mouseType", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
14099 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= wxPyMake_wxObject(result
, 1);
14118 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14122 PyObject
* obj0
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14146 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14149 int arg2
= (int) wxMOUSE_BTN_ANY
;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj1
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self",(char *) "but", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 arg2
= (int)SWIG_As_int(obj1
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14180 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14183 int arg2
= (int) wxMOUSE_BTN_ANY
;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self",(char *) "but", NULL
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
14192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14195 arg2
= (int)SWIG_As_int(obj1
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14214 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
;
14216 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14217 int arg2
= (int) wxMOUSE_BTN_ANY
;
14219 PyObject
* obj0
= 0 ;
14220 PyObject
* obj1
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self",(char *) "but", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14229 arg2
= (int)SWIG_As_int(obj1
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14248 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self",(char *) "but", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14262 arg2
= (int)SWIG_As_int(obj1
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14280 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self",(char *) "but", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14294 arg2
= (int)SWIG_As_int(obj1
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14312 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14316 PyObject
* obj0
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_From_int((int)result
);
14338 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14342 PyObject
* obj0
= 0 ;
14343 char *kwnames
[] = {
14344 (char *) "self", NULL
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14366 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14370 PyObject
* obj0
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14394 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14422 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14450 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14478 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14506 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14510 PyObject
* obj0
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "self", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14534 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14536 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14538 PyObject
* obj0
= 0 ;
14539 char *kwnames
[] = {
14540 (char *) "self", NULL
14543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14562 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14566 PyObject
* obj0
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "self", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14590 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
;
14592 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14594 PyObject
* obj0
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14618 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
;
14620 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14622 PyObject
* obj0
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14646 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14650 PyObject
* obj0
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14674 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 char *kwnames
[] = {
14680 (char *) "self", NULL
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14702 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14706 PyObject
* obj0
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14730 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14734 PyObject
* obj0
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "self", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (bool)(arg1
)->LeftIsDown();
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14758 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (bool)(arg1
)->MiddleIsDown();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14786 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14790 PyObject
* obj0
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (bool)(arg1
)->RightIsDown();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14814 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14842 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14870 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14898 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14902 PyObject
* obj0
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14926 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "self", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (arg1
)->GetPosition();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14946 wxPoint
* resultptr
;
14947 resultptr
= new wxPoint((wxPoint
&) result
);
14948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14956 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14959 long *arg2
= (long *) 0 ;
14960 long *arg3
= (long *) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self", NULL
14970 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14971 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 (arg1
)->GetPosition(arg2
,arg3
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14984 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14985 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14986 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14993 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self",(char *) "dc", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15010 if (arg2
== NULL
) {
15011 PyErr_SetString(PyExc_TypeError
,"null reference");
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15022 wxPoint
* resultptr
;
15023 resultptr
= new wxPoint((wxPoint
&) result
);
15024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15032 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_From_int((int)result
);
15058 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= SWIG_From_int((int)result
);
15084 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15088 PyObject
* obj0
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "self", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
15094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= SWIG_From_int((int)result
);
15110 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
15120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= SWIG_From_int((int)result
);
15136 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
;
15138 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 char *kwnames
[] = {
15142 (char *) "self", NULL
15145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
15146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= SWIG_From_int((int)result
);
15162 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
15172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15190 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
;
15192 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15194 PyObject
* obj0
= 0 ;
15195 PyObject
* obj1
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self",(char *) "m_x", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15203 arg2
= (int)SWIG_As_int(obj1
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15205 if (arg1
) (arg1
)->m_x
= arg2
;
15207 Py_INCREF(Py_None
); resultobj
= Py_None
;
15214 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "self", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15226 result
= (int) ((arg1
)->m_x
);
15228 resultobj
= SWIG_From_int((int)result
);
15235 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
;
15237 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 PyObject
* obj1
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "self",(char *) "m_y", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15248 arg2
= (int)SWIG_As_int(obj1
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15250 if (arg1
) (arg1
)->m_y
= arg2
;
15252 Py_INCREF(Py_None
); resultobj
= Py_None
;
15259 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self", NULL
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15271 result
= (int) ((arg1
)->m_y
);
15273 resultobj
= SWIG_From_int((int)result
);
15280 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
;
15282 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15284 PyObject
* obj0
= 0 ;
15285 PyObject
* obj1
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self",(char *) "m_leftDown", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15293 arg2
= (bool)SWIG_As_bool(obj1
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15295 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15297 Py_INCREF(Py_None
); resultobj
= Py_None
;
15304 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 result
= (bool) ((arg1
)->m_leftDown
);
15319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15327 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 PyObject
* obj1
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self",(char *) "m_middleDown", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15340 arg2
= (bool)SWIG_As_bool(obj1
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15342 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15344 Py_INCREF(Py_None
); resultobj
= Py_None
;
15351 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15363 result
= (bool) ((arg1
)->m_middleDown
);
15366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15374 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self",(char *) "m_rightDown", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15387 arg2
= (bool)SWIG_As_bool(obj1
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15389 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15391 Py_INCREF(Py_None
); resultobj
= Py_None
;
15398 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15410 result
= (bool) ((arg1
)->m_rightDown
);
15413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15421 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 PyObject
* obj1
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self",(char *) "m_controlDown", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15434 arg2
= (bool)SWIG_As_bool(obj1
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15436 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15438 Py_INCREF(Py_None
); resultobj
= Py_None
;
15445 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
;
15447 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15449 PyObject
* obj0
= 0 ;
15450 char *kwnames
[] = {
15451 (char *) "self", NULL
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15457 result
= (bool) ((arg1
)->m_controlDown
);
15460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15468 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self",(char *) "m_shiftDown", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15481 arg2
= (bool)SWIG_As_bool(obj1
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15483 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15485 Py_INCREF(Py_None
); resultobj
= Py_None
;
15492 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15496 PyObject
* obj0
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15504 result
= (bool) ((arg1
)->m_shiftDown
);
15507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15515 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self",(char *) "m_altDown", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15528 arg2
= (bool)SWIG_As_bool(obj1
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15530 if (arg1
) (arg1
)->m_altDown
= arg2
;
15532 Py_INCREF(Py_None
); resultobj
= Py_None
;
15539 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
;
15541 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15543 PyObject
* obj0
= 0 ;
15544 char *kwnames
[] = {
15545 (char *) "self", NULL
15548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15551 result
= (bool) ((arg1
)->m_altDown
);
15554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15562 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 PyObject
* obj1
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self",(char *) "m_metaDown", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15575 arg2
= (bool)SWIG_As_bool(obj1
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15577 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15579 Py_INCREF(Py_None
); resultobj
= Py_None
;
15586 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
;
15588 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15590 PyObject
* obj0
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "self", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15598 result
= (bool) ((arg1
)->m_metaDown
);
15601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15609 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self",(char *) "m_wheelRotation", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15622 arg2
= (int)SWIG_As_int(obj1
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15624 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15626 Py_INCREF(Py_None
); resultobj
= Py_None
;
15633 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "self", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15645 result
= (int) ((arg1
)->m_wheelRotation
);
15647 resultobj
= SWIG_From_int((int)result
);
15654 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15658 PyObject
* obj0
= 0 ;
15659 PyObject
* obj1
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self",(char *) "m_wheelDelta", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 arg2
= (int)SWIG_As_int(obj1
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15669 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15671 Py_INCREF(Py_None
); resultobj
= Py_None
;
15678 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15682 PyObject
* obj0
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 result
= (int) ((arg1
)->m_wheelDelta
);
15692 resultobj
= SWIG_From_int((int)result
);
15699 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self",(char *) "m_linesPerAction", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15712 arg2
= (int)SWIG_As_int(obj1
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15714 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15716 Py_INCREF(Py_None
); resultobj
= Py_None
;
15723 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15735 result
= (int) ((arg1
)->m_linesPerAction
);
15737 resultobj
= SWIG_From_int((int)result
);
15744 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15747 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15749 return Py_BuildValue((char *)"");
15751 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 int arg1
= (int) 0 ;
15754 int arg2
= (int) 0 ;
15755 wxSetCursorEvent
*result
;
15756 PyObject
* obj0
= 0 ;
15757 PyObject
* obj1
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "x",(char *) "y", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15764 arg1
= (int)SWIG_As_int(obj0
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15768 arg2
= (int)SWIG_As_int(obj1
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15785 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15789 PyObject
* obj0
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15804 resultobj
= SWIG_From_int((int)result
);
15811 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15815 PyObject
* obj0
= 0 ;
15816 char *kwnames
[] = {
15817 (char *) "self", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15830 resultobj
= SWIG_From_int((int)result
);
15837 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15838 PyObject
*resultobj
;
15839 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15840 wxCursor
*arg2
= 0 ;
15841 PyObject
* obj0
= 0 ;
15842 PyObject
* obj1
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self",(char *) "cursor", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15853 if (arg2
== NULL
) {
15854 PyErr_SetString(PyExc_TypeError
,"null reference");
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15864 Py_INCREF(Py_None
); resultobj
= Py_None
;
15871 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15872 PyObject
*resultobj
;
15873 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15875 PyObject
* obj0
= 0 ;
15876 char *kwnames
[] = {
15877 (char *) "self", NULL
15880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15887 result
= (wxCursor
*) &_result_ref
;
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 wxCursor
* resultptr
= new wxCursor(*result
);
15895 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15903 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15907 PyObject
* obj0
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15931 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15934 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15936 return Py_BuildValue((char *)"");
15938 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15941 wxKeyEvent
*result
;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "keyType", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15949 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15966 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15970 PyObject
* obj0
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "self", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15994 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
;
15996 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15998 PyObject
* obj0
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16022 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
;
16024 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16026 PyObject
* obj0
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16050 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
;
16052 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16054 PyObject
* obj0
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16078 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16082 PyObject
* obj0
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "self", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
16094 wxPyEndAllowThreads(__tstate
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16106 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16110 PyObject
* obj0
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "self", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
16116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16134 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16138 PyObject
* obj0
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "self", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_From_int((int)result
);
16160 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16164 PyObject
* obj0
= 0 ;
16165 char *kwnames
[] = {
16166 (char *) "self", NULL
16169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
16170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= SWIG_From_int((int)result
);
16186 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
;
16188 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16189 unsigned int result
;
16190 PyObject
* obj0
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "self", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
16196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16212 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16215 unsigned int result
;
16216 PyObject
* obj0
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16238 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (arg1
)->GetPosition();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 wxPoint
* resultptr
;
16259 resultptr
= new wxPoint((wxPoint
&) result
);
16260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16268 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
;
16270 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16271 long *arg2
= (long *) 0 ;
16272 long *arg3
= (long *) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self", NULL
16282 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16283 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 (arg1
)->GetPosition(arg2
,arg3
);
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 Py_INCREF(Py_None
); resultobj
= Py_None
;
16295 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16296 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16297 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16298 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16305 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= SWIG_From_int((int)result
);
16331 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= SWIG_From_int((int)result
);
16357 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self",(char *) "m_x", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 arg2
= (int)SWIG_As_int(obj1
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16372 if (arg1
) (arg1
)->m_x
= arg2
;
16374 Py_INCREF(Py_None
); resultobj
= Py_None
;
16381 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16393 result
= (int) ((arg1
)->m_x
);
16395 resultobj
= SWIG_From_int((int)result
);
16402 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 char *kwnames
[] = {
16409 (char *) "self",(char *) "m_y", NULL
16412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16415 arg2
= (int)SWIG_As_int(obj1
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16417 if (arg1
) (arg1
)->m_y
= arg2
;
16419 Py_INCREF(Py_None
); resultobj
= Py_None
;
16426 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16438 result
= (int) ((arg1
)->m_y
);
16440 resultobj
= SWIG_From_int((int)result
);
16447 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self",(char *) "m_keyCode", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16460 arg2
= (long)SWIG_As_long(obj1
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16462 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16464 Py_INCREF(Py_None
); resultobj
= Py_None
;
16471 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 char *kwnames
[] = {
16477 (char *) "self", NULL
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16483 result
= (long) ((arg1
)->m_keyCode
);
16485 resultobj
= SWIG_From_long((long)result
);
16492 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self",(char *) "m_controlDown", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 arg2
= (bool)SWIG_As_bool(obj1
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16507 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16509 Py_INCREF(Py_None
); resultobj
= Py_None
;
16516 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16528 result
= (bool) ((arg1
)->m_controlDown
);
16531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16539 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16541 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16543 PyObject
* obj0
= 0 ;
16544 PyObject
* obj1
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "self",(char *) "m_shiftDown", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16552 arg2
= (bool)SWIG_As_bool(obj1
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16554 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16556 Py_INCREF(Py_None
); resultobj
= Py_None
;
16563 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16575 result
= (bool) ((arg1
)->m_shiftDown
);
16578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16586 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 PyObject
* obj1
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self",(char *) "m_altDown", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16599 arg2
= (bool)SWIG_As_bool(obj1
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16601 if (arg1
) (arg1
)->m_altDown
= arg2
;
16603 Py_INCREF(Py_None
); resultobj
= Py_None
;
16610 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16622 result
= (bool) ((arg1
)->m_altDown
);
16625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16633 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 PyObject
* obj1
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "self",(char *) "m_metaDown", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16646 arg2
= (bool)SWIG_As_bool(obj1
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16648 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16650 Py_INCREF(Py_None
); resultobj
= Py_None
;
16657 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 result
= (bool) ((arg1
)->m_metaDown
);
16672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16680 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16682 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16684 PyObject
* obj0
= 0 ;
16685 PyObject
* obj1
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self",(char *) "m_scanCode", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 arg2
= (bool)SWIG_As_bool(obj1
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16695 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16697 Py_INCREF(Py_None
); resultobj
= Py_None
;
16704 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16708 PyObject
* obj0
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "self", NULL
16713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16716 result
= (bool) ((arg1
)->m_scanCode
);
16719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16727 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
;
16729 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16730 unsigned int arg2
;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "self",(char *) "m_rawCode", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16740 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16742 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16744 Py_INCREF(Py_None
); resultobj
= Py_None
;
16751 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16754 unsigned int result
;
16755 PyObject
* obj0
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16763 result
= (unsigned int) ((arg1
)->m_rawCode
);
16765 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16772 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16775 unsigned int arg2
;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "m_rawFlags", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16785 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16787 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16789 Py_INCREF(Py_None
); resultobj
= Py_None
;
16796 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
;
16798 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16799 unsigned int result
;
16800 PyObject
* obj0
= 0 ;
16801 char *kwnames
[] = {
16802 (char *) "self", NULL
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16808 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16810 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16817 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16820 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16822 return Py_BuildValue((char *)"");
16824 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16827 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16828 int arg2
= (int) 0 ;
16829 wxSizeEvent
*result
;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 char *kwnames
[] = {
16834 (char *) "sz",(char *) "winid", NULL
16837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16841 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16845 arg2
= (int)SWIG_As_int(obj1
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16862 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16866 PyObject
* obj0
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16882 wxSize
* resultptr
;
16883 resultptr
= new wxSize((wxSize
&) result
);
16884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16892 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16896 PyObject
* obj0
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 wxRect
* resultptr
;
16913 resultptr
= new wxRect((wxRect
&) result
);
16914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16922 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 char *kwnames
[] = {
16930 (char *) "self",(char *) "rect", NULL
16933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16936 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16937 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 (arg1
)->SetRect(arg2
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 Py_INCREF(Py_None
); resultobj
= Py_None
;
16953 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "size", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16967 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16968 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 wxSizeEvent_SetSize(arg1
,arg2
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 Py_INCREF(Py_None
); resultobj
= Py_None
;
16984 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
;
16986 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16987 wxSize
*arg2
= (wxSize
*) 0 ;
16988 PyObject
* obj0
= 0 ;
16989 PyObject
* obj1
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self",(char *) "m_size", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16999 if (arg1
) (arg1
)->m_size
= *arg2
;
17001 Py_INCREF(Py_None
); resultobj
= Py_None
;
17008 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17012 PyObject
* obj0
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "self", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
17018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17020 result
= (wxSize
*)& ((arg1
)->m_size
);
17022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17029 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17032 wxRect
*arg2
= (wxRect
*) 0 ;
17033 PyObject
* obj0
= 0 ;
17034 PyObject
* obj1
= 0 ;
17035 char *kwnames
[] = {
17036 (char *) "self",(char *) "m_rect", NULL
17039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17044 if (arg1
) (arg1
)->m_rect
= *arg2
;
17046 Py_INCREF(Py_None
); resultobj
= Py_None
;
17053 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17055 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17057 PyObject
* obj0
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 result
= (wxRect
*)& ((arg1
)->m_rect
);
17067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17074 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17077 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
17079 return Py_BuildValue((char *)"");
17081 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
17084 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
17085 int arg2
= (int) 0 ;
17086 wxMoveEvent
*result
;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "pos",(char *) "winid", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17098 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
17102 arg2
= (int)SWIG_As_int(obj1
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
17119 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17121 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17123 PyObject
* obj0
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "self", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17139 wxPoint
* resultptr
;
17140 resultptr
= new wxPoint((wxPoint
&) result
);
17141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17149 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17153 PyObject
* obj0
= 0 ;
17154 char *kwnames
[] = {
17155 (char *) "self", NULL
17158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
17159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17169 wxRect
* resultptr
;
17170 resultptr
= new wxRect((wxRect
&) result
);
17171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
17179 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17184 PyObject
* obj0
= 0 ;
17185 PyObject
* obj1
= 0 ;
17186 char *kwnames
[] = {
17187 (char *) "self",(char *) "rect", NULL
17190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
17191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17193 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
17194 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 (arg1
)->SetRect(arg2
);
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 Py_INCREF(Py_None
); resultobj
= Py_None
;
17210 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 char *kwnames
[] = {
17218 (char *) "self",(char *) "pos", NULL
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17224 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17225 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 wxMoveEvent_SetPosition(arg1
,arg2
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 Py_INCREF(Py_None
); resultobj
= Py_None
;
17241 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17243 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17244 wxPoint
*arg2
= (wxPoint
*) 0 ;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self",(char *) "m_pos", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17256 if (arg1
) (arg1
)->m_pos
= *arg2
;
17258 Py_INCREF(Py_None
); resultobj
= Py_None
;
17265 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17269 PyObject
* obj0
= 0 ;
17270 char *kwnames
[] = {
17271 (char *) "self", NULL
17274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17277 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17286 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
;
17288 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17289 wxRect
*arg2
= (wxRect
*) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "self",(char *) "m_rect", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17301 if (arg1
) (arg1
)->m_rect
= *arg2
;
17303 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17314 PyObject
* obj0
= 0 ;
17315 char *kwnames
[] = {
17316 (char *) "self", NULL
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17322 result
= (wxRect
*)& ((arg1
)->m_rect
);
17324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17331 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17334 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17336 return Py_BuildValue((char *)"");
17338 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 int arg1
= (int) 0 ;
17341 wxPaintEvent
*result
;
17342 PyObject
* obj0
= 0 ;
17343 char *kwnames
[] = {
17344 (char *) "Id", NULL
17347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17349 arg1
= (int)SWIG_As_int(obj0
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17366 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17369 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17371 return Py_BuildValue((char *)"");
17373 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 int arg1
= (int) 0 ;
17376 wxNcPaintEvent
*result
;
17377 PyObject
* obj0
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "winid", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17384 arg1
= (int)SWIG_As_int(obj0
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17401 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17404 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17406 return Py_BuildValue((char *)"");
17408 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 int arg1
= (int) 0 ;
17411 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17412 wxEraseEvent
*result
;
17413 PyObject
* obj0
= 0 ;
17414 PyObject
* obj1
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "Id",(char *) "dc", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17421 arg1
= (int)SWIG_As_int(obj0
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17442 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17446 PyObject
* obj0
= 0 ;
17447 char *kwnames
[] = {
17448 (char *) "self", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= wxPyMake_wxObject(result
, 0);
17470 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17473 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17475 return Py_BuildValue((char *)"");
17477 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17480 int arg2
= (int) 0 ;
17481 wxFocusEvent
*result
;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "type",(char *) "winid", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17490 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17494 arg2
= (int)SWIG_As_int(obj1
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17511 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= wxPyMake_wxObject(result
, 0);
17539 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17542 wxWindow
*arg2
= (wxWindow
*) 0 ;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "win", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->SetWindow(arg2
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17571 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17573 return Py_BuildValue((char *)"");
17575 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxWindow
*arg1
= (wxWindow
*) NULL
;
17578 wxChildFocusEvent
*result
;
17579 PyObject
* obj0
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "win", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17603 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= wxPyMake_wxObject(result
, 0);
17631 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17634 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17636 return Py_BuildValue((char *)"");
17638 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17641 bool arg2
= (bool) true ;
17642 int arg3
= (int) 0 ;
17643 wxActivateEvent
*result
;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 PyObject
* obj2
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "type",(char *) "active",(char *) "Id", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17653 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17657 arg2
= (bool)SWIG_As_bool(obj1
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 arg3
= (int)SWIG_As_int(obj2
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17678 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17706 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17709 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17711 return Py_BuildValue((char *)"");
17713 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
;
17715 int arg1
= (int) 0 ;
17716 wxInitDialogEvent
*result
;
17717 PyObject
* obj0
= 0 ;
17718 char *kwnames
[] = {
17719 (char *) "Id", NULL
17722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17724 arg1
= (int)SWIG_As_int(obj0
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17741 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17744 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17746 return Py_BuildValue((char *)"");
17748 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17751 int arg2
= (int) 0 ;
17752 wxMenu
*arg3
= (wxMenu
*) NULL
;
17753 wxMenuEvent
*result
;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 PyObject
* obj2
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "type",(char *) "winid",(char *) "menu", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17763 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17767 arg2
= (int)SWIG_As_int(obj1
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17771 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17788 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= SWIG_From_int((int)result
);
17814 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17842 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= wxPyMake_wxObject(result
, 0);
17870 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17873 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17875 return Py_BuildValue((char *)"");
17877 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17880 int arg2
= (int) 0 ;
17881 wxCloseEvent
*result
;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "type",(char *) "winid", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17890 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17894 arg2
= (int)SWIG_As_int(obj1
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17911 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "logOff", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 arg2
= (bool)SWIG_As_bool(obj1
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 (arg1
)->SetLoggingOff(arg2
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 Py_INCREF(Py_None
); resultobj
= Py_None
;
17940 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17968 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
;
17970 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17971 bool arg2
= (bool) true ;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self",(char *) "veto", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17982 arg2
= (bool)SWIG_As_bool(obj1
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 (arg1
)->Veto(arg2
);
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 Py_INCREF(Py_None
); resultobj
= Py_None
;
17999 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj1
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self",(char *) "canVeto", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
18010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18012 arg2
= (bool)SWIG_As_bool(obj1
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 (arg1
)->SetCanVeto(arg2
);
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 Py_INCREF(Py_None
); resultobj
= Py_None
;
18028 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18032 PyObject
* obj0
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
18038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18056 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
18066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18084 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
18086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18087 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
18089 return Py_BuildValue((char *)"");
18091 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 int arg1
= (int) 0 ;
18094 bool arg2
= (bool) false ;
18095 wxShowEvent
*result
;
18096 PyObject
* obj0
= 0 ;
18097 PyObject
* obj1
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "winid",(char *) "show", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18104 arg1
= (int)SWIG_As_int(obj0
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18108 arg2
= (bool)SWIG_As_bool(obj1
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
18125 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18126 PyObject
*resultobj
;
18127 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "self",(char *) "show", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
18136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18138 arg2
= (bool)SWIG_As_bool(obj1
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 (arg1
)->SetShow(arg2
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 Py_INCREF(Py_None
); resultobj
= Py_None
;
18154 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
;
18156 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18158 PyObject
* obj0
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18182 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
18184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18185 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
18187 return Py_BuildValue((char *)"");
18189 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 int arg1
= (int) 0 ;
18192 bool arg2
= (bool) true ;
18193 wxIconizeEvent
*result
;
18194 PyObject
* obj0
= 0 ;
18195 PyObject
* obj1
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "id",(char *) "iconized", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18202 arg1
= (int)SWIG_As_int(obj0
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18206 arg2
= (bool)SWIG_As_bool(obj1
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18223 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (bool)(arg1
)->Iconized();
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18251 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18254 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18256 return Py_BuildValue((char *)"");
18258 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 int arg1
= (int) 0 ;
18261 wxMaximizeEvent
*result
;
18262 PyObject
* obj0
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "id", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18269 arg1
= (int)SWIG_As_int(obj0
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18286 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18289 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18291 return Py_BuildValue((char *)"");
18293 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
;
18295 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18297 PyObject
* obj0
= 0 ;
18298 char *kwnames
[] = {
18299 (char *) "self", NULL
18302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 result
= (arg1
)->GetPosition();
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18313 wxPoint
* resultptr
;
18314 resultptr
= new wxPoint((wxPoint
&) result
);
18315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18323 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
;
18325 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18327 PyObject
* obj0
= 0 ;
18328 char *kwnames
[] = {
18329 (char *) "self", NULL
18332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (int)(arg1
)->GetNumberOfFiles();
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= SWIG_From_int((int)result
);
18349 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= result
;
18375 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18378 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18380 return Py_BuildValue((char *)"");
18382 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
;
18384 int arg1
= (int) 0 ;
18385 wxUpdateUIEvent
*result
;
18386 PyObject
* obj0
= 0 ;
18387 char *kwnames
[] = {
18388 (char *) "commandId", NULL
18391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18393 arg1
= (int)SWIG_As_int(obj0
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18410 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
;
18412 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18414 PyObject
* obj0
= 0 ;
18415 char *kwnames
[] = {
18416 (char *) "self", NULL
18419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18438 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18452 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18466 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18470 PyObject
* obj0
= 0 ;
18471 char *kwnames
[] = {
18472 (char *) "self", NULL
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18498 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18502 PyObject
* obj0
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18526 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18554 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18582 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18586 PyObject
* obj0
= 0 ;
18587 PyObject
* obj1
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "self",(char *) "check", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18595 arg2
= (bool)SWIG_As_bool(obj1
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 (arg1
)->Check(arg2
);
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 Py_INCREF(Py_None
); resultobj
= Py_None
;
18611 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self",(char *) "enable", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18624 arg2
= (bool)SWIG_As_bool(obj1
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 (arg1
)->Enable(arg2
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 Py_INCREF(Py_None
); resultobj
= Py_None
;
18640 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
;
18642 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18643 wxString
*arg2
= 0 ;
18644 bool temp2
= false ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self",(char *) "text", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18655 arg2
= wxString_in_helper(obj1
);
18656 if (arg2
== NULL
) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 (arg1
)->SetText((wxString
const &)*arg2
);
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 Py_INCREF(Py_None
); resultobj
= Py_None
;
18681 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18684 PyObject
* obj0
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "updateInterval", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18690 arg1
= (long)SWIG_As_long(obj0
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 Py_INCREF(Py_None
); resultobj
= Py_None
;
18706 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18709 char *kwnames
[] = {
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= SWIG_From_long((long)result
);
18728 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxWindow
*arg1
= (wxWindow
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "win", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18756 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 char *kwnames
[] = {
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 wxUpdateUIEvent::ResetUpdateTime();
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 Py_INCREF(Py_None
); resultobj
= Py_None
;
18777 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
;
18780 PyObject
* obj0
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "mode", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18786 arg1
= (int)SWIG_As_int(obj0
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18795 Py_INCREF(Py_None
); resultobj
= Py_None
;
18802 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18805 char *kwnames
[] = {
18809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 result
= (int)wxUpdateUIEvent::GetMode();
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 resultobj
= SWIG_From_int((int)result
);
18824 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18827 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18829 return Py_BuildValue((char *)"");
18831 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxSysColourChangedEvent
*result
;
18834 char *kwnames
[] = {
18838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18853 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18856 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18858 return Py_BuildValue((char *)"");
18860 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 int arg1
= (int) 0 ;
18863 wxWindow
*arg2
= (wxWindow
*) NULL
;
18864 wxMouseCaptureChangedEvent
*result
;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "winid",(char *) "gainedCapture", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18873 arg1
= (int)SWIG_As_int(obj0
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18894 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18898 PyObject
* obj0
= 0 ;
18899 char *kwnames
[] = {
18900 (char *) "self", NULL
18903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= wxPyMake_wxObject(result
, 0);
18922 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18925 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18927 return Py_BuildValue((char *)"");
18929 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
;
18931 wxDisplayChangedEvent
*result
;
18932 char *kwnames
[] = {
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18951 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18954 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18956 return Py_BuildValue((char *)"");
18958 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 int arg1
= (int) 0 ;
18961 wxPaletteChangedEvent
*result
;
18962 PyObject
* obj0
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "id", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18969 arg1
= (int)SWIG_As_int(obj0
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18986 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18989 wxWindow
*arg2
= (wxWindow
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self",(char *) "win", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 (arg1
)->SetChangedWindow(arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 Py_INCREF(Py_None
); resultobj
= Py_None
;
19015 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
19019 PyObject
* obj0
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
19026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= wxPyMake_wxObject(result
, 0);
19043 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
19045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19046 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
19048 return Py_BuildValue((char *)"");
19050 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
;
19052 int arg1
= (int) 0 ;
19053 wxQueryNewPaletteEvent
*result
;
19054 PyObject
* obj0
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "winid", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
19061 arg1
= (int)SWIG_As_int(obj0
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
19078 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self",(char *) "realized", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
19089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19091 arg2
= (bool)SWIG_As_bool(obj1
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 (arg1
)->SetPaletteRealized(arg2
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 Py_INCREF(Py_None
); resultobj
= Py_None
;
19107 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
19117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19135 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
19137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19138 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
19140 return Py_BuildValue((char *)"");
19142 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19143 PyObject
*resultobj
;
19144 wxNavigationKeyEvent
*result
;
19145 char *kwnames
[] = {
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
19164 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
19174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19192 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
;
19194 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "self",(char *) "forward", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
19203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19205 arg2
= (bool)SWIG_As_bool(obj1
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 (arg1
)->SetDirection(arg2
);
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 Py_INCREF(Py_None
); resultobj
= Py_None
;
19221 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
;
19223 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19225 PyObject
* obj0
= 0 ;
19226 char *kwnames
[] = {
19227 (char *) "self", NULL
19230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19249 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self",(char *) "ischange", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19262 arg2
= (bool)SWIG_As_bool(obj1
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 (arg1
)->SetWindowChange(arg2
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 Py_INCREF(Py_None
); resultobj
= Py_None
;
19278 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 char *kwnames
[] = {
19285 (char *) "self",(char *) "flags", NULL
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19291 arg2
= (long)SWIG_As_long(obj1
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 (arg1
)->SetFlags(arg2
);
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 Py_INCREF(Py_None
); resultobj
= Py_None
;
19307 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19311 PyObject
* obj0
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= wxPyMake_wxObject(result
, 0);
19335 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19338 wxWindow
*arg2
= (wxWindow
*) 0 ;
19339 PyObject
* obj0
= 0 ;
19340 PyObject
* obj1
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "self",(char *) "win", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 (arg1
)->SetCurrentFocus(arg2
);
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 Py_INCREF(Py_None
); resultobj
= Py_None
;
19364 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19367 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19369 return Py_BuildValue((char *)"");
19371 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxWindow
*arg1
= (wxWindow
*) NULL
;
19374 wxWindowCreateEvent
*result
;
19375 PyObject
* obj0
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "win", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19399 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
;
19401 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19403 PyObject
* obj0
= 0 ;
19404 char *kwnames
[] = {
19405 (char *) "self", NULL
19408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= wxPyMake_wxObject(result
, 0);
19427 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19430 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19432 return Py_BuildValue((char *)"");
19434 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
;
19436 wxWindow
*arg1
= (wxWindow
*) NULL
;
19437 wxWindowDestroyEvent
*result
;
19438 PyObject
* obj0
= 0 ;
19439 char *kwnames
[] = {
19440 (char *) "win", NULL
19443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19462 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19482 resultobj
= wxPyMake_wxObject(result
, 0);
19490 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19493 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19495 return Py_BuildValue((char *)"");
19497 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19500 int arg2
= (int) 0 ;
19501 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19502 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19503 wxContextMenuEvent
*result
;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 PyObject
* obj2
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "type",(char *) "winid",(char *) "pt", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19514 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19518 arg2
= (int)SWIG_As_int(obj1
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19541 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19545 PyObject
* obj0
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19557 result
= (wxPoint
*) &_result_ref
;
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19570 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19571 PyObject
*resultobj
;
19572 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19573 wxPoint
*arg2
= 0 ;
19575 PyObject
* obj0
= 0 ;
19576 PyObject
* obj1
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "self",(char *) "pos", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19586 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 Py_INCREF(Py_None
); resultobj
= Py_None
;
19602 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19605 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19607 return Py_BuildValue((char *)"");
19609 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19611 wxIdleEvent
*result
;
19612 char *kwnames
[] = {
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 result
= (wxIdleEvent
*)new wxIdleEvent();
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19631 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19634 bool arg2
= (bool) true ;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self",(char *) "needMore", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19645 arg2
= (bool)SWIG_As_bool(obj1
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 (arg1
)->RequestMore(arg2
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 Py_INCREF(Py_None
); resultobj
= Py_None
;
19662 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19666 PyObject
* obj0
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19690 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "mode", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19699 arg1
= (int)SWIG_As_int(obj0
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 Py_INCREF(Py_None
); resultobj
= Py_None
;
19715 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19718 char *kwnames
[] = {
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (int)wxIdleEvent::GetMode();
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= SWIG_From_int((int)result
);
19737 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxWindow
*arg1
= (wxWindow
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "win", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (bool)wxIdleEvent::CanSend(arg1
);
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19765 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19768 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19770 return Py_BuildValue((char *)"");
19772 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 int arg1
= (int) 0 ;
19775 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19777 PyObject
* obj0
= 0 ;
19778 PyObject
* obj1
= 0 ;
19779 char *kwnames
[] = {
19780 (char *) "winid",(char *) "commandType", NULL
19783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19785 arg1
= (int)SWIG_As_int(obj0
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19789 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19806 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 Py_INCREF(Py_None
); resultobj
= Py_None
;
19831 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19834 PyObject
*arg2
= (PyObject
*) 0 ;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self",(char *) "self", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 (arg1
)->SetSelf(arg2
);
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 Py_INCREF(Py_None
); resultobj
= Py_None
;
19859 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
;
19861 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19863 PyObject
* obj0
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= (PyObject
*)(arg1
)->GetSelf();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 resultobj
= result
;
19885 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19888 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19890 return Py_BuildValue((char *)"");
19892 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19895 int arg2
= (int) 0 ;
19896 wxPyCommandEvent
*result
;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "commandType",(char *) "id", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19905 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19909 arg2
= (int)SWIG_As_int(obj1
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19926 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
;
19928 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19929 PyObject
* obj0
= 0 ;
19930 char *kwnames
[] = {
19931 (char *) "self", NULL
19934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 Py_INCREF(Py_None
); resultobj
= Py_None
;
19951 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19954 PyObject
*arg2
= (PyObject
*) 0 ;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19957 char *kwnames
[] = {
19958 (char *) "self",(char *) "self", NULL
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 (arg1
)->SetSelf(arg2
);
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 Py_INCREF(Py_None
); resultobj
= Py_None
;
19979 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
;
19981 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19983 PyObject
* obj0
= 0 ;
19984 char *kwnames
[] = {
19985 (char *) "self", NULL
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 result
= (PyObject
*)(arg1
)->GetSelf();
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 resultobj
= result
;
20005 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
20007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20008 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
20010 return Py_BuildValue((char *)"");
20012 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20015 char *kwnames
[] = {
20019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 result
= (wxPyApp
*)new_wxPyApp();
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
20034 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20037 PyObject
* obj0
= 0 ;
20038 char *kwnames
[] = {
20039 (char *) "self", NULL
20042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
20043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 Py_INCREF(Py_None
); resultobj
= Py_None
;
20059 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20062 PyObject
*arg2
= (PyObject
*) 0 ;
20063 PyObject
*arg3
= (PyObject
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20066 PyObject
* obj2
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self",(char *) "self",(char *) "_class", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20083 Py_INCREF(Py_None
); resultobj
= Py_None
;
20090 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "self", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= ((wxPyApp
const *)arg1
)->GetAppName();
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20122 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
;
20124 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20125 wxString
*arg2
= 0 ;
20126 bool temp2
= false ;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20129 char *kwnames
[] = {
20130 (char *) "self",(char *) "name", NULL
20133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
20134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20137 arg2
= wxString_in_helper(obj1
);
20138 if (arg2
== NULL
) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 (arg1
)->SetAppName((wxString
const &)*arg2
);
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20148 Py_INCREF(Py_None
); resultobj
= Py_None
;
20163 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
20173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= ((wxPyApp
const *)arg1
)->GetClassName();
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20195 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20198 wxString
*arg2
= 0 ;
20199 bool temp2
= false ;
20200 PyObject
* obj0
= 0 ;
20201 PyObject
* obj1
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self",(char *) "name", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 arg2
= wxString_in_helper(obj1
);
20211 if (arg2
== NULL
) SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 (arg1
)->SetClassName((wxString
const &)*arg2
);
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 Py_INCREF(Py_None
); resultobj
= Py_None
;
20236 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
;
20238 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20240 PyObject
* obj0
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20252 result
= (wxString
*) &_result_ref
;
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20262 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20271 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20272 PyObject
*resultobj
;
20273 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20274 wxString
*arg2
= 0 ;
20275 bool temp2
= false ;
20276 PyObject
* obj0
= 0 ;
20277 PyObject
* obj1
= 0 ;
20278 char *kwnames
[] = {
20279 (char *) "self",(char *) "name", NULL
20282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20286 arg2
= wxString_in_helper(obj1
);
20287 if (arg2
== NULL
) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 Py_INCREF(Py_None
); resultobj
= Py_None
;
20312 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20315 wxAppTraits
*result
;
20316 PyObject
* obj0
= 0 ;
20317 char *kwnames
[] = {
20318 (char *) "self", NULL
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20338 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20341 PyObject
* obj0
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 (arg1
)->ProcessPendingEvents();
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 Py_INCREF(Py_None
); resultobj
= Py_None
;
20363 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20366 bool arg2
= (bool) false ;
20368 PyObject
* obj0
= 0 ;
20369 PyObject
* obj1
= 0 ;
20370 char *kwnames
[] = {
20371 (char *) "self",(char *) "onlyIfNeeded", NULL
20374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20378 arg2
= (bool)SWIG_As_bool(obj1
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 result
= (bool)(arg1
)->Yield(arg2
);
20385 wxPyEndAllowThreads(__tstate
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20397 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20400 PyObject
* obj0
= 0 ;
20401 char *kwnames
[] = {
20402 (char *) "self", NULL
20405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 (arg1
)->WakeUpIdle();
20412 wxPyEndAllowThreads(__tstate
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20415 Py_INCREF(Py_None
); resultobj
= Py_None
;
20422 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20425 char *kwnames
[] = {
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (bool)wxPyApp::IsMainLoopRunning();
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20446 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20448 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20450 PyObject
* obj0
= 0 ;
20451 char *kwnames
[] = {
20452 (char *) "self", NULL
20455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 result
= (int)(arg1
)->MainLoop();
20462 wxPyEndAllowThreads(__tstate
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20465 resultobj
= SWIG_From_int((int)result
);
20472 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
;
20474 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20475 PyObject
* obj0
= 0 ;
20476 char *kwnames
[] = {
20477 (char *) "self", NULL
20480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 Py_INCREF(Py_None
); resultobj
= Py_None
;
20497 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20499 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20500 PyObject
* obj0
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "self", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 (arg1
)->ExitMainLoop();
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 Py_INCREF(Py_None
); resultobj
= Py_None
;
20522 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20526 PyObject
* obj0
= 0 ;
20527 char *kwnames
[] = {
20528 (char *) "self", NULL
20531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= (bool)(arg1
)->Pending();
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20550 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 char *kwnames
[] = {
20556 (char *) "self", NULL
20559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 result
= (bool)(arg1
)->Dispatch();
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20578 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
;
20580 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20582 PyObject
* obj0
= 0 ;
20583 char *kwnames
[] = {
20584 (char *) "self", NULL
20587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 result
= (bool)(arg1
)->ProcessIdle();
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20606 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20609 wxWindow
*arg2
= (wxWindow
*) 0 ;
20610 wxIdleEvent
*arg3
= 0 ;
20612 PyObject
* obj0
= 0 ;
20613 PyObject
* obj1
= 0 ;
20614 PyObject
* obj2
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self",(char *) "win",(char *) "event", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20624 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20627 if (arg3
== NULL
) {
20628 PyErr_SetString(PyExc_TypeError
,"null reference");
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20647 static PyObject
*_wrap_PyApp_IsActive(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_IsActive",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
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20675 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20678 wxWindow
*arg2
= (wxWindow
*) 0 ;
20679 PyObject
* obj0
= 0 ;
20680 PyObject
* obj1
= 0 ;
20681 char *kwnames
[] = {
20682 (char *) "self",(char *) "win", NULL
20685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 (arg1
)->SetTopWindow(arg2
);
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20697 Py_INCREF(Py_None
); resultobj
= Py_None
;
20704 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20705 PyObject
*resultobj
;
20706 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20708 PyObject
* obj0
= 0 ;
20709 char *kwnames
[] = {
20710 (char *) "self", NULL
20713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20724 resultobj
= wxPyMake_wxObject(result
, 0);
20732 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20734 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20736 PyObject
* obj0
= 0 ;
20737 PyObject
* obj1
= 0 ;
20738 char *kwnames
[] = {
20739 (char *) "self",(char *) "flag", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20745 arg2
= (bool)SWIG_As_bool(obj1
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 (arg1
)->SetExitOnFrameDelete(arg2
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 Py_INCREF(Py_None
); resultobj
= Py_None
;
20761 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20763 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20765 PyObject
* obj0
= 0 ;
20766 char *kwnames
[] = {
20767 (char *) "self", NULL
20770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20789 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
;
20791 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20793 PyObject
* obj0
= 0 ;
20794 PyObject
* obj1
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self",(char *) "flag", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20802 arg2
= (bool)SWIG_As_bool(obj1
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 (arg1
)->SetUseBestVisual(arg2
);
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 Py_INCREF(Py_None
); resultobj
= Py_None
;
20818 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20820 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20822 PyObject
* obj0
= 0 ;
20823 char *kwnames
[] = {
20824 (char *) "self", NULL
20827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20846 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self",(char *) "mode", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20859 arg2
= (int)SWIG_As_int(obj1
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 (arg1
)->SetPrintMode(arg2
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 Py_INCREF(Py_None
); resultobj
= Py_None
;
20875 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20879 PyObject
* obj0
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "self", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_From_int((int)result
);
20901 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20903 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self",(char *) "mode", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20914 arg2
= (int)SWIG_As_int(obj1
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 (arg1
)->SetAssertMode(arg2
);
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 Py_INCREF(Py_None
); resultobj
= Py_None
;
20930 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20934 PyObject
* obj0
= 0 ;
20935 char *kwnames
[] = {
20936 (char *) "self", NULL
20939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= (int)(arg1
)->GetAssertMode();
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 resultobj
= SWIG_From_int((int)result
);
20956 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20959 char *kwnames
[] = {
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20980 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
;
20983 char *kwnames
[] = {
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 resultobj
= SWIG_From_long((long)result
);
21002 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21005 char *kwnames
[] = {
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= SWIG_From_long((long)result
);
21024 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
;
21027 char *kwnames
[] = {
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (long)wxPyApp::GetMacExitMenuItemId();
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= SWIG_From_long((long)result
);
21046 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
;
21049 char *kwnames
[] = {
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= wxPyApp::GetMacHelpMenuTitleName();
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21074 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21077 PyObject
* obj0
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "val", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
21083 arg1
= (bool)SWIG_As_bool(obj0
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21092 Py_INCREF(Py_None
); resultobj
= Py_None
;
21099 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21102 PyObject
* obj0
= 0 ;
21103 char *kwnames
[] = {
21104 (char *) "val", NULL
21107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
21108 arg1
= (long)SWIG_As_long(obj0
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 wxPyApp::SetMacAboutMenuItemId(arg1
);
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 Py_INCREF(Py_None
); resultobj
= Py_None
;
21124 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21127 PyObject
* obj0
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "val", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
21133 arg1
= (long)SWIG_As_long(obj0
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 Py_INCREF(Py_None
); resultobj
= Py_None
;
21149 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21152 PyObject
* obj0
= 0 ;
21153 char *kwnames
[] = {
21154 (char *) "val", NULL
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
21158 arg1
= (long)SWIG_As_long(obj0
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 wxPyApp::SetMacExitMenuItemId(arg1
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 Py_INCREF(Py_None
); resultobj
= Py_None
;
21174 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxString
*arg1
= 0 ;
21177 bool temp1
= false ;
21178 PyObject
* obj0
= 0 ;
21179 char *kwnames
[] = {
21180 (char *) "val", NULL
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
21185 arg1
= wxString_in_helper(obj0
);
21186 if (arg1
== NULL
) SWIG_fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 Py_INCREF(Py_None
); resultobj
= Py_None
;
21211 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21213 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21214 PyObject
* obj0
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 (arg1
)->_BootstrapApp();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 Py_INCREF(Py_None
); resultobj
= Py_None
;
21236 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21239 char *kwnames
[] = {
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (int)wxPyApp::GetComCtl32Version();
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_From_int((int)result
);
21258 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21261 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21263 return Py_BuildValue((char *)"");
21265 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 char *kwnames
[] = {
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 Py_INCREF(Py_None
); resultobj
= Py_None
;
21286 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21289 char *kwnames
[] = {
21293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (bool)wxYield();
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21310 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21313 char *kwnames
[] = {
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= (bool)wxYieldIfNeeded();
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21334 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxWindow
*arg1
= (wxWindow
*) NULL
;
21337 bool arg2
= (bool) false ;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "win",(char *) "onlyIfNeeded", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 arg2
= (bool)SWIG_As_bool(obj1
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (bool)wxSafeYield(arg1
,arg2
);
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21370 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 char *kwnames
[] = {
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 Py_INCREF(Py_None
); resultobj
= Py_None
;
21391 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21394 wxEvent
*arg2
= 0 ;
21395 PyObject
* obj0
= 0 ;
21396 PyObject
* obj1
= 0 ;
21397 char *kwnames
[] = {
21398 (char *) "dest",(char *) "event", NULL
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21407 if (arg2
== NULL
) {
21408 PyErr_SetString(PyExc_TypeError
,"null reference");
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 wxPostEvent(arg1
,*arg2
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21418 Py_INCREF(Py_None
); resultobj
= Py_None
;
21425 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21426 PyObject
*resultobj
;
21427 char *kwnames
[] = {
21431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21439 Py_INCREF(Py_None
); resultobj
= Py_None
;
21446 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21449 char *kwnames
[] = {
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (wxPyApp
*)wxPyGetApp();
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= wxPyMake_wxObject(result
, 0);
21470 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxEventLoop
*result
;
21473 char *kwnames
[] = {
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 result
= (wxEventLoop
*)new wxEventLoop();
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21492 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21495 PyObject
* obj0
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 Py_INCREF(Py_None
); resultobj
= Py_None
;
21517 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21521 PyObject
* obj0
= 0 ;
21522 char *kwnames
[] = {
21523 (char *) "self", NULL
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= (int)(arg1
)->Run();
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 resultobj
= SWIG_From_int((int)result
);
21543 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21546 int arg2
= (int) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "rc", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21557 arg2
= (int)SWIG_As_int(obj1
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 (arg1
)->Exit(arg2
);
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 Py_INCREF(Py_None
); resultobj
= Py_None
;
21574 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21578 PyObject
* obj0
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21602 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
;
21604 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21606 PyObject
* obj0
= 0 ;
21607 char *kwnames
[] = {
21608 (char *) "self", NULL
21611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= (bool)(arg1
)->Dispatch();
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21630 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21631 PyObject
*resultobj
;
21632 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21634 PyObject
* obj0
= 0 ;
21635 char *kwnames
[] = {
21636 (char *) "self", NULL
21639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21658 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxEventLoop
*result
;
21661 char *kwnames
[] = {
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21680 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21683 PyObject
* obj0
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "loop", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 wxEventLoop::SetActive(arg1
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 Py_INCREF(Py_None
); resultobj
= Py_None
;
21705 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21708 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21710 return Py_BuildValue((char *)"");
21712 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 int arg1
= (int) 0 ;
21715 int arg2
= (int) 0 ;
21716 int arg3
= (int) 0 ;
21717 wxAcceleratorEntry
*result
;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 PyObject
* obj2
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21727 arg1
= (int)SWIG_As_int(obj0
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21731 arg2
= (int)SWIG_As_int(obj1
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21735 arg3
= (int)SWIG_As_int(obj2
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21752 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21755 PyObject
* obj0
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "self", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 Py_INCREF(Py_None
); resultobj
= Py_None
;
21777 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21783 PyObject
* obj0
= 0 ;
21784 PyObject
* obj1
= 0 ;
21785 PyObject
* obj2
= 0 ;
21786 PyObject
* obj3
= 0 ;
21787 char *kwnames
[] = {
21788 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21794 arg2
= (int)SWIG_As_int(obj1
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21796 arg3
= (int)SWIG_As_int(obj2
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21798 arg4
= (int)SWIG_As_int(obj3
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 (arg1
)->Set(arg2
,arg3
,arg4
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 Py_INCREF(Py_None
); resultobj
= Py_None
;
21814 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= (int)(arg1
)->GetFlags();
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= SWIG_From_int((int)result
);
21840 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
;
21842 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21844 PyObject
* obj0
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= (int)(arg1
)->GetKeyCode();
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_From_int((int)result
);
21866 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21870 PyObject
* obj0
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 result
= (int)(arg1
)->GetCommand();
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 resultobj
= SWIG_From_int((int)result
);
21892 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21895 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21897 return Py_BuildValue((char *)"");
21899 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21902 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21903 wxAcceleratorTable
*result
;
21904 PyObject
* obj0
= 0 ;
21905 char *kwnames
[] = {
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21911 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21912 if (arg2
) arg1
= PyList_Size(obj0
);
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21935 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21938 PyObject
* obj0
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21953 Py_INCREF(Py_None
); resultobj
= Py_None
;
21960 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21964 PyObject
* obj0
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21988 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21991 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21993 return Py_BuildValue((char *)"");
21995 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21996 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
22001 static PyObject
*_wrap_NullAcceleratorTable_get() {
22004 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
22009 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxString
*arg1
= 0 ;
22012 wxAcceleratorEntry
*result
;
22013 bool temp1
= false ;
22014 PyObject
* obj0
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "label", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
22021 arg1
= wxString_in_helper(obj0
);
22022 if (arg1
== NULL
) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
22047 static int _wrap_PanelNameStr_set(PyObject
*) {
22048 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
22053 static PyObject
*_wrap_PanelNameStr_get() {
22058 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22060 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22067 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
;
22069 wxVisualAttributes
*result
;
22070 char *kwnames
[] = {
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
22089 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22090 PyObject
*resultobj
;
22091 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22092 PyObject
* obj0
= 0 ;
22093 char *kwnames
[] = {
22094 (char *) "self", NULL
22097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
22098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 delete_wxVisualAttributes(arg1
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 Py_INCREF(Py_None
); resultobj
= Py_None
;
22114 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22117 wxFont
*arg2
= (wxFont
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self",(char *) "font", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
22128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22129 if (arg1
) (arg1
)->font
= *arg2
;
22131 Py_INCREF(Py_None
); resultobj
= Py_None
;
22138 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
22148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22150 result
= (wxFont
*)& ((arg1
)->font
);
22152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
22159 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22162 wxColour
*arg2
= (wxColour
*) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "colFg", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22174 if (arg1
) (arg1
)->colFg
= *arg2
;
22176 Py_INCREF(Py_None
); resultobj
= Py_None
;
22183 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
;
22185 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22187 PyObject
* obj0
= 0 ;
22188 char *kwnames
[] = {
22189 (char *) "self", NULL
22192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
22193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22195 result
= (wxColour
*)& ((arg1
)->colFg
);
22197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22204 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22207 wxColour
*arg2
= (wxColour
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 PyObject
* obj1
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self",(char *) "colBg", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22219 if (arg1
) (arg1
)->colBg
= *arg2
;
22221 Py_INCREF(Py_None
); resultobj
= Py_None
;
22228 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22240 result
= (wxColour
*)& ((arg1
)->colBg
);
22242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22249 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22252 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22254 return Py_BuildValue((char *)"");
22256 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxWindow
*arg1
= (wxWindow
*) 0 ;
22259 int arg2
= (int) (int)-1 ;
22260 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22261 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22262 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22263 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22264 long arg5
= (long) 0 ;
22265 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22266 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22270 bool temp6
= false ;
22271 PyObject
* obj0
= 0 ;
22272 PyObject
* obj1
= 0 ;
22273 PyObject
* obj2
= 0 ;
22274 PyObject
* obj3
= 0 ;
22275 PyObject
* obj4
= 0 ;
22276 PyObject
* obj5
= 0 ;
22277 char *kwnames
[] = {
22278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22285 arg2
= (int)SWIG_As_int(obj1
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22297 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22301 arg5
= (long)SWIG_As_long(obj4
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22306 arg6
= wxString_in_helper(obj5
);
22307 if (arg6
== NULL
) SWIG_fail
;
22312 if (!wxPyCheckForApp()) SWIG_fail
;
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22334 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
;
22337 char *kwnames
[] = {
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22343 if (!wxPyCheckForApp()) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= (wxWindow
*)new wxWindow();
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22357 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxWindow
*arg1
= (wxWindow
*) 0 ;
22360 wxWindow
*arg2
= (wxWindow
*) 0 ;
22361 int arg3
= (int) (int)-1 ;
22362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22366 long arg6
= (long) 0 ;
22367 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22372 bool temp7
= false ;
22373 PyObject
* obj0
= 0 ;
22374 PyObject
* obj1
= 0 ;
22375 PyObject
* obj2
= 0 ;
22376 PyObject
* obj3
= 0 ;
22377 PyObject
* obj4
= 0 ;
22378 PyObject
* obj5
= 0 ;
22379 PyObject
* obj6
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22390 arg3
= (int)SWIG_As_int(obj2
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22406 arg6
= (long)SWIG_As_long(obj5
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22411 arg7
= wxString_in_helper(obj6
);
22412 if (arg7
== NULL
) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22440 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
;
22442 wxWindow
*arg1
= (wxWindow
*) 0 ;
22443 bool arg2
= (bool) false ;
22445 PyObject
* obj0
= 0 ;
22446 PyObject
* obj1
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self",(char *) "force", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22455 arg2
= (bool)SWIG_As_bool(obj1
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22460 result
= (bool)(arg1
)->Close(arg2
);
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22474 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxWindow
*arg1
= (wxWindow
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= (bool)(arg1
)->Destroy();
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22502 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22503 PyObject
*resultobj
;
22504 wxWindow
*arg1
= (wxWindow
*) 0 ;
22506 PyObject
* obj0
= 0 ;
22507 char *kwnames
[] = {
22508 (char *) "self", NULL
22511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 result
= (bool)(arg1
)->DestroyChildren();
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22530 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22531 PyObject
*resultobj
;
22532 wxWindow
*arg1
= (wxWindow
*) 0 ;
22534 PyObject
* obj0
= 0 ;
22535 char *kwnames
[] = {
22536 (char *) "self", NULL
22539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22558 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxWindow
*arg1
= (wxWindow
*) 0 ;
22561 wxString
*arg2
= 0 ;
22562 bool temp2
= false ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self",(char *) "title", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22573 arg2
= wxString_in_helper(obj1
);
22574 if (arg2
== NULL
) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 (arg1
)->SetTitle((wxString
const &)*arg2
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 Py_INCREF(Py_None
); resultobj
= Py_None
;
22599 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxWindow
*arg1
= (wxWindow
*) 0 ;
22603 PyObject
* obj0
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 result
= ((wxWindow
const *)arg1
)->GetTitle();
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22631 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
;
22633 wxWindow
*arg1
= (wxWindow
*) 0 ;
22634 wxString
*arg2
= 0 ;
22635 bool temp2
= false ;
22636 PyObject
* obj0
= 0 ;
22637 PyObject
* obj1
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self",(char *) "label", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22646 arg2
= wxString_in_helper(obj1
);
22647 if (arg2
== NULL
) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 (arg1
)->SetLabel((wxString
const &)*arg2
);
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 Py_INCREF(Py_None
); resultobj
= Py_None
;
22672 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22674 wxWindow
*arg1
= (wxWindow
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "self", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= ((wxWindow
const *)arg1
)->GetLabel();
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22704 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
;
22706 wxWindow
*arg1
= (wxWindow
*) 0 ;
22707 wxString
*arg2
= 0 ;
22708 bool temp2
= false ;
22709 PyObject
* obj0
= 0 ;
22710 PyObject
* obj1
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self",(char *) "name", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22719 arg2
= wxString_in_helper(obj1
);
22720 if (arg2
== NULL
) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 (arg1
)->SetName((wxString
const &)*arg2
);
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 Py_INCREF(Py_None
); resultobj
= Py_None
;
22745 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
;
22747 wxWindow
*arg1
= (wxWindow
*) 0 ;
22749 PyObject
* obj0
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 result
= ((wxWindow
const *)arg1
)->GetName();
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22777 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
;
22779 wxWindow
*arg1
= (wxWindow
*) 0 ;
22781 PyObject
* obj0
= 0 ;
22782 PyObject
* obj1
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self",(char *) "variant", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22790 arg2
= (int)SWIG_As_int(obj1
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 Py_INCREF(Py_None
); resultobj
= Py_None
;
22806 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxWindow
*arg1
= (wxWindow
*) 0 ;
22810 PyObject
* obj0
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "self", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_From_int((int)result
);
22832 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22833 PyObject
*resultobj
;
22834 wxWindow
*arg1
= (wxWindow
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char *kwnames
[] = {
22839 (char *) "self",(char *) "winid", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22845 arg2
= (int)SWIG_As_int(obj1
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 (arg1
)->SetId(arg2
);
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 Py_INCREF(Py_None
); resultobj
= Py_None
;
22861 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxWindow
*arg1
= (wxWindow
*) 0 ;
22865 PyObject
* obj0
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= (int)((wxWindow
const *)arg1
)->GetId();
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= SWIG_From_int((int)result
);
22887 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
;
22890 char *kwnames
[] = {
22894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 result
= (int)wxWindow::NewControlId();
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_From_int((int)result
);
22909 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22913 PyObject
* obj0
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "winid", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22919 arg1
= (int)SWIG_As_int(obj0
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 result
= (int)wxWindow::NextControlId(arg1
);
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 resultobj
= SWIG_From_int((int)result
);
22935 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22939 PyObject
* obj0
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "winid", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22945 arg1
= (int)SWIG_As_int(obj0
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (int)wxWindow::PrevControlId(arg1
);
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_From_int((int)result
);
22961 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22963 wxWindow
*arg1
= (wxWindow
*) 0 ;
22966 PyObject
* obj0
= 0 ;
22967 PyObject
* obj1
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "self",(char *) "size", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22977 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->SetSize((wxSize
const &)*arg2
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22993 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxWindow
*arg1
= (wxWindow
*) 0 ;
23000 int arg6
= (int) wxSIZE_AUTO
;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 PyObject
* obj2
= 0 ;
23004 PyObject
* obj3
= 0 ;
23005 PyObject
* obj4
= 0 ;
23006 PyObject
* obj5
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 arg2
= (int)SWIG_As_int(obj1
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23016 arg3
= (int)SWIG_As_int(obj2
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23018 arg4
= (int)SWIG_As_int(obj3
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23020 arg5
= (int)SWIG_As_int(obj4
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 arg6
= (int)SWIG_As_int(obj5
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 Py_INCREF(Py_None
); resultobj
= Py_None
;
23040 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23041 PyObject
*resultobj
;
23042 wxWindow
*arg1
= (wxWindow
*) 0 ;
23044 int arg3
= (int) wxSIZE_AUTO
;
23046 PyObject
* obj0
= 0 ;
23047 PyObject
* obj1
= 0 ;
23048 PyObject
* obj2
= 0 ;
23049 char *kwnames
[] = {
23050 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
23053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23058 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23061 arg3
= (int)SWIG_As_int(obj2
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 Py_INCREF(Py_None
); resultobj
= Py_None
;
23078 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxWindow
*arg1
= (wxWindow
*) 0 ;
23083 PyObject
* obj0
= 0 ;
23084 PyObject
* obj1
= 0 ;
23085 PyObject
* obj2
= 0 ;
23086 char *kwnames
[] = {
23087 (char *) "self",(char *) "width",(char *) "height", NULL
23090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23093 arg2
= (int)SWIG_As_int(obj1
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23095 arg3
= (int)SWIG_As_int(obj2
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 (arg1
)->SetSize(arg2
,arg3
);
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 Py_INCREF(Py_None
); resultobj
= Py_None
;
23111 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
;
23113 wxWindow
*arg1
= (wxWindow
*) 0 ;
23114 wxPoint
*arg2
= 0 ;
23115 int arg3
= (int) wxSIZE_USE_EXISTING
;
23117 PyObject
* obj0
= 0 ;
23118 PyObject
* obj1
= 0 ;
23119 PyObject
* obj2
= 0 ;
23120 char *kwnames
[] = {
23121 (char *) "self",(char *) "pt",(char *) "flags", NULL
23124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23132 arg3
= (int)SWIG_As_int(obj2
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 Py_INCREF(Py_None
); resultobj
= Py_None
;
23149 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
;
23151 wxWindow
*arg1
= (wxWindow
*) 0 ;
23154 int arg4
= (int) wxSIZE_USE_EXISTING
;
23155 PyObject
* obj0
= 0 ;
23156 PyObject
* obj1
= 0 ;
23157 PyObject
* obj2
= 0 ;
23158 PyObject
* obj3
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23166 arg2
= (int)SWIG_As_int(obj1
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23168 arg3
= (int)SWIG_As_int(obj2
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 arg4
= (int)SWIG_As_int(obj3
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 (arg1
)->Move(arg2
,arg3
,arg4
);
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23181 Py_INCREF(Py_None
); resultobj
= Py_None
;
23188 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxWindow
*arg1
= (wxWindow
*) 0 ;
23191 wxSize
const &arg2_defvalue
= wxDefaultSize
;
23192 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self",(char *) "size", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23206 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 Py_INCREF(Py_None
); resultobj
= Py_None
;
23223 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
;
23225 wxWindow
*arg1
= (wxWindow
*) 0 ;
23226 PyObject
* obj0
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "self", NULL
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 Py_INCREF(Py_None
); resultobj
= Py_None
;
23248 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
;
23250 wxWindow
*arg1
= (wxWindow
*) 0 ;
23251 PyObject
* obj0
= 0 ;
23252 char *kwnames
[] = {
23253 (char *) "self", NULL
23256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 Py_INCREF(Py_None
); resultobj
= Py_None
;
23273 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
;
23275 wxWindow
*arg1
= (wxWindow
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 PyObject
* obj1
= 0 ;
23280 char *kwnames
[] = {
23281 (char *) "self",(char *) "size", NULL
23284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23289 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 Py_INCREF(Py_None
); resultobj
= Py_None
;
23305 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxWindow
*arg1
= (wxWindow
*) 0 ;
23310 PyObject
* obj0
= 0 ;
23311 PyObject
* obj1
= 0 ;
23312 PyObject
* obj2
= 0 ;
23313 char *kwnames
[] = {
23314 (char *) "self",(char *) "width",(char *) "height", NULL
23317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23320 arg2
= (int)SWIG_As_int(obj1
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23322 arg3
= (int)SWIG_As_int(obj2
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 (arg1
)->SetClientSize(arg2
,arg3
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 Py_INCREF(Py_None
); resultobj
= Py_None
;
23338 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxWindow
*arg1
= (wxWindow
*) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self",(char *) "rect", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23354 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 Py_INCREF(Py_None
); resultobj
= Py_None
;
23370 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
;
23372 wxWindow
*arg1
= (wxWindow
*) 0 ;
23374 PyObject
* obj0
= 0 ;
23375 char *kwnames
[] = {
23376 (char *) "self", NULL
23379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 result
= (arg1
)->GetPosition();
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23390 wxPoint
* resultptr
;
23391 resultptr
= new wxPoint((wxPoint
&) result
);
23392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23400 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
;
23402 wxWindow
*arg1
= (wxWindow
*) 0 ;
23403 int *arg2
= (int *) 0 ;
23404 int *arg3
= (int *) 0 ;
23409 PyObject
* obj0
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self", NULL
23414 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23415 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 (arg1
)->GetPosition(arg2
,arg3
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 Py_INCREF(Py_None
); resultobj
= Py_None
;
23427 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23428 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23429 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23430 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23437 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxWindow
*arg1
= (wxWindow
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 result
= ((wxWindow
const *)arg1
)->GetSize();
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23457 wxSize
* resultptr
;
23458 resultptr
= new wxSize((wxSize
&) result
);
23459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23467 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxWindow
*arg1
= (wxWindow
*) 0 ;
23470 int *arg2
= (int *) 0 ;
23471 int *arg3
= (int *) 0 ;
23476 PyObject
* obj0
= 0 ;
23477 char *kwnames
[] = {
23478 (char *) "self", NULL
23481 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23482 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 Py_INCREF(Py_None
); resultobj
= Py_None
;
23494 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23495 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23496 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23497 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23504 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23506 wxWindow
*arg1
= (wxWindow
*) 0 ;
23508 PyObject
* obj0
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= ((wxWindow
const *)arg1
)->GetRect();
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23524 wxRect
* resultptr
;
23525 resultptr
= new wxRect((wxRect
&) result
);
23526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23534 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxWindow
*arg1
= (wxWindow
*) 0 ;
23538 PyObject
* obj0
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "self", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23554 wxSize
* resultptr
;
23555 resultptr
= new wxSize((wxSize
&) result
);
23556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23564 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
;
23566 wxWindow
*arg1
= (wxWindow
*) 0 ;
23567 int *arg2
= (int *) 0 ;
23568 int *arg3
= (int *) 0 ;
23573 PyObject
* obj0
= 0 ;
23574 char *kwnames
[] = {
23575 (char *) "self", NULL
23578 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23579 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23590 Py_INCREF(Py_None
); resultobj
= Py_None
;
23591 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23592 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23593 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23594 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23601 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxWindow
*arg1
= (wxWindow
*) 0 ;
23605 PyObject
* obj0
= 0 ;
23606 char *kwnames
[] = {
23607 (char *) "self", NULL
23610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23621 wxPoint
* resultptr
;
23622 resultptr
= new wxPoint((wxPoint
&) result
);
23623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23631 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23633 wxWindow
*arg1
= (wxWindow
*) 0 ;
23635 PyObject
* obj0
= 0 ;
23636 char *kwnames
[] = {
23637 (char *) "self", NULL
23640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 wxRect
* resultptr
;
23652 resultptr
= new wxRect((wxRect
&) result
);
23653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23661 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxWindow
*arg1
= (wxWindow
*) 0 ;
23665 PyObject
* obj0
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23681 wxSize
* resultptr
;
23682 resultptr
= new wxSize((wxSize
&) result
);
23683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23691 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxWindow
*arg1
= (wxWindow
*) 0 ;
23694 int *arg2
= (int *) 0 ;
23695 int *arg3
= (int *) 0 ;
23700 PyObject
* obj0
= 0 ;
23701 char *kwnames
[] = {
23702 (char *) "self", NULL
23705 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23706 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 Py_INCREF(Py_None
); resultobj
= Py_None
;
23718 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23719 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23720 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23721 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23728 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxWindow
*arg1
= (wxWindow
*) 0 ;
23731 PyObject
* obj0
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 (arg1
)->InvalidateBestSize();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 Py_INCREF(Py_None
); resultobj
= Py_None
;
23753 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxWindow
*arg1
= (wxWindow
*) 0 ;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23773 wxSize
* resultptr
;
23774 resultptr
= new wxSize((wxSize
&) result
);
23775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23783 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxWindow
*arg1
= (wxWindow
*) 0 ;
23787 PyObject
* obj0
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23803 wxSize
* resultptr
;
23804 resultptr
= new wxSize((wxSize
&) result
);
23805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23813 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxWindow
*arg1
= (wxWindow
*) 0 ;
23816 int arg2
= (int) wxBOTH
;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self",(char *) "direction", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23827 arg2
= (int)SWIG_As_int(obj1
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 (arg1
)->Center(arg2
);
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 Py_INCREF(Py_None
); resultobj
= Py_None
;
23844 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxWindow
*arg1
= (wxWindow
*) 0 ;
23847 int arg2
= (int) wxBOTH
;
23848 PyObject
* obj0
= 0 ;
23849 PyObject
* obj1
= 0 ;
23850 char *kwnames
[] = {
23851 (char *) "self",(char *) "dir", NULL
23854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23858 arg2
= (int)SWIG_As_int(obj1
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 (arg1
)->CenterOnScreen(arg2
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 Py_INCREF(Py_None
); resultobj
= Py_None
;
23875 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxWindow
*arg1
= (wxWindow
*) 0 ;
23878 int arg2
= (int) wxBOTH
;
23879 PyObject
* obj0
= 0 ;
23880 PyObject
* obj1
= 0 ;
23881 char *kwnames
[] = {
23882 (char *) "self",(char *) "dir", NULL
23885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23889 arg2
= (int)SWIG_As_int(obj1
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 (arg1
)->CenterOnParent(arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 Py_INCREF(Py_None
); resultobj
= Py_None
;
23906 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxWindow
*arg1
= (wxWindow
*) 0 ;
23909 PyObject
* obj0
= 0 ;
23910 char *kwnames
[] = {
23911 (char *) "self", NULL
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 Py_INCREF(Py_None
); resultobj
= Py_None
;
23931 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxWindow
*arg1
= (wxWindow
*) 0 ;
23934 PyObject
* obj0
= 0 ;
23935 char *kwnames
[] = {
23936 (char *) "self", NULL
23939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 (arg1
)->FitInside();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 Py_INCREF(Py_None
); resultobj
= Py_None
;
23956 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxWindow
*arg1
= (wxWindow
*) 0 ;
23961 int arg4
= (int) -1 ;
23962 int arg5
= (int) -1 ;
23963 int arg6
= (int) -1 ;
23964 int arg7
= (int) -1 ;
23965 PyObject
* obj0
= 0 ;
23966 PyObject
* obj1
= 0 ;
23967 PyObject
* obj2
= 0 ;
23968 PyObject
* obj3
= 0 ;
23969 PyObject
* obj4
= 0 ;
23970 PyObject
* obj5
= 0 ;
23971 PyObject
* obj6
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23979 arg2
= (int)SWIG_As_int(obj1
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23981 arg3
= (int)SWIG_As_int(obj2
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 arg4
= (int)SWIG_As_int(obj3
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23988 arg5
= (int)SWIG_As_int(obj4
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23992 arg6
= (int)SWIG_As_int(obj5
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 arg7
= (int)SWIG_As_int(obj6
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 Py_INCREF(Py_None
); resultobj
= Py_None
;
24013 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
;
24015 wxWindow
*arg1
= (wxWindow
*) 0 ;
24017 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24018 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24019 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24020 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24024 PyObject
* obj0
= 0 ;
24025 PyObject
* obj1
= 0 ;
24026 PyObject
* obj2
= 0 ;
24027 PyObject
* obj3
= 0 ;
24028 char *kwnames
[] = {
24029 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24037 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24042 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24048 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 Py_INCREF(Py_None
); resultobj
= Py_None
;
24065 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxWindow
*arg1
= (wxWindow
*) 0 ;
24070 int arg4
= (int) -1 ;
24071 int arg5
= (int) -1 ;
24072 PyObject
* obj0
= 0 ;
24073 PyObject
* obj1
= 0 ;
24074 PyObject
* obj2
= 0 ;
24075 PyObject
* obj3
= 0 ;
24076 PyObject
* obj4
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24084 arg2
= (int)SWIG_As_int(obj1
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24086 arg3
= (int)SWIG_As_int(obj2
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 arg4
= (int)SWIG_As_int(obj3
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24093 arg5
= (int)SWIG_As_int(obj4
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24103 Py_INCREF(Py_None
); resultobj
= Py_None
;
24110 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24111 PyObject
*resultobj
;
24112 wxWindow
*arg1
= (wxWindow
*) 0 ;
24114 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24115 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24118 PyObject
* obj0
= 0 ;
24119 PyObject
* obj1
= 0 ;
24120 PyObject
* obj2
= 0 ;
24121 char *kwnames
[] = {
24122 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24130 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24135 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 Py_INCREF(Py_None
); resultobj
= Py_None
;
24152 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24154 wxWindow
*arg1
= (wxWindow
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 char *kwnames
[] = {
24158 (char *) "self", NULL
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24172 wxSize
* resultptr
;
24173 resultptr
= new wxSize((wxSize
&) result
);
24174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24182 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxWindow
*arg1
= (wxWindow
*) 0 ;
24186 PyObject
* obj0
= 0 ;
24187 char *kwnames
[] = {
24188 (char *) "self", NULL
24191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
24192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 result
= ((wxWindow
const *)arg1
)->GetMinSize();
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24202 wxSize
* resultptr
;
24203 resultptr
= new wxSize((wxSize
&) result
);
24204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24212 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24214 wxWindow
*arg1
= (wxWindow
*) 0 ;
24217 PyObject
* obj0
= 0 ;
24218 PyObject
* obj1
= 0 ;
24219 char *kwnames
[] = {
24220 (char *) "self",(char *) "minSize", NULL
24223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 Py_INCREF(Py_None
); resultobj
= Py_None
;
24244 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxWindow
*arg1
= (wxWindow
*) 0 ;
24249 PyObject
* obj0
= 0 ;
24250 PyObject
* obj1
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self",(char *) "maxSize", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxWindow
*arg1
= (wxWindow
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= SWIG_From_int((int)result
);
24302 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxWindow
*arg1
= (wxWindow
*) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "self", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= SWIG_From_int((int)result
);
24328 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxWindow
*arg1
= (wxWindow
*) 0 ;
24332 PyObject
* obj0
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24347 resultobj
= SWIG_From_int((int)result
);
24354 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
;
24356 wxWindow
*arg1
= (wxWindow
*) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 char *kwnames
[] = {
24360 (char *) "self", NULL
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= SWIG_From_int((int)result
);
24380 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxWindow
*arg1
= (wxWindow
*) 0 ;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self",(char *) "size", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 Py_INCREF(Py_None
); resultobj
= Py_None
;
24412 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxWindow
*arg1
= (wxWindow
*) 0 ;
24417 PyObject
* obj0
= 0 ;
24418 PyObject
* obj1
= 0 ;
24419 PyObject
* obj2
= 0 ;
24420 char *kwnames
[] = {
24421 (char *) "self",(char *) "w",(char *) "h", NULL
24424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24427 arg2
= (int)SWIG_As_int(obj1
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24429 arg3
= (int)SWIG_As_int(obj2
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 (arg1
)->SetVirtualSize(arg2
,arg3
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 Py_INCREF(Py_None
); resultobj
= Py_None
;
24445 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxWindow
*arg1
= (wxWindow
*) 0 ;
24449 PyObject
* obj0
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24465 wxSize
* resultptr
;
24466 resultptr
= new wxSize((wxSize
&) result
);
24467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24475 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 wxWindow
*arg1
= (wxWindow
*) 0 ;
24478 int *arg2
= (int *) 0 ;
24479 int *arg3
= (int *) 0 ;
24484 PyObject
* obj0
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self", NULL
24489 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24490 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 Py_INCREF(Py_None
); resultobj
= Py_None
;
24502 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24503 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24504 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24505 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24512 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
;
24514 wxWindow
*arg1
= (wxWindow
*) 0 ;
24516 PyObject
* obj0
= 0 ;
24517 char *kwnames
[] = {
24518 (char *) "self", NULL
24521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 wxSize
* resultptr
;
24533 resultptr
= new wxSize((wxSize
&) result
);
24534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24542 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
;
24544 wxWindow
*arg1
= (wxWindow
*) 0 ;
24545 bool arg2
= (bool) true ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self",(char *) "show", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24557 arg2
= (bool)SWIG_As_bool(obj1
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (bool)(arg1
)->Show(arg2
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24576 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxWindow
*arg1
= (wxWindow
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (bool)(arg1
)->Hide();
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24604 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
;
24606 wxWindow
*arg1
= (wxWindow
*) 0 ;
24607 bool arg2
= (bool) true ;
24609 PyObject
* obj0
= 0 ;
24610 PyObject
* obj1
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self",(char *) "enable", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 arg2
= (bool)SWIG_As_bool(obj1
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 result
= (bool)(arg1
)->Enable(arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24638 static PyObject
*_wrap_Window_Disable(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_Disable",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
= (bool)(arg1
)->Disable();
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24666 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
;
24668 wxWindow
*arg1
= (wxWindow
*) 0 ;
24670 PyObject
* obj0
= 0 ;
24671 char *kwnames
[] = {
24672 (char *) "self", NULL
24675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24694 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
;
24696 wxWindow
*arg1
= (wxWindow
*) 0 ;
24698 PyObject
* obj0
= 0 ;
24699 char *kwnames
[] = {
24700 (char *) "self", NULL
24703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24722 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxWindow
*arg1
= (wxWindow
*) 0 ;
24726 PyObject
* obj0
= 0 ;
24727 PyObject
* obj1
= 0 ;
24728 char *kwnames
[] = {
24729 (char *) "self",(char *) "style", NULL
24732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24735 arg2
= (long)SWIG_As_long(obj1
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 (arg1
)->SetWindowStyleFlag(arg2
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 Py_INCREF(Py_None
); resultobj
= Py_None
;
24751 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
;
24753 wxWindow
*arg1
= (wxWindow
*) 0 ;
24755 PyObject
* obj0
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",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 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= SWIG_From_long((long)result
);
24777 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxWindow
*arg1
= (wxWindow
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self",(char *) "flag", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 arg2
= (int)SWIG_As_int(obj1
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24809 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxWindow
*arg1
= (wxWindow
*) 0 ;
24813 PyObject
* obj0
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "self", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24837 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
;
24839 wxWindow
*arg1
= (wxWindow
*) 0 ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self",(char *) "exStyle", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24850 arg2
= (long)SWIG_As_long(obj1
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 (arg1
)->SetExtraStyle(arg2
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24859 Py_INCREF(Py_None
); resultobj
= Py_None
;
24866 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24867 PyObject
*resultobj
;
24868 wxWindow
*arg1
= (wxWindow
*) 0 ;
24870 PyObject
* obj0
= 0 ;
24871 char *kwnames
[] = {
24872 (char *) "self", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= SWIG_From_long((long)result
);
24892 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
;
24894 wxWindow
*arg1
= (wxWindow
*) 0 ;
24895 bool arg2
= (bool) true ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self",(char *) "modal", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 arg2
= (bool)SWIG_As_bool(obj1
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 (arg1
)->MakeModal(arg2
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 Py_INCREF(Py_None
); resultobj
= Py_None
;
24923 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxWindow
*arg1
= (wxWindow
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 PyObject
* obj1
= 0 ;
24929 char *kwnames
[] = {
24930 (char *) "self",(char *) "enableTheme", NULL
24933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24936 arg2
= (bool)SWIG_As_bool(obj1
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 (arg1
)->SetThemeEnabled(arg2
);
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 Py_INCREF(Py_None
); resultobj
= Py_None
;
24952 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
;
24954 wxWindow
*arg1
= (wxWindow
*) 0 ;
24956 PyObject
* obj0
= 0 ;
24957 char *kwnames
[] = {
24958 (char *) "self", NULL
24961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24980 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
;
24982 wxWindow
*arg1
= (wxWindow
*) 0 ;
24983 PyObject
* obj0
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 (arg1
)->SetFocus();
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 Py_INCREF(Py_None
); resultobj
= Py_None
;
25005 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxWindow
*arg1
= (wxWindow
*) 0 ;
25008 PyObject
* obj0
= 0 ;
25009 char *kwnames
[] = {
25010 (char *) "self", NULL
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
25014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->SetFocusFromKbd();
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 Py_INCREF(Py_None
); resultobj
= Py_None
;
25030 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25033 char *kwnames
[] = {
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
25039 if (!wxPyCheckForApp()) SWIG_fail
;
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= (wxWindow
*)wxWindow::FindFocus();
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25047 resultobj
= wxPyMake_wxObject(result
, 0);
25055 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
;
25057 wxWindow
*arg1
= (wxWindow
*) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25083 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
;
25085 wxWindow
*arg1
= (wxWindow
*) 0 ;
25087 PyObject
* obj0
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25111 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
;
25113 wxWindow
*arg1
= (wxWindow
*) 0 ;
25115 PyObject
* obj0
= 0 ;
25116 char *kwnames
[] = {
25117 (char *) "self", NULL
25120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
25121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= wxPyMake_wxObject(result
, 0);
25139 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
;
25141 wxWindow
*arg1
= (wxWindow
*) 0 ;
25142 wxWindow
*arg2
= (wxWindow
*) 0 ;
25144 PyObject
* obj0
= 0 ;
25145 PyObject
* obj1
= 0 ;
25146 char *kwnames
[] = {
25147 (char *) "self",(char *) "child", NULL
25150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= wxPyMake_wxObject(result
, 0);
25171 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
;
25173 wxWindow
*arg1
= (wxWindow
*) 0 ;
25174 wxWindow
*arg2
= (wxWindow
*) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "self",(char *) "win", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 (arg1
)->SetTmpDefaultItem(arg2
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 Py_INCREF(Py_None
); resultobj
= Py_None
;
25200 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
;
25202 wxWindow
*arg1
= (wxWindow
*) 0 ;
25203 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self",(char *) "flags", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25215 arg2
= (int)SWIG_As_int(obj1
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (bool)(arg1
)->Navigate(arg2
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25234 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
;
25236 wxWindow
*arg1
= (wxWindow
*) 0 ;
25237 wxWindow
*arg2
= (wxWindow
*) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 char *kwnames
[] = {
25241 (char *) "self",(char *) "win", NULL
25244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 (arg1
)->MoveAfterInTabOrder(arg2
);
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 Py_INCREF(Py_None
); resultobj
= Py_None
;
25263 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25264 PyObject
*resultobj
;
25265 wxWindow
*arg1
= (wxWindow
*) 0 ;
25266 wxWindow
*arg2
= (wxWindow
*) 0 ;
25267 PyObject
* obj0
= 0 ;
25268 PyObject
* obj1
= 0 ;
25269 char *kwnames
[] = {
25270 (char *) "self",(char *) "win", NULL
25273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 (arg1
)->MoveBeforeInTabOrder(arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 Py_INCREF(Py_None
); resultobj
= Py_None
;
25292 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxWindow
*arg1
= (wxWindow
*) 0 ;
25296 PyObject
* obj0
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25308 wxPyEndAllowThreads(__tstate
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25311 resultobj
= result
;
25318 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25319 PyObject
*resultobj
;
25320 wxWindow
*arg1
= (wxWindow
*) 0 ;
25322 PyObject
* obj0
= 0 ;
25323 char *kwnames
[] = {
25324 (char *) "self", NULL
25327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= wxPyMake_wxObject(result
, 0);
25346 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxWindow
*arg1
= (wxWindow
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 char *kwnames
[] = {
25352 (char *) "self", NULL
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= wxPyMake_wxObject(result
, 0);
25374 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25375 PyObject
*resultobj
;
25376 wxWindow
*arg1
= (wxWindow
*) 0 ;
25378 PyObject
* obj0
= 0 ;
25379 char *kwnames
[] = {
25380 (char *) "self", NULL
25383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25402 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxWindow
*arg1
= (wxWindow
*) 0 ;
25405 wxWindow
*arg2
= (wxWindow
*) 0 ;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 char *kwnames
[] = {
25410 (char *) "self",(char *) "newParent", NULL
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (bool)(arg1
)->Reparent(arg2
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25434 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxWindow
*arg1
= (wxWindow
*) 0 ;
25437 wxWindow
*arg2
= (wxWindow
*) 0 ;
25438 PyObject
* obj0
= 0 ;
25439 PyObject
* obj1
= 0 ;
25440 char *kwnames
[] = {
25441 (char *) "self",(char *) "child", NULL
25444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 (arg1
)->AddChild(arg2
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 Py_INCREF(Py_None
); resultobj
= Py_None
;
25463 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxWindow
*arg1
= (wxWindow
*) 0 ;
25466 wxWindow
*arg2
= (wxWindow
*) 0 ;
25467 PyObject
* obj0
= 0 ;
25468 PyObject
* obj1
= 0 ;
25469 char *kwnames
[] = {
25470 (char *) "self",(char *) "child", NULL
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 (arg1
)->RemoveChild(arg2
);
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 Py_INCREF(Py_None
); resultobj
= Py_None
;
25492 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
;
25494 wxWindow
*arg1
= (wxWindow
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj1
= 0 ;
25499 char *kwnames
[] = {
25500 (char *) "self",(char *) "winid", NULL
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25506 arg2
= (long)SWIG_As_long(obj1
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= wxPyMake_wxObject(result
, 0);
25524 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
;
25526 wxWindow
*arg1
= (wxWindow
*) 0 ;
25527 wxString
*arg2
= 0 ;
25529 bool temp2
= false ;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 char *kwnames
[] = {
25533 (char *) "self",(char *) "name", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25540 arg2
= wxString_in_helper(obj1
);
25541 if (arg2
== NULL
) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= wxPyMake_wxObject(result
, 0);
25568 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
;
25570 wxWindow
*arg1
= (wxWindow
*) 0 ;
25571 wxEvtHandler
*result
;
25572 PyObject
* obj0
= 0 ;
25573 char *kwnames
[] = {
25574 (char *) "self", NULL
25577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= wxPyMake_wxObject(result
, 0);
25596 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxWindow
*arg1
= (wxWindow
*) 0 ;
25599 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 PyObject
* obj1
= 0 ;
25602 char *kwnames
[] = {
25603 (char *) "self",(char *) "handler", NULL
25606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 (arg1
)->SetEventHandler(arg2
);
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25618 Py_INCREF(Py_None
); resultobj
= Py_None
;
25625 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxWindow
*arg1
= (wxWindow
*) 0 ;
25628 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25629 PyObject
* obj0
= 0 ;
25630 PyObject
* obj1
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "self",(char *) "handler", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 (arg1
)->PushEventHandler(arg2
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 Py_INCREF(Py_None
); resultobj
= Py_None
;
25654 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25655 PyObject
*resultobj
;
25656 wxWindow
*arg1
= (wxWindow
*) 0 ;
25657 bool arg2
= (bool) false ;
25658 wxEvtHandler
*result
;
25659 PyObject
* obj0
= 0 ;
25660 PyObject
* obj1
= 0 ;
25661 char *kwnames
[] = {
25662 (char *) "self",(char *) "deleteHandler", NULL
25665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25669 arg2
= (bool)SWIG_As_bool(obj1
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= wxPyMake_wxObject(result
, 0);
25688 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
;
25690 wxWindow
*arg1
= (wxWindow
*) 0 ;
25691 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25693 PyObject
* obj0
= 0 ;
25694 PyObject
* obj1
= 0 ;
25695 char *kwnames
[] = {
25696 (char *) "self",(char *) "handler", NULL
25699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25720 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
;
25722 wxWindow
*arg1
= (wxWindow
*) 0 ;
25723 wxValidator
*arg2
= 0 ;
25724 PyObject
* obj0
= 0 ;
25725 PyObject
* obj1
= 0 ;
25726 char *kwnames
[] = {
25727 (char *) "self",(char *) "validator", NULL
25730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25736 if (arg2
== NULL
) {
25737 PyErr_SetString(PyExc_TypeError
,"null reference");
25741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25742 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25747 Py_INCREF(Py_None
); resultobj
= Py_None
;
25754 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25755 PyObject
*resultobj
;
25756 wxWindow
*arg1
= (wxWindow
*) 0 ;
25757 wxValidator
*result
;
25758 PyObject
* obj0
= 0 ;
25759 char *kwnames
[] = {
25760 (char *) "self", NULL
25763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= (wxValidator
*)(arg1
)->GetValidator();
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= wxPyMake_wxObject(result
, 0);
25782 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25783 PyObject
*resultobj
;
25784 wxWindow
*arg1
= (wxWindow
*) 0 ;
25786 PyObject
* obj0
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "self", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= (bool)(arg1
)->Validate();
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25810 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
;
25812 wxWindow
*arg1
= (wxWindow
*) 0 ;
25814 PyObject
* obj0
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= (bool)(arg1
)->TransferDataToWindow();
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25838 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxWindow
*arg1
= (wxWindow
*) 0 ;
25842 PyObject
* obj0
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 result
= (bool)(arg1
)->TransferDataFromWindow();
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25866 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25868 wxWindow
*arg1
= (wxWindow
*) 0 ;
25869 PyObject
* obj0
= 0 ;
25870 char *kwnames
[] = {
25871 (char *) "self", NULL
25874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 (arg1
)->InitDialog();
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 Py_INCREF(Py_None
); resultobj
= Py_None
;
25891 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxWindow
*arg1
= (wxWindow
*) 0 ;
25894 wxAcceleratorTable
*arg2
= 0 ;
25895 PyObject
* obj0
= 0 ;
25896 PyObject
* obj1
= 0 ;
25897 char *kwnames
[] = {
25898 (char *) "self",(char *) "accel", NULL
25901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25907 if (arg2
== NULL
) {
25908 PyErr_SetString(PyExc_TypeError
,"null reference");
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25918 Py_INCREF(Py_None
); resultobj
= Py_None
;
25925 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxWindow
*arg1
= (wxWindow
*) 0 ;
25928 wxAcceleratorTable
*result
;
25929 PyObject
* obj0
= 0 ;
25930 char *kwnames
[] = {
25931 (char *) "self", NULL
25934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25951 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
;
25953 wxWindow
*arg1
= (wxWindow
*) 0 ;
25958 PyObject
* obj0
= 0 ;
25959 PyObject
* obj1
= 0 ;
25960 PyObject
* obj2
= 0 ;
25961 PyObject
* obj3
= 0 ;
25962 char *kwnames
[] = {
25963 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25969 arg2
= (int)SWIG_As_int(obj1
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25971 arg3
= (int)SWIG_As_int(obj2
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25973 arg4
= (int)SWIG_As_int(obj3
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25991 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxWindow
*arg1
= (wxWindow
*) 0 ;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self",(char *) "hotkeyId", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
26003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26005 arg2
= (int)SWIG_As_int(obj1
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26023 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxWindow
*arg1
= (wxWindow
*) 0 ;
26026 wxPoint
*arg2
= 0 ;
26029 PyObject
* obj0
= 0 ;
26030 PyObject
* obj1
= 0 ;
26031 char *kwnames
[] = {
26032 (char *) "self",(char *) "pt", NULL
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
26036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26050 wxPoint
* resultptr
;
26051 resultptr
= new wxPoint((wxPoint
&) result
);
26052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26060 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxWindow
*arg1
= (wxWindow
*) 0 ;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 char *kwnames
[] = {
26069 (char *) "self",(char *) "sz", NULL
26072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
26073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26077 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26081 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26087 wxSize
* resultptr
;
26088 resultptr
= new wxSize((wxSize
&) result
);
26089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26097 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
;
26099 wxWindow
*arg1
= (wxWindow
*) 0 ;
26100 wxPoint
*arg2
= 0 ;
26103 PyObject
* obj0
= 0 ;
26104 PyObject
* obj1
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self",(char *) "pt", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
26110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26124 wxPoint
* resultptr
;
26125 resultptr
= new wxPoint((wxPoint
&) result
);
26126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26134 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxWindow
*arg1
= (wxWindow
*) 0 ;
26140 PyObject
* obj0
= 0 ;
26141 PyObject
* obj1
= 0 ;
26142 char *kwnames
[] = {
26143 (char *) "self",(char *) "sz", NULL
26146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
26147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26151 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26161 wxSize
* resultptr
;
26162 resultptr
= new wxSize((wxSize
&) result
);
26163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26171 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
;
26173 wxWindow
*arg1
= (wxWindow
*) 0 ;
26174 wxPoint
*arg2
= 0 ;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 char *kwnames
[] = {
26180 (char *) "self",(char *) "pt", NULL
26183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26192 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26198 wxPoint
* resultptr
;
26199 resultptr
= new wxPoint((wxPoint
&) result
);
26200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26208 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxWindow
*arg1
= (wxWindow
*) 0 ;
26214 PyObject
* obj0
= 0 ;
26215 PyObject
* obj1
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self",(char *) "sz", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26235 wxSize
* resultptr
;
26236 resultptr
= new wxSize((wxSize
&) result
);
26237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26245 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
;
26247 wxWindow
*arg1
= (wxWindow
*) 0 ;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 PyObject
* obj2
= 0 ;
26253 char *kwnames
[] = {
26254 (char *) "self",(char *) "x",(char *) "y", NULL
26257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26260 arg2
= (int)SWIG_As_int(obj1
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26262 arg3
= (int)SWIG_As_int(obj2
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 (arg1
)->WarpPointer(arg2
,arg3
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 Py_INCREF(Py_None
); resultobj
= Py_None
;
26278 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 wxWindow
*arg1
= (wxWindow
*) 0 ;
26281 PyObject
* obj0
= 0 ;
26282 char *kwnames
[] = {
26283 (char *) "self", NULL
26286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26291 (arg1
)->CaptureMouse();
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26296 Py_INCREF(Py_None
); resultobj
= Py_None
;
26303 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
;
26305 wxWindow
*arg1
= (wxWindow
*) 0 ;
26306 PyObject
* obj0
= 0 ;
26307 char *kwnames
[] = {
26308 (char *) "self", NULL
26311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 (arg1
)->ReleaseMouse();
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 Py_INCREF(Py_None
); resultobj
= Py_None
;
26328 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26331 char *kwnames
[] = {
26335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26337 if (!wxPyCheckForApp()) SWIG_fail
;
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 result
= (wxWindow
*)wxWindow::GetCapture();
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26345 resultobj
= wxPyMake_wxObject(result
, 0);
26353 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
;
26355 wxWindow
*arg1
= (wxWindow
*) 0 ;
26357 PyObject
* obj0
= 0 ;
26358 char *kwnames
[] = {
26359 (char *) "self", NULL
26362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26381 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxWindow
*arg1
= (wxWindow
*) 0 ;
26384 bool arg2
= (bool) true ;
26385 wxRect
*arg3
= (wxRect
*) NULL
;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 PyObject
* obj2
= 0 ;
26389 char *kwnames
[] = {
26390 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26397 arg2
= (bool)SWIG_As_bool(obj1
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26401 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 Py_INCREF(Py_None
); resultobj
= Py_None
;
26418 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26420 wxWindow
*arg1
= (wxWindow
*) 0 ;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 char *kwnames
[] = {
26426 (char *) "self",(char *) "rect", NULL
26429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26434 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 Py_INCREF(Py_None
); resultobj
= Py_None
;
26450 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26451 PyObject
*resultobj
;
26452 wxWindow
*arg1
= (wxWindow
*) 0 ;
26453 PyObject
* obj0
= 0 ;
26454 char *kwnames
[] = {
26455 (char *) "self", NULL
26458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 Py_INCREF(Py_None
); resultobj
= Py_None
;
26475 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
;
26477 wxWindow
*arg1
= (wxWindow
*) 0 ;
26478 PyObject
* obj0
= 0 ;
26479 char *kwnames
[] = {
26480 (char *) "self", NULL
26483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26488 (arg1
)->ClearBackground();
26490 wxPyEndAllowThreads(__tstate
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26493 Py_INCREF(Py_None
); resultobj
= Py_None
;
26500 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
;
26502 wxWindow
*arg1
= (wxWindow
*) 0 ;
26503 PyObject
* obj0
= 0 ;
26504 char *kwnames
[] = {
26505 (char *) "self", NULL
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 Py_INCREF(Py_None
); resultobj
= Py_None
;
26525 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
;
26527 wxWindow
*arg1
= (wxWindow
*) 0 ;
26528 PyObject
* obj0
= 0 ;
26529 char *kwnames
[] = {
26530 (char *) "self", NULL
26533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 wxPyEndAllowThreads(__tstate
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26543 Py_INCREF(Py_None
); resultobj
= Py_None
;
26550 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
;
26552 wxWindow
*arg1
= (wxWindow
*) 0 ;
26554 PyObject
* obj0
= 0 ;
26555 PyObject
* obj1
= 0 ;
26556 char *kwnames
[] = {
26557 (char *) "self",(char *) "dc", NULL
26560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26566 if (arg2
== NULL
) {
26567 PyErr_SetString(PyExc_TypeError
,"null reference");
26571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26572 (arg1
)->PrepareDC(*arg2
);
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 Py_INCREF(Py_None
); resultobj
= Py_None
;
26584 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26585 PyObject
*resultobj
;
26586 wxWindow
*arg1
= (wxWindow
*) 0 ;
26588 PyObject
* obj0
= 0 ;
26589 char *kwnames
[] = {
26590 (char *) "self", NULL
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26600 result
= (wxRegion
*) &_result_ref
;
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26613 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26614 PyObject
*resultobj
;
26615 wxWindow
*arg1
= (wxWindow
*) 0 ;
26617 PyObject
* obj0
= 0 ;
26618 char *kwnames
[] = {
26619 (char *) "self", NULL
26622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26633 wxRect
* resultptr
;
26634 resultptr
= new wxRect((wxRect
&) result
);
26635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26643 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
;
26645 wxWindow
*arg1
= (wxWindow
*) 0 ;
26648 int arg4
= (int) 1 ;
26649 int arg5
= (int) 1 ;
26651 PyObject
* obj0
= 0 ;
26652 PyObject
* obj1
= 0 ;
26653 PyObject
* obj2
= 0 ;
26654 PyObject
* obj3
= 0 ;
26655 PyObject
* obj4
= 0 ;
26656 char *kwnames
[] = {
26657 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26663 arg2
= (int)SWIG_As_int(obj1
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26665 arg3
= (int)SWIG_As_int(obj2
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 arg4
= (int)SWIG_As_int(obj3
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26672 arg5
= (int)SWIG_As_int(obj4
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26679 wxPyEndAllowThreads(__tstate
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26691 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
;
26693 wxWindow
*arg1
= (wxWindow
*) 0 ;
26694 wxPoint
*arg2
= 0 ;
26697 PyObject
* obj0
= 0 ;
26698 PyObject
* obj1
= 0 ;
26699 char *kwnames
[] = {
26700 (char *) "self",(char *) "pt", NULL
26703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26708 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26726 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26727 PyObject
*resultobj
;
26728 wxWindow
*arg1
= (wxWindow
*) 0 ;
26732 PyObject
* obj0
= 0 ;
26733 PyObject
* obj1
= 0 ;
26734 char *kwnames
[] = {
26735 (char *) "self",(char *) "rect", NULL
26738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26743 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26761 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26762 PyObject
*resultobj
;
26763 wxWindow
*arg1
= (wxWindow
*) 0 ;
26764 wxVisualAttributes result
;
26765 PyObject
* obj0
= 0 ;
26766 char *kwnames
[] = {
26767 (char *) "self", NULL
26770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26781 wxVisualAttributes
* resultptr
;
26782 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26791 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26792 PyObject
*resultobj
;
26793 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26794 wxVisualAttributes result
;
26795 PyObject
* obj0
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "variant", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26802 arg1
= (int)SWIG_As_int(obj0
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26806 if (!wxPyCheckForApp()) SWIG_fail
;
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26814 wxVisualAttributes
* resultptr
;
26815 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26824 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26825 PyObject
*resultobj
;
26826 wxWindow
*arg1
= (wxWindow
*) 0 ;
26827 wxColour
*arg2
= 0 ;
26830 PyObject
* obj0
= 0 ;
26831 PyObject
* obj1
= 0 ;
26832 char *kwnames
[] = {
26833 (char *) "self",(char *) "colour", NULL
26836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26841 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26859 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxWindow
*arg1
= (wxWindow
*) 0 ;
26862 wxColour
*arg2
= 0 ;
26864 PyObject
* obj0
= 0 ;
26865 PyObject
* obj1
= 0 ;
26866 char *kwnames
[] = {
26867 (char *) "self",(char *) "colour", NULL
26870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26875 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 Py_INCREF(Py_None
); resultobj
= Py_None
;
26891 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26892 PyObject
*resultobj
;
26893 wxWindow
*arg1
= (wxWindow
*) 0 ;
26894 wxColour
*arg2
= 0 ;
26897 PyObject
* obj0
= 0 ;
26898 PyObject
* obj1
= 0 ;
26899 char *kwnames
[] = {
26900 (char *) "self",(char *) "colour", NULL
26903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26908 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26926 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
;
26928 wxWindow
*arg1
= (wxWindow
*) 0 ;
26929 wxColour
*arg2
= 0 ;
26931 PyObject
* obj0
= 0 ;
26932 PyObject
* obj1
= 0 ;
26933 char *kwnames
[] = {
26934 (char *) "self",(char *) "colour", NULL
26937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26942 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 Py_INCREF(Py_None
); resultobj
= Py_None
;
26958 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
;
26960 wxWindow
*arg1
= (wxWindow
*) 0 ;
26962 PyObject
* obj0
= 0 ;
26963 char *kwnames
[] = {
26964 (char *) "self", NULL
26967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26974 wxPyEndAllowThreads(__tstate
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26978 wxColour
* resultptr
;
26979 resultptr
= new wxColour((wxColour
&) result
);
26980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26988 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26989 PyObject
*resultobj
;
26990 wxWindow
*arg1
= (wxWindow
*) 0 ;
26992 PyObject
* obj0
= 0 ;
26993 char *kwnames
[] = {
26994 (char *) "self", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27008 wxColour
* resultptr
;
27009 resultptr
= new wxColour((wxColour
&) result
);
27010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27018 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27019 PyObject
*resultobj
;
27020 wxWindow
*arg1
= (wxWindow
*) 0 ;
27023 PyObject
* obj0
= 0 ;
27024 PyObject
* obj1
= 0 ;
27025 char *kwnames
[] = {
27026 (char *) "self",(char *) "style", NULL
27029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27032 arg2
= (int)SWIG_As_int(obj1
);
27033 if (PyErr_Occurred()) SWIG_fail
;
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27050 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxWindow
*arg1
= (wxWindow
*) 0 ;
27054 PyObject
* obj0
= 0 ;
27055 char *kwnames
[] = {
27056 (char *) "self", NULL
27059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
27060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27064 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
27066 wxPyEndAllowThreads(__tstate
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27069 resultobj
= SWIG_From_int((int)result
);
27076 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
;
27078 wxWindow
*arg1
= (wxWindow
*) 0 ;
27079 wxCursor
*arg2
= 0 ;
27081 PyObject
* obj0
= 0 ;
27082 PyObject
* obj1
= 0 ;
27083 char *kwnames
[] = {
27084 (char *) "self",(char *) "cursor", NULL
27087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
27088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
27091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27093 if (arg2
== NULL
) {
27094 PyErr_SetString(PyExc_TypeError
,"null reference");
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27113 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxWindow
*arg1
= (wxWindow
*) 0 ;
27117 PyObject
* obj0
= 0 ;
27118 char *kwnames
[] = {
27119 (char *) "self", NULL
27122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
27123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= (arg1
)->GetCursor();
27129 wxPyEndAllowThreads(__tstate
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27133 wxCursor
* resultptr
;
27134 resultptr
= new wxCursor((wxCursor
&) result
);
27135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
27143 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxWindow
*arg1
= (wxWindow
*) 0 ;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "font", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27160 if (arg2
== NULL
) {
27161 PyErr_SetString(PyExc_TypeError
,"null reference");
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27180 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxWindow
*arg1
= (wxWindow
*) 0 ;
27184 PyObject
* obj0
= 0 ;
27185 PyObject
* obj1
= 0 ;
27186 char *kwnames
[] = {
27187 (char *) "self",(char *) "font", NULL
27190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27196 if (arg2
== NULL
) {
27197 PyErr_SetString(PyExc_TypeError
,"null reference");
27201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27202 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
27204 wxPyEndAllowThreads(__tstate
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27207 Py_INCREF(Py_None
); resultobj
= Py_None
;
27214 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
;
27216 wxWindow
*arg1
= (wxWindow
*) 0 ;
27218 PyObject
* obj0
= 0 ;
27219 char *kwnames
[] = {
27220 (char *) "self", NULL
27223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 result
= (arg1
)->GetFont();
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27234 wxFont
* resultptr
;
27235 resultptr
= new wxFont((wxFont
&) result
);
27236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27244 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
;
27246 wxWindow
*arg1
= (wxWindow
*) 0 ;
27247 wxCaret
*arg2
= (wxCaret
*) 0 ;
27248 PyObject
* obj0
= 0 ;
27249 PyObject
* obj1
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self",(char *) "caret", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 (arg1
)->SetCaret(arg2
);
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 Py_INCREF(Py_None
); resultobj
= Py_None
;
27273 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27274 PyObject
*resultobj
;
27275 wxWindow
*arg1
= (wxWindow
*) 0 ;
27277 PyObject
* obj0
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "self", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27299 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27300 PyObject
*resultobj
;
27301 wxWindow
*arg1
= (wxWindow
*) 0 ;
27303 PyObject
* obj0
= 0 ;
27304 char *kwnames
[] = {
27305 (char *) "self", NULL
27308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= SWIG_From_int((int)result
);
27325 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 wxWindow
*arg1
= (wxWindow
*) 0 ;
27329 PyObject
* obj0
= 0 ;
27330 char *kwnames
[] = {
27331 (char *) "self", NULL
27334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27344 resultobj
= SWIG_From_int((int)result
);
27351 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27352 PyObject
*resultobj
;
27353 wxWindow
*arg1
= (wxWindow
*) 0 ;
27354 wxString
*arg2
= 0 ;
27355 int *arg3
= (int *) 0 ;
27356 int *arg4
= (int *) 0 ;
27357 bool temp2
= false ;
27362 PyObject
* obj0
= 0 ;
27363 PyObject
* obj1
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self",(char *) "string", NULL
27368 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27369 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27374 arg2
= wxString_in_helper(obj1
);
27375 if (arg2
== NULL
) SWIG_fail
;
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 Py_INCREF(Py_None
); resultobj
= Py_None
;
27386 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27387 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27388 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27389 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27404 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27405 PyObject
*resultobj
;
27406 wxWindow
*arg1
= (wxWindow
*) 0 ;
27407 wxString
*arg2
= 0 ;
27408 int *arg3
= (int *) 0 ;
27409 int *arg4
= (int *) 0 ;
27410 int *arg5
= (int *) 0 ;
27411 int *arg6
= (int *) 0 ;
27412 wxFont
*arg7
= (wxFont
*) NULL
;
27413 bool temp2
= false ;
27422 PyObject
* obj0
= 0 ;
27423 PyObject
* obj1
= 0 ;
27424 PyObject
* obj2
= 0 ;
27425 char *kwnames
[] = {
27426 (char *) "self",(char *) "string",(char *) "font", NULL
27429 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27430 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27431 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27432 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27437 arg2
= wxString_in_helper(obj1
);
27438 if (arg2
== NULL
) SWIG_fail
;
27442 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27452 Py_INCREF(Py_None
); resultobj
= Py_None
;
27453 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27454 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27455 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27456 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27457 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27458 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27459 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27460 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27475 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27476 PyObject
*resultobj
;
27477 wxWindow
*arg1
= (wxWindow
*) 0 ;
27478 int *arg2
= (int *) 0 ;
27479 int *arg3
= (int *) 0 ;
27484 PyObject
* obj0
= 0 ;
27485 PyObject
* obj1
= 0 ;
27486 PyObject
* obj2
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self",(char *) "x",(char *) "y", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27495 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27496 temp2
= SWIG_As_int(obj1
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27499 res2
= SWIG_NEWOBJ
;
27503 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27504 temp3
= SWIG_As_int(obj2
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 res3
= SWIG_NEWOBJ
;
27511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27512 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27514 wxPyEndAllowThreads(__tstate
);
27515 if (PyErr_Occurred()) SWIG_fail
;
27517 Py_INCREF(Py_None
); resultobj
= Py_None
;
27518 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27519 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27520 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27521 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27528 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
;
27530 wxWindow
*arg1
= (wxWindow
*) 0 ;
27531 int *arg2
= (int *) 0 ;
27532 int *arg3
= (int *) 0 ;
27537 PyObject
* obj0
= 0 ;
27538 PyObject
* obj1
= 0 ;
27539 PyObject
* obj2
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self",(char *) "x",(char *) "y", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27548 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27549 temp2
= SWIG_As_int(obj1
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27552 res2
= SWIG_NEWOBJ
;
27556 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27557 temp3
= SWIG_As_int(obj2
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 res3
= SWIG_NEWOBJ
;
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 Py_INCREF(Py_None
); resultobj
= Py_None
;
27571 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27572 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27573 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27574 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27581 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxWindow
*arg1
= (wxWindow
*) 0 ;
27584 wxPoint
*arg2
= 0 ;
27587 PyObject
* obj0
= 0 ;
27588 PyObject
* obj1
= 0 ;
27589 char *kwnames
[] = {
27590 (char *) "self",(char *) "pt", NULL
27593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27608 wxPoint
* resultptr
;
27609 resultptr
= new wxPoint((wxPoint
&) result
);
27610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27618 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27619 PyObject
*resultobj
;
27620 wxWindow
*arg1
= (wxWindow
*) 0 ;
27621 wxPoint
*arg2
= 0 ;
27624 PyObject
* obj0
= 0 ;
27625 PyObject
* obj1
= 0 ;
27626 char *kwnames
[] = {
27627 (char *) "self",(char *) "pt", NULL
27630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27635 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27645 wxPoint
* resultptr
;
27646 resultptr
= new wxPoint((wxPoint
&) result
);
27647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27655 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
;
27657 wxWindow
*arg1
= (wxWindow
*) 0 ;
27661 PyObject
* obj0
= 0 ;
27662 PyObject
* obj1
= 0 ;
27663 PyObject
* obj2
= 0 ;
27664 char *kwnames
[] = {
27665 (char *) "self",(char *) "x",(char *) "y", NULL
27668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27671 arg2
= (int)SWIG_As_int(obj1
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27673 arg3
= (int)SWIG_As_int(obj2
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27677 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27679 wxPyEndAllowThreads(__tstate
);
27680 if (PyErr_Occurred()) SWIG_fail
;
27682 resultobj
= SWIG_From_int((int)result
);
27689 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27690 PyObject
*resultobj
;
27691 wxWindow
*arg1
= (wxWindow
*) 0 ;
27692 wxPoint
*arg2
= 0 ;
27695 PyObject
* obj0
= 0 ;
27696 PyObject
* obj1
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "self",(char *) "pt", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27706 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= SWIG_From_int((int)result
);
27722 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27723 PyObject
*resultobj
;
27724 wxWindow
*arg1
= (wxWindow
*) 0 ;
27727 PyObject
* obj0
= 0 ;
27728 PyObject
* obj1
= 0 ;
27730 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27733 arg2
= (long)SWIG_As_long(obj1
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27742 resultobj
= SWIG_From_int((int)result
);
27749 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27750 PyObject
*resultobj
;
27751 wxWindow
*arg1
= (wxWindow
*) 0 ;
27753 PyObject
* obj0
= 0 ;
27755 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27760 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27762 wxPyEndAllowThreads(__tstate
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27765 resultobj
= SWIG_From_int((int)result
);
27772 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27777 argc
= PyObject_Length(args
);
27778 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27779 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27785 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27793 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27800 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27808 _v
= SWIG_Check_long(argv
[1]);
27810 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27815 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27820 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27821 PyObject
*resultobj
;
27822 wxWindow
*arg1
= (wxWindow
*) 0 ;
27823 long arg2
= (long) wxUPDATE_UI_NONE
;
27824 PyObject
* obj0
= 0 ;
27825 PyObject
* obj1
= 0 ;
27826 char *kwnames
[] = {
27827 (char *) "self",(char *) "flags", NULL
27830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27834 arg2
= (long)SWIG_As_long(obj1
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 (arg1
)->UpdateWindowUI(arg2
);
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 Py_INCREF(Py_None
); resultobj
= Py_None
;
27851 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
;
27853 wxWindow
*arg1
= (wxWindow
*) 0 ;
27854 wxMenu
*arg2
= (wxMenu
*) 0 ;
27855 int arg3
= (int) -1 ;
27856 int arg4
= (int) -1 ;
27858 PyObject
* obj0
= 0 ;
27859 PyObject
* obj1
= 0 ;
27860 PyObject
* obj2
= 0 ;
27861 PyObject
* obj3
= 0 ;
27862 char *kwnames
[] = {
27863 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27872 arg3
= (int)SWIG_As_int(obj2
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27876 arg4
= (int)SWIG_As_int(obj3
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27881 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27883 wxPyEndAllowThreads(__tstate
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27895 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27896 PyObject
*resultobj
;
27897 wxWindow
*arg1
= (wxWindow
*) 0 ;
27898 wxMenu
*arg2
= (wxMenu
*) 0 ;
27899 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27900 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27903 PyObject
* obj0
= 0 ;
27904 PyObject
* obj1
= 0 ;
27905 PyObject
* obj2
= 0 ;
27906 char *kwnames
[] = {
27907 (char *) "self",(char *) "menu",(char *) "pos", NULL
27910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27918 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27937 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxWindow
*arg1
= (wxWindow
*) 0 ;
27941 PyObject
* obj0
= 0 ;
27942 char *kwnames
[] = {
27943 (char *) "self", NULL
27946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 result
= (long)wxWindow_GetHandle(arg1
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 resultobj
= SWIG_From_long((long)result
);
27963 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
;
27965 wxWindow
*arg1
= (wxWindow
*) 0 ;
27967 PyObject
* obj0
= 0 ;
27968 PyObject
* obj1
= 0 ;
27969 char *kwnames
[] = {
27970 (char *) "self",(char *) "handle", NULL
27973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27976 arg2
= (long)SWIG_As_long(obj1
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27980 wxWindow_AssociateHandle(arg1
,arg2
);
27982 wxPyEndAllowThreads(__tstate
);
27983 if (PyErr_Occurred()) SWIG_fail
;
27985 Py_INCREF(Py_None
); resultobj
= Py_None
;
27992 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27993 PyObject
*resultobj
;
27994 wxWindow
*arg1
= (wxWindow
*) 0 ;
27995 PyObject
* obj0
= 0 ;
27996 char *kwnames
[] = {
27997 (char *) "self", NULL
28000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
28001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28005 (arg1
)->DissociateHandle();
28007 wxPyEndAllowThreads(__tstate
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28010 Py_INCREF(Py_None
); resultobj
= Py_None
;
28017 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
;
28019 wxWindow
*arg1
= (wxWindow
*) 0 ;
28020 wxPaintEvent
*arg2
= 0 ;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 char *kwnames
[] = {
28024 (char *) "self",(char *) "event", NULL
28027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
28028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
28031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28033 if (arg2
== NULL
) {
28034 PyErr_SetString(PyExc_TypeError
,"null reference");
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 (arg1
)->OnPaint(*arg2
);
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28044 Py_INCREF(Py_None
); resultobj
= Py_None
;
28051 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
;
28053 wxWindow
*arg1
= (wxWindow
*) 0 ;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self",(char *) "orient", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
28063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28065 arg2
= (int)SWIG_As_int(obj1
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28083 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28084 PyObject
*resultobj
;
28085 wxWindow
*arg1
= (wxWindow
*) 0 ;
28090 bool arg6
= (bool) true ;
28091 PyObject
* obj0
= 0 ;
28092 PyObject
* obj1
= 0 ;
28093 PyObject
* obj2
= 0 ;
28094 PyObject
* obj3
= 0 ;
28095 PyObject
* obj4
= 0 ;
28096 PyObject
* obj5
= 0 ;
28097 char *kwnames
[] = {
28098 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
28101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28104 arg2
= (int)SWIG_As_int(obj1
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28106 arg3
= (int)SWIG_As_int(obj2
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28108 arg4
= (int)SWIG_As_int(obj3
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28110 arg5
= (int)SWIG_As_int(obj4
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 arg6
= (bool)SWIG_As_bool(obj5
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28118 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28123 Py_INCREF(Py_None
); resultobj
= Py_None
;
28130 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28131 PyObject
*resultobj
;
28132 wxWindow
*arg1
= (wxWindow
*) 0 ;
28135 bool arg4
= (bool) true ;
28136 PyObject
* obj0
= 0 ;
28137 PyObject
* obj1
= 0 ;
28138 PyObject
* obj2
= 0 ;
28139 PyObject
* obj3
= 0 ;
28140 char *kwnames
[] = {
28141 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
28144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28147 arg2
= (int)SWIG_As_int(obj1
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28149 arg3
= (int)SWIG_As_int(obj2
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 arg4
= (bool)SWIG_As_bool(obj3
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 Py_INCREF(Py_None
); resultobj
= Py_None
;
28169 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxWindow
*arg1
= (wxWindow
*) 0 ;
28174 PyObject
* obj0
= 0 ;
28175 PyObject
* obj1
= 0 ;
28176 char *kwnames
[] = {
28177 (char *) "self",(char *) "orientation", NULL
28180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
28181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28183 arg2
= (int)SWIG_As_int(obj1
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28187 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= SWIG_From_int((int)result
);
28199 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28200 PyObject
*resultobj
;
28201 wxWindow
*arg1
= (wxWindow
*) 0 ;
28204 PyObject
* obj0
= 0 ;
28205 PyObject
* obj1
= 0 ;
28206 char *kwnames
[] = {
28207 (char *) "self",(char *) "orientation", NULL
28210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
28211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28213 arg2
= (int)SWIG_As_int(obj1
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= SWIG_From_int((int)result
);
28229 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28230 PyObject
*resultobj
;
28231 wxWindow
*arg1
= (wxWindow
*) 0 ;
28234 PyObject
* obj0
= 0 ;
28235 PyObject
* obj1
= 0 ;
28236 char *kwnames
[] = {
28237 (char *) "self",(char *) "orientation", NULL
28240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28243 arg2
= (int)SWIG_As_int(obj1
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28247 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28249 wxPyEndAllowThreads(__tstate
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28252 resultobj
= SWIG_From_int((int)result
);
28259 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxWindow
*arg1
= (wxWindow
*) 0 ;
28264 wxRect
*arg4
= (wxRect
*) NULL
;
28265 PyObject
* obj0
= 0 ;
28266 PyObject
* obj1
= 0 ;
28267 PyObject
* obj2
= 0 ;
28268 PyObject
* obj3
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28276 arg2
= (int)SWIG_As_int(obj1
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28278 arg3
= (int)SWIG_As_int(obj2
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28281 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28291 Py_INCREF(Py_None
); resultobj
= Py_None
;
28298 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
;
28300 wxWindow
*arg1
= (wxWindow
*) 0 ;
28303 PyObject
* obj0
= 0 ;
28304 PyObject
* obj1
= 0 ;
28305 char *kwnames
[] = {
28306 (char *) "self",(char *) "lines", NULL
28309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28312 arg2
= (int)SWIG_As_int(obj1
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28316 result
= (bool)(arg1
)->ScrollLines(arg2
);
28318 wxPyEndAllowThreads(__tstate
);
28319 if (PyErr_Occurred()) SWIG_fail
;
28322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28330 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28331 PyObject
*resultobj
;
28332 wxWindow
*arg1
= (wxWindow
*) 0 ;
28335 PyObject
* obj0
= 0 ;
28336 PyObject
* obj1
= 0 ;
28337 char *kwnames
[] = {
28338 (char *) "self",(char *) "pages", NULL
28341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28344 arg2
= (int)SWIG_As_int(obj1
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28348 result
= (bool)(arg1
)->ScrollPages(arg2
);
28350 wxPyEndAllowThreads(__tstate
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28362 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
;
28364 wxWindow
*arg1
= (wxWindow
*) 0 ;
28366 PyObject
* obj0
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "self", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 result
= (bool)(arg1
)->LineUp();
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28390 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
;
28392 wxWindow
*arg1
= (wxWindow
*) 0 ;
28394 PyObject
* obj0
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28404 result
= (bool)(arg1
)->LineDown();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28418 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28420 wxWindow
*arg1
= (wxWindow
*) 0 ;
28422 PyObject
* obj0
= 0 ;
28423 char *kwnames
[] = {
28424 (char *) "self", NULL
28427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 result
= (bool)(arg1
)->PageUp();
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28446 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
;
28448 wxWindow
*arg1
= (wxWindow
*) 0 ;
28450 PyObject
* obj0
= 0 ;
28451 char *kwnames
[] = {
28452 (char *) "self", NULL
28455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 result
= (bool)(arg1
)->PageDown();
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28474 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
;
28476 wxWindow
*arg1
= (wxWindow
*) 0 ;
28477 wxString
*arg2
= 0 ;
28478 bool temp2
= false ;
28479 PyObject
* obj0
= 0 ;
28480 PyObject
* obj1
= 0 ;
28481 char *kwnames
[] = {
28482 (char *) "self",(char *) "text", NULL
28485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28489 arg2
= wxString_in_helper(obj1
);
28490 if (arg2
== NULL
) SWIG_fail
;
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28495 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28500 Py_INCREF(Py_None
); resultobj
= Py_None
;
28515 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
;
28517 wxWindow
*arg1
= (wxWindow
*) 0 ;
28518 wxString
*arg2
= 0 ;
28519 bool temp2
= false ;
28520 PyObject
* obj0
= 0 ;
28521 PyObject
* obj1
= 0 ;
28522 char *kwnames
[] = {
28523 (char *) "self",(char *) "text", NULL
28526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28530 arg2
= wxString_in_helper(obj1
);
28531 if (arg2
== NULL
) SWIG_fail
;
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28536 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28538 wxPyEndAllowThreads(__tstate
);
28539 if (PyErr_Occurred()) SWIG_fail
;
28541 Py_INCREF(Py_None
); resultobj
= Py_None
;
28556 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
;
28558 wxWindow
*arg1
= (wxWindow
*) 0 ;
28560 PyObject
* obj0
= 0 ;
28561 char *kwnames
[] = {
28562 (char *) "self", NULL
28565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28570 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28588 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28589 PyObject
*resultobj
;
28590 wxWindow
*arg1
= (wxWindow
*) 0 ;
28591 wxString
*arg2
= 0 ;
28592 bool temp2
= false ;
28593 PyObject
* obj0
= 0 ;
28594 PyObject
* obj1
= 0 ;
28595 char *kwnames
[] = {
28596 (char *) "self",(char *) "tip", NULL
28599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28603 arg2
= wxString_in_helper(obj1
);
28604 if (arg2
== NULL
) SWIG_fail
;
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28614 Py_INCREF(Py_None
); resultobj
= Py_None
;
28629 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28630 PyObject
*resultobj
;
28631 wxWindow
*arg1
= (wxWindow
*) 0 ;
28632 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28633 PyObject
* obj0
= 0 ;
28634 PyObject
* obj1
= 0 ;
28635 char *kwnames
[] = {
28636 (char *) "self",(char *) "tip", NULL
28639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28646 (arg1
)->SetToolTip(arg2
);
28648 wxPyEndAllowThreads(__tstate
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28651 Py_INCREF(Py_None
); resultobj
= Py_None
;
28658 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28659 PyObject
*resultobj
;
28660 wxWindow
*arg1
= (wxWindow
*) 0 ;
28662 PyObject
* obj0
= 0 ;
28663 char *kwnames
[] = {
28664 (char *) "self", NULL
28667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28678 resultobj
= wxPyMake_wxObject(result
, 0);
28686 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28687 PyObject
*resultobj
;
28688 wxWindow
*arg1
= (wxWindow
*) 0 ;
28689 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28690 PyObject
* obj0
= 0 ;
28691 PyObject
* obj1
= 0 ;
28692 char *kwnames
[] = {
28693 (char *) "self",(char *) "dropTarget", NULL
28696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28700 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 (arg1
)->SetDropTarget(arg2
);
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 Py_INCREF(Py_None
); resultobj
= Py_None
;
28715 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
;
28717 wxWindow
*arg1
= (wxWindow
*) 0 ;
28718 wxPyDropTarget
*result
;
28719 PyObject
* obj0
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28741 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxWindow
*arg1
= (wxWindow
*) 0 ;
28745 PyObject
* obj0
= 0 ;
28746 PyObject
* obj1
= 0 ;
28747 char *kwnames
[] = {
28748 (char *) "self",(char *) "accept", NULL
28751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28754 arg2
= (bool)SWIG_As_bool(obj1
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 (arg1
)->DragAcceptFiles(arg2
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 Py_INCREF(Py_None
); resultobj
= Py_None
;
28770 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
;
28772 wxWindow
*arg1
= (wxWindow
*) 0 ;
28773 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28774 PyObject
* obj0
= 0 ;
28775 PyObject
* obj1
= 0 ;
28776 char *kwnames
[] = {
28777 (char *) "self",(char *) "constraints", NULL
28780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 (arg1
)->SetConstraints(arg2
);
28789 wxPyEndAllowThreads(__tstate
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 Py_INCREF(Py_None
); resultobj
= Py_None
;
28799 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
;
28801 wxWindow
*arg1
= (wxWindow
*) 0 ;
28802 wxLayoutConstraints
*result
;
28803 PyObject
* obj0
= 0 ;
28804 char *kwnames
[] = {
28805 (char *) "self", NULL
28808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",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
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28825 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28826 PyObject
*resultobj
;
28827 wxWindow
*arg1
= (wxWindow
*) 0 ;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 char *kwnames
[] = {
28832 (char *) "self",(char *) "autoLayout", NULL
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28838 arg2
= (bool)SWIG_As_bool(obj1
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28842 (arg1
)->SetAutoLayout(arg2
);
28844 wxPyEndAllowThreads(__tstate
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 Py_INCREF(Py_None
); resultobj
= Py_None
;
28854 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
;
28856 wxWindow
*arg1
= (wxWindow
*) 0 ;
28858 PyObject
* obj0
= 0 ;
28859 char *kwnames
[] = {
28860 (char *) "self", NULL
28863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28868 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28870 wxPyEndAllowThreads(__tstate
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28882 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28883 PyObject
*resultobj
;
28884 wxWindow
*arg1
= (wxWindow
*) 0 ;
28886 PyObject
* obj0
= 0 ;
28887 char *kwnames
[] = {
28888 (char *) "self", NULL
28891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28896 result
= (bool)(arg1
)->Layout();
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28910 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
;
28912 wxWindow
*arg1
= (wxWindow
*) 0 ;
28913 wxSizer
*arg2
= (wxSizer
*) 0 ;
28914 bool arg3
= (bool) true ;
28915 PyObject
* obj0
= 0 ;
28916 PyObject
* obj1
= 0 ;
28917 PyObject
* obj2
= 0 ;
28918 char *kwnames
[] = {
28919 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28928 arg3
= (bool)SWIG_As_bool(obj2
);
28929 if (PyErr_Occurred()) SWIG_fail
;
28932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28933 (arg1
)->SetSizer(arg2
,arg3
);
28935 wxPyEndAllowThreads(__tstate
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28938 Py_INCREF(Py_None
); resultobj
= Py_None
;
28945 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28946 PyObject
*resultobj
;
28947 wxWindow
*arg1
= (wxWindow
*) 0 ;
28948 wxSizer
*arg2
= (wxSizer
*) 0 ;
28949 bool arg3
= (bool) true ;
28950 PyObject
* obj0
= 0 ;
28951 PyObject
* obj1
= 0 ;
28952 PyObject
* obj2
= 0 ;
28953 char *kwnames
[] = {
28954 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28963 arg3
= (bool)SWIG_As_bool(obj2
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28968 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28970 wxPyEndAllowThreads(__tstate
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28973 Py_INCREF(Py_None
); resultobj
= Py_None
;
28980 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28981 PyObject
*resultobj
;
28982 wxWindow
*arg1
= (wxWindow
*) 0 ;
28984 PyObject
* obj0
= 0 ;
28985 char *kwnames
[] = {
28986 (char *) "self", NULL
28989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= wxPyMake_wxSizer(result
, 0);
29008 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
;
29010 wxWindow
*arg1
= (wxWindow
*) 0 ;
29011 wxSizer
*arg2
= (wxSizer
*) 0 ;
29012 PyObject
* obj0
= 0 ;
29013 PyObject
* obj1
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self",(char *) "sizer", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
29019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
29022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29025 (arg1
)->SetContainingSizer(arg2
);
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29030 Py_INCREF(Py_None
); resultobj
= Py_None
;
29037 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29038 PyObject
*resultobj
;
29039 wxWindow
*arg1
= (wxWindow
*) 0 ;
29041 PyObject
* obj0
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "self", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
29047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= wxPyMake_wxSizer(result
, 0);
29065 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
;
29067 wxWindow
*arg1
= (wxWindow
*) 0 ;
29068 PyObject
* obj0
= 0 ;
29069 char *kwnames
[] = {
29070 (char *) "self", NULL
29073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
29074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 (arg1
)->InheritAttributes();
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 Py_INCREF(Py_None
); resultobj
= Py_None
;
29090 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxWindow
*arg1
= (wxWindow
*) 0 ;
29094 PyObject
* obj0
= 0 ;
29095 char *kwnames
[] = {
29096 (char *) "self", NULL
29099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29118 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
29120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29121 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
29123 return Py_BuildValue((char *)"");
29125 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
;
29128 wxWindow
*arg2
= (wxWindow
*) NULL
;
29130 PyObject
* obj0
= 0 ;
29131 PyObject
* obj1
= 0 ;
29132 char *kwnames
[] = {
29133 (char *) "id",(char *) "parent", NULL
29136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
29137 arg1
= (long)SWIG_As_long(obj0
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29144 if (!wxPyCheckForApp()) SWIG_fail
;
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29152 resultobj
= wxPyMake_wxObject(result
, 0);
29160 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
;
29162 wxString
*arg1
= 0 ;
29163 wxWindow
*arg2
= (wxWindow
*) NULL
;
29165 bool temp1
= false ;
29166 PyObject
* obj0
= 0 ;
29167 PyObject
* obj1
= 0 ;
29168 char *kwnames
[] = {
29169 (char *) "name",(char *) "parent", NULL
29172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
29174 arg1
= wxString_in_helper(obj0
);
29175 if (arg1
== NULL
) SWIG_fail
;
29179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29183 if (!wxPyCheckForApp()) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29191 resultobj
= wxPyMake_wxObject(result
, 0);
29207 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
;
29209 wxString
*arg1
= 0 ;
29210 wxWindow
*arg2
= (wxWindow
*) NULL
;
29212 bool temp1
= false ;
29213 PyObject
* obj0
= 0 ;
29214 PyObject
* obj1
= 0 ;
29215 char *kwnames
[] = {
29216 (char *) "label",(char *) "parent", NULL
29219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29221 arg1
= wxString_in_helper(obj0
);
29222 if (arg1
== NULL
) SWIG_fail
;
29226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29230 if (!wxPyCheckForApp()) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= wxPyMake_wxObject(result
, 0);
29254 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29255 PyObject
*resultobj
;
29256 wxWindow
*arg1
= (wxWindow
*) 0 ;
29257 unsigned long arg2
;
29259 PyObject
* obj0
= 0 ;
29260 PyObject
* obj1
= 0 ;
29261 char *kwnames
[] = {
29262 (char *) "parent",(char *) "_hWnd", NULL
29265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29268 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29274 wxPyEndAllowThreads(__tstate
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29278 resultobj
= wxPyMake_wxObject(result
, 0);
29286 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29287 PyObject
*resultobj
;
29288 wxValidator
*result
;
29289 char *kwnames
[] = {
29293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 result
= (wxValidator
*)new wxValidator();
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29308 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
;
29310 wxValidator
*arg1
= (wxValidator
*) 0 ;
29311 wxValidator
*result
;
29312 PyObject
* obj0
= 0 ;
29313 char *kwnames
[] = {
29314 (char *) "self", NULL
29317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 result
= (wxValidator
*)(arg1
)->Clone();
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= wxPyMake_wxObject(result
, 0);
29336 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
;
29338 wxValidator
*arg1
= (wxValidator
*) 0 ;
29339 wxWindow
*arg2
= (wxWindow
*) 0 ;
29341 PyObject
* obj0
= 0 ;
29342 PyObject
* obj1
= 0 ;
29343 char *kwnames
[] = {
29344 (char *) "self",(char *) "parent", NULL
29347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29354 result
= (bool)(arg1
)->Validate(arg2
);
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29368 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
;
29370 wxValidator
*arg1
= (wxValidator
*) 0 ;
29372 PyObject
* obj0
= 0 ;
29373 char *kwnames
[] = {
29374 (char *) "self", NULL
29377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 result
= (bool)(arg1
)->TransferToWindow();
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29396 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29397 PyObject
*resultobj
;
29398 wxValidator
*arg1
= (wxValidator
*) 0 ;
29400 PyObject
* obj0
= 0 ;
29401 char *kwnames
[] = {
29402 (char *) "self", NULL
29405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 result
= (bool)(arg1
)->TransferFromWindow();
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29424 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29425 PyObject
*resultobj
;
29426 wxValidator
*arg1
= (wxValidator
*) 0 ;
29428 PyObject
* obj0
= 0 ;
29429 char *kwnames
[] = {
29430 (char *) "self", NULL
29433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29438 result
= (wxWindow
*)(arg1
)->GetWindow();
29440 wxPyEndAllowThreads(__tstate
);
29441 if (PyErr_Occurred()) SWIG_fail
;
29444 resultobj
= wxPyMake_wxObject(result
, 0);
29452 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29453 PyObject
*resultobj
;
29454 wxValidator
*arg1
= (wxValidator
*) 0 ;
29455 wxWindow
*arg2
= (wxWindow
*) 0 ;
29456 PyObject
* obj0
= 0 ;
29457 PyObject
* obj1
= 0 ;
29458 char *kwnames
[] = {
29459 (char *) "self",(char *) "window", NULL
29462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29469 (arg1
)->SetWindow(arg2
);
29471 wxPyEndAllowThreads(__tstate
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29474 Py_INCREF(Py_None
); resultobj
= Py_None
;
29481 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
;
29484 char *kwnames
[] = {
29488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= (bool)wxValidator::IsSilent();
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29505 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29506 PyObject
*resultobj
;
29507 int arg1
= (int) true ;
29508 PyObject
* obj0
= 0 ;
29509 char *kwnames
[] = {
29510 (char *) "doIt", NULL
29513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29515 arg1
= (int)SWIG_As_int(obj0
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 wxValidator::SetBellOnError(arg1
);
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 Py_INCREF(Py_None
); resultobj
= Py_None
;
29532 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29535 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29537 return Py_BuildValue((char *)"");
29539 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29540 PyObject
*resultobj
;
29541 wxPyValidator
*result
;
29542 char *kwnames
[] = {
29546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 result
= (wxPyValidator
*)new wxPyValidator();
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29561 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
;
29563 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29564 PyObject
*arg2
= (PyObject
*) 0 ;
29565 PyObject
*arg3
= (PyObject
*) 0 ;
29566 int arg4
= (int) true ;
29567 PyObject
* obj0
= 0 ;
29568 PyObject
* obj1
= 0 ;
29569 PyObject
* obj2
= 0 ;
29570 PyObject
* obj3
= 0 ;
29571 char *kwnames
[] = {
29572 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29581 arg4
= (int)SWIG_As_int(obj3
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29586 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29588 wxPyEndAllowThreads(__tstate
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29591 Py_INCREF(Py_None
); resultobj
= Py_None
;
29598 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29601 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29603 return Py_BuildValue((char *)"");
29605 static int _wrap_DefaultValidator_set(PyObject
*) {
29606 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29611 static PyObject
*_wrap_DefaultValidator_get() {
29614 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29619 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
;
29621 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29622 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29623 long arg2
= (long) 0 ;
29625 bool temp1
= false ;
29626 PyObject
* obj0
= 0 ;
29627 PyObject
* obj1
= 0 ;
29628 char *kwnames
[] = {
29629 (char *) "title",(char *) "style", NULL
29632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29635 arg1
= wxString_in_helper(obj0
);
29636 if (arg1
== NULL
) SWIG_fail
;
29641 arg2
= (long)SWIG_As_long(obj1
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29645 if (!wxPyCheckForApp()) SWIG_fail
;
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29647 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29667 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
;
29669 wxMenu
*arg1
= (wxMenu
*) 0 ;
29671 wxString
*arg3
= 0 ;
29672 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29673 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29674 int arg5
= (int) wxITEM_NORMAL
;
29675 wxMenuItem
*result
;
29676 bool temp3
= false ;
29677 bool temp4
= false ;
29678 PyObject
* obj0
= 0 ;
29679 PyObject
* obj1
= 0 ;
29680 PyObject
* obj2
= 0 ;
29681 PyObject
* obj3
= 0 ;
29682 PyObject
* obj4
= 0 ;
29683 char *kwnames
[] = {
29684 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29690 arg2
= (int)SWIG_As_int(obj1
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29693 arg3
= wxString_in_helper(obj2
);
29694 if (arg3
== NULL
) SWIG_fail
;
29699 arg4
= wxString_in_helper(obj3
);
29700 if (arg4
== NULL
) SWIG_fail
;
29705 arg5
= (int)SWIG_As_int(obj4
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= wxPyMake_wxObject(result
, 0);
29740 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29741 PyObject
*resultobj
;
29742 wxMenu
*arg1
= (wxMenu
*) 0 ;
29743 wxMenuItem
*result
;
29744 PyObject
* obj0
= 0 ;
29745 char *kwnames
[] = {
29746 (char *) "self", NULL
29749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29754 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29756 wxPyEndAllowThreads(__tstate
);
29757 if (PyErr_Occurred()) SWIG_fail
;
29760 resultobj
= wxPyMake_wxObject(result
, 0);
29768 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29769 PyObject
*resultobj
;
29770 wxMenu
*arg1
= (wxMenu
*) 0 ;
29772 wxString
*arg3
= 0 ;
29773 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29774 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29775 wxMenuItem
*result
;
29776 bool temp3
= false ;
29777 bool temp4
= false ;
29778 PyObject
* obj0
= 0 ;
29779 PyObject
* obj1
= 0 ;
29780 PyObject
* obj2
= 0 ;
29781 PyObject
* obj3
= 0 ;
29782 char *kwnames
[] = {
29783 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29789 arg2
= (int)SWIG_As_int(obj1
);
29790 if (PyErr_Occurred()) SWIG_fail
;
29792 arg3
= wxString_in_helper(obj2
);
29793 if (arg3
== NULL
) SWIG_fail
;
29798 arg4
= wxString_in_helper(obj3
);
29799 if (arg4
== NULL
) SWIG_fail
;
29804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29805 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29811 resultobj
= wxPyMake_wxObject(result
, 0);
29835 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29836 PyObject
*resultobj
;
29837 wxMenu
*arg1
= (wxMenu
*) 0 ;
29839 wxString
*arg3
= 0 ;
29840 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29841 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29842 wxMenuItem
*result
;
29843 bool temp3
= false ;
29844 bool temp4
= false ;
29845 PyObject
* obj0
= 0 ;
29846 PyObject
* obj1
= 0 ;
29847 PyObject
* obj2
= 0 ;
29848 PyObject
* obj3
= 0 ;
29849 char *kwnames
[] = {
29850 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29856 arg2
= (int)SWIG_As_int(obj1
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 arg3
= wxString_in_helper(obj2
);
29860 if (arg3
== NULL
) SWIG_fail
;
29865 arg4
= wxString_in_helper(obj3
);
29866 if (arg4
== NULL
) SWIG_fail
;
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29874 wxPyEndAllowThreads(__tstate
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= wxPyMake_wxObject(result
, 0);
29902 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29903 PyObject
*resultobj
;
29904 wxMenu
*arg1
= (wxMenu
*) 0 ;
29906 wxString
*arg3
= 0 ;
29907 wxMenu
*arg4
= (wxMenu
*) 0 ;
29908 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29909 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29910 wxMenuItem
*result
;
29911 bool temp3
= false ;
29912 bool temp5
= false ;
29913 PyObject
* obj0
= 0 ;
29914 PyObject
* obj1
= 0 ;
29915 PyObject
* obj2
= 0 ;
29916 PyObject
* obj3
= 0 ;
29917 PyObject
* obj4
= 0 ;
29918 char *kwnames
[] = {
29919 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29925 arg2
= (int)SWIG_As_int(obj1
);
29926 if (PyErr_Occurred()) SWIG_fail
;
29928 arg3
= wxString_in_helper(obj2
);
29929 if (arg3
== NULL
) SWIG_fail
;
29932 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29936 arg5
= wxString_in_helper(obj4
);
29937 if (arg5
== NULL
) SWIG_fail
;
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29949 resultobj
= wxPyMake_wxObject(result
, 0);
29973 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29974 PyObject
*resultobj
;
29975 wxMenu
*arg1
= (wxMenu
*) 0 ;
29976 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29977 wxMenuItem
*result
;
29978 PyObject
* obj0
= 0 ;
29979 PyObject
* obj1
= 0 ;
29980 char *kwnames
[] = {
29981 (char *) "self",(char *) "item", NULL
29984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29991 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29997 resultobj
= wxPyMake_wxObject(result
, 0);
30005 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
;
30007 wxMenu
*arg1
= (wxMenu
*) 0 ;
30008 PyObject
* obj0
= 0 ;
30009 char *kwnames
[] = {
30010 (char *) "self", NULL
30013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
30014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 wxPyEndAllowThreads(__tstate
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30023 Py_INCREF(Py_None
); resultobj
= Py_None
;
30030 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30031 PyObject
*resultobj
;
30032 wxMenu
*arg1
= (wxMenu
*) 0 ;
30034 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
30035 wxMenuItem
*result
;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 PyObject
* obj2
= 0 ;
30039 char *kwnames
[] = {
30040 (char *) "self",(char *) "pos",(char *) "item", NULL
30043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30046 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30048 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
30049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30052 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
30054 wxPyEndAllowThreads(__tstate
);
30055 if (PyErr_Occurred()) SWIG_fail
;
30058 resultobj
= wxPyMake_wxObject(result
, 0);
30066 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30067 PyObject
*resultobj
;
30068 wxMenu
*arg1
= (wxMenu
*) 0 ;
30071 wxString
*arg4
= 0 ;
30072 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30073 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30074 int arg6
= (int) wxITEM_NORMAL
;
30075 wxMenuItem
*result
;
30076 bool temp4
= false ;
30077 bool temp5
= false ;
30078 PyObject
* obj0
= 0 ;
30079 PyObject
* obj1
= 0 ;
30080 PyObject
* obj2
= 0 ;
30081 PyObject
* obj3
= 0 ;
30082 PyObject
* obj4
= 0 ;
30083 PyObject
* obj5
= 0 ;
30084 char *kwnames
[] = {
30085 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30091 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30093 arg3
= (int)SWIG_As_int(obj2
);
30094 if (PyErr_Occurred()) SWIG_fail
;
30096 arg4
= wxString_in_helper(obj3
);
30097 if (arg4
== NULL
) SWIG_fail
;
30102 arg5
= wxString_in_helper(obj4
);
30103 if (arg5
== NULL
) SWIG_fail
;
30108 arg6
= (int)SWIG_As_int(obj5
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30113 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
30115 wxPyEndAllowThreads(__tstate
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30119 resultobj
= wxPyMake_wxObject(result
, 0);
30143 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30144 PyObject
*resultobj
;
30145 wxMenu
*arg1
= (wxMenu
*) 0 ;
30147 wxMenuItem
*result
;
30148 PyObject
* obj0
= 0 ;
30149 PyObject
* obj1
= 0 ;
30150 char *kwnames
[] = {
30151 (char *) "self",(char *) "pos", NULL
30154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
30155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30157 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
30163 wxPyEndAllowThreads(__tstate
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30167 resultobj
= wxPyMake_wxObject(result
, 0);
30175 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
;
30177 wxMenu
*arg1
= (wxMenu
*) 0 ;
30180 wxString
*arg4
= 0 ;
30181 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30182 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30183 wxMenuItem
*result
;
30184 bool temp4
= false ;
30185 bool temp5
= false ;
30186 PyObject
* obj0
= 0 ;
30187 PyObject
* obj1
= 0 ;
30188 PyObject
* obj2
= 0 ;
30189 PyObject
* obj3
= 0 ;
30190 PyObject
* obj4
= 0 ;
30191 char *kwnames
[] = {
30192 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30198 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30200 arg3
= (int)SWIG_As_int(obj2
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30203 arg4
= wxString_in_helper(obj3
);
30204 if (arg4
== NULL
) SWIG_fail
;
30209 arg5
= wxString_in_helper(obj4
);
30210 if (arg5
== NULL
) SWIG_fail
;
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30222 resultobj
= wxPyMake_wxObject(result
, 0);
30246 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30247 PyObject
*resultobj
;
30248 wxMenu
*arg1
= (wxMenu
*) 0 ;
30251 wxString
*arg4
= 0 ;
30252 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30253 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30254 wxMenuItem
*result
;
30255 bool temp4
= false ;
30256 bool temp5
= false ;
30257 PyObject
* obj0
= 0 ;
30258 PyObject
* obj1
= 0 ;
30259 PyObject
* obj2
= 0 ;
30260 PyObject
* obj3
= 0 ;
30261 PyObject
* obj4
= 0 ;
30262 char *kwnames
[] = {
30263 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30269 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30271 arg3
= (int)SWIG_As_int(obj2
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 arg4
= wxString_in_helper(obj3
);
30275 if (arg4
== NULL
) SWIG_fail
;
30280 arg5
= wxString_in_helper(obj4
);
30281 if (arg5
== NULL
) SWIG_fail
;
30286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30287 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30289 wxPyEndAllowThreads(__tstate
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30293 resultobj
= wxPyMake_wxObject(result
, 0);
30317 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
;
30319 wxMenu
*arg1
= (wxMenu
*) 0 ;
30322 wxString
*arg4
= 0 ;
30323 wxMenu
*arg5
= (wxMenu
*) 0 ;
30324 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30325 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30326 wxMenuItem
*result
;
30327 bool temp4
= false ;
30328 bool temp6
= false ;
30329 PyObject
* obj0
= 0 ;
30330 PyObject
* obj1
= 0 ;
30331 PyObject
* obj2
= 0 ;
30332 PyObject
* obj3
= 0 ;
30333 PyObject
* obj4
= 0 ;
30334 PyObject
* obj5
= 0 ;
30335 char *kwnames
[] = {
30336 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30342 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30344 arg3
= (int)SWIG_As_int(obj2
);
30345 if (PyErr_Occurred()) SWIG_fail
;
30347 arg4
= wxString_in_helper(obj3
);
30348 if (arg4
== NULL
) SWIG_fail
;
30351 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30355 arg6
= wxString_in_helper(obj5
);
30356 if (arg6
== NULL
) SWIG_fail
;
30361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30362 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30364 wxPyEndAllowThreads(__tstate
);
30365 if (PyErr_Occurred()) SWIG_fail
;
30368 resultobj
= wxPyMake_wxObject(result
, 0);
30392 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30393 PyObject
*resultobj
;
30394 wxMenu
*arg1
= (wxMenu
*) 0 ;
30395 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30396 wxMenuItem
*result
;
30397 PyObject
* obj0
= 0 ;
30398 PyObject
* obj1
= 0 ;
30399 char *kwnames
[] = {
30400 (char *) "self",(char *) "item", NULL
30403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= wxPyMake_wxObject(result
, 0);
30424 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30425 PyObject
*resultobj
;
30426 wxMenu
*arg1
= (wxMenu
*) 0 ;
30428 wxString
*arg3
= 0 ;
30429 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30430 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30431 int arg5
= (int) wxITEM_NORMAL
;
30432 wxMenuItem
*result
;
30433 bool temp3
= false ;
30434 bool temp4
= false ;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj1
= 0 ;
30437 PyObject
* obj2
= 0 ;
30438 PyObject
* obj3
= 0 ;
30439 PyObject
* obj4
= 0 ;
30440 char *kwnames
[] = {
30441 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30447 arg2
= (int)SWIG_As_int(obj1
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 arg3
= wxString_in_helper(obj2
);
30451 if (arg3
== NULL
) SWIG_fail
;
30456 arg4
= wxString_in_helper(obj3
);
30457 if (arg4
== NULL
) SWIG_fail
;
30462 arg5
= (int)SWIG_As_int(obj4
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30467 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= wxPyMake_wxObject(result
, 0);
30497 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30498 PyObject
*resultobj
;
30499 wxMenu
*arg1
= (wxMenu
*) 0 ;
30500 wxMenuItem
*result
;
30501 PyObject
* obj0
= 0 ;
30502 char *kwnames
[] = {
30503 (char *) "self", NULL
30506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30511 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30513 wxPyEndAllowThreads(__tstate
);
30514 if (PyErr_Occurred()) SWIG_fail
;
30517 resultobj
= wxPyMake_wxObject(result
, 0);
30525 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
;
30527 wxMenu
*arg1
= (wxMenu
*) 0 ;
30529 wxString
*arg3
= 0 ;
30530 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30531 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30532 wxMenuItem
*result
;
30533 bool temp3
= false ;
30534 bool temp4
= false ;
30535 PyObject
* obj0
= 0 ;
30536 PyObject
* obj1
= 0 ;
30537 PyObject
* obj2
= 0 ;
30538 PyObject
* obj3
= 0 ;
30539 char *kwnames
[] = {
30540 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30546 arg2
= (int)SWIG_As_int(obj1
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 arg3
= wxString_in_helper(obj2
);
30550 if (arg3
== NULL
) SWIG_fail
;
30555 arg4
= wxString_in_helper(obj3
);
30556 if (arg4
== NULL
) SWIG_fail
;
30561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30562 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= wxPyMake_wxObject(result
, 0);
30592 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
;
30594 wxMenu
*arg1
= (wxMenu
*) 0 ;
30596 wxString
*arg3
= 0 ;
30597 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30598 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30599 wxMenuItem
*result
;
30600 bool temp3
= false ;
30601 bool temp4
= false ;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 PyObject
* obj2
= 0 ;
30605 PyObject
* obj3
= 0 ;
30606 char *kwnames
[] = {
30607 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30613 arg2
= (int)SWIG_As_int(obj1
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30616 arg3
= wxString_in_helper(obj2
);
30617 if (arg3
== NULL
) SWIG_fail
;
30622 arg4
= wxString_in_helper(obj3
);
30623 if (arg4
== NULL
) SWIG_fail
;
30628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30631 wxPyEndAllowThreads(__tstate
);
30632 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= wxPyMake_wxObject(result
, 0);
30659 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30660 PyObject
*resultobj
;
30661 wxMenu
*arg1
= (wxMenu
*) 0 ;
30663 wxString
*arg3
= 0 ;
30664 wxMenu
*arg4
= (wxMenu
*) 0 ;
30665 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30666 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30667 wxMenuItem
*result
;
30668 bool temp3
= false ;
30669 bool temp5
= false ;
30670 PyObject
* obj0
= 0 ;
30671 PyObject
* obj1
= 0 ;
30672 PyObject
* obj2
= 0 ;
30673 PyObject
* obj3
= 0 ;
30674 PyObject
* obj4
= 0 ;
30675 char *kwnames
[] = {
30676 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30682 arg2
= (int)SWIG_As_int(obj1
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 arg3
= wxString_in_helper(obj2
);
30686 if (arg3
== NULL
) SWIG_fail
;
30689 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30693 arg5
= wxString_in_helper(obj4
);
30694 if (arg5
== NULL
) SWIG_fail
;
30699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30700 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30702 wxPyEndAllowThreads(__tstate
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30706 resultobj
= wxPyMake_wxObject(result
, 0);
30730 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
;
30732 wxMenu
*arg1
= (wxMenu
*) 0 ;
30734 wxMenuItem
*result
;
30735 PyObject
* obj0
= 0 ;
30736 PyObject
* obj1
= 0 ;
30737 char *kwnames
[] = {
30738 (char *) "self",(char *) "id", NULL
30741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30744 arg2
= (int)SWIG_As_int(obj1
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30750 wxPyEndAllowThreads(__tstate
);
30751 if (PyErr_Occurred()) SWIG_fail
;
30754 resultobj
= wxPyMake_wxObject(result
, 0);
30762 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30763 PyObject
*resultobj
;
30764 wxMenu
*arg1
= (wxMenu
*) 0 ;
30765 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30766 wxMenuItem
*result
;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj1
= 0 ;
30769 char *kwnames
[] = {
30770 (char *) "self",(char *) "item", NULL
30773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30780 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= wxPyMake_wxObject(result
, 0);
30794 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30795 PyObject
*resultobj
;
30796 wxMenu
*arg1
= (wxMenu
*) 0 ;
30799 PyObject
* obj0
= 0 ;
30800 PyObject
* obj1
= 0 ;
30801 char *kwnames
[] = {
30802 (char *) "self",(char *) "id", NULL
30805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30808 arg2
= (int)SWIG_As_int(obj1
);
30809 if (PyErr_Occurred()) SWIG_fail
;
30811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30812 result
= (bool)(arg1
)->Delete(arg2
);
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30826 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
;
30828 wxMenu
*arg1
= (wxMenu
*) 0 ;
30829 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30831 PyObject
* obj0
= 0 ;
30832 PyObject
* obj1
= 0 ;
30833 char *kwnames
[] = {
30834 (char *) "self",(char *) "item", NULL
30837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30844 result
= (bool)(arg1
)->Delete(arg2
);
30846 wxPyEndAllowThreads(__tstate
);
30847 if (PyErr_Occurred()) SWIG_fail
;
30850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30858 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
;
30860 wxMenu
*arg1
= (wxMenu
*) 0 ;
30861 PyObject
* obj0
= 0 ;
30862 char *kwnames
[] = {
30863 (char *) "self", NULL
30866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30871 wxMenu_Destroy(arg1
);
30873 wxPyEndAllowThreads(__tstate
);
30874 if (PyErr_Occurred()) SWIG_fail
;
30876 Py_INCREF(Py_None
); resultobj
= Py_None
;
30883 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30884 PyObject
*resultobj
;
30885 wxMenu
*arg1
= (wxMenu
*) 0 ;
30888 PyObject
* obj0
= 0 ;
30889 PyObject
* obj1
= 0 ;
30890 char *kwnames
[] = {
30891 (char *) "self",(char *) "id", NULL
30894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30897 arg2
= (int)SWIG_As_int(obj1
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30901 result
= (bool)(arg1
)->Destroy(arg2
);
30903 wxPyEndAllowThreads(__tstate
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30915 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30916 PyObject
*resultobj
;
30917 wxMenu
*arg1
= (wxMenu
*) 0 ;
30918 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30920 PyObject
* obj0
= 0 ;
30921 PyObject
* obj1
= 0 ;
30922 char *kwnames
[] = {
30923 (char *) "self",(char *) "item", NULL
30926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30933 result
= (bool)(arg1
)->Destroy(arg2
);
30935 wxPyEndAllowThreads(__tstate
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30947 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
;
30949 wxMenu
*arg1
= (wxMenu
*) 0 ;
30951 PyObject
* obj0
= 0 ;
30952 char *kwnames
[] = {
30953 (char *) "self", NULL
30956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30966 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30973 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30974 PyObject
*resultobj
;
30975 wxMenu
*arg1
= (wxMenu
*) 0 ;
30977 PyObject
* obj0
= 0 ;
30978 char *kwnames
[] = {
30979 (char *) "self", NULL
30982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30987 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= result
;
30999 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
;
31001 wxMenu
*arg1
= (wxMenu
*) 0 ;
31002 wxString
*arg2
= 0 ;
31004 bool temp2
= false ;
31005 PyObject
* obj0
= 0 ;
31006 PyObject
* obj1
= 0 ;
31007 char *kwnames
[] = {
31008 (char *) "self",(char *) "item", NULL
31011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31015 arg2
= wxString_in_helper(obj1
);
31016 if (arg2
== NULL
) SWIG_fail
;
31020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31021 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
31023 wxPyEndAllowThreads(__tstate
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31026 resultobj
= SWIG_From_int((int)result
);
31041 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31042 PyObject
*resultobj
;
31043 wxMenu
*arg1
= (wxMenu
*) 0 ;
31045 wxMenuItem
*result
;
31046 PyObject
* obj0
= 0 ;
31047 PyObject
* obj1
= 0 ;
31048 char *kwnames
[] = {
31049 (char *) "self",(char *) "id", NULL
31052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31055 arg2
= (int)SWIG_As_int(obj1
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31059 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
31061 wxPyEndAllowThreads(__tstate
);
31062 if (PyErr_Occurred()) SWIG_fail
;
31065 resultobj
= wxPyMake_wxObject(result
, 0);
31073 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31074 PyObject
*resultobj
;
31075 wxMenu
*arg1
= (wxMenu
*) 0 ;
31077 wxMenuItem
*result
;
31078 PyObject
* obj0
= 0 ;
31079 PyObject
* obj1
= 0 ;
31080 char *kwnames
[] = {
31081 (char *) "self",(char *) "position", NULL
31084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
31085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31087 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31091 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
31093 wxPyEndAllowThreads(__tstate
);
31094 if (PyErr_Occurred()) SWIG_fail
;
31097 resultobj
= wxPyMake_wxObject(result
, 0);
31105 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31106 PyObject
*resultobj
;
31107 wxMenu
*arg1
= (wxMenu
*) 0 ;
31110 PyObject
* obj0
= 0 ;
31111 PyObject
* obj1
= 0 ;
31112 PyObject
* obj2
= 0 ;
31113 char *kwnames
[] = {
31114 (char *) "self",(char *) "id",(char *) "enable", NULL
31117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31120 arg2
= (int)SWIG_As_int(obj1
);
31121 if (PyErr_Occurred()) SWIG_fail
;
31122 arg3
= (bool)SWIG_As_bool(obj2
);
31123 if (PyErr_Occurred()) SWIG_fail
;
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 (arg1
)->Enable(arg2
,arg3
);
31128 wxPyEndAllowThreads(__tstate
);
31129 if (PyErr_Occurred()) SWIG_fail
;
31131 Py_INCREF(Py_None
); resultobj
= Py_None
;
31138 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31139 PyObject
*resultobj
;
31140 wxMenu
*arg1
= (wxMenu
*) 0 ;
31143 PyObject
* obj0
= 0 ;
31144 PyObject
* obj1
= 0 ;
31145 char *kwnames
[] = {
31146 (char *) "self",(char *) "id", NULL
31149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31152 arg2
= (int)SWIG_As_int(obj1
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31170 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31171 PyObject
*resultobj
;
31172 wxMenu
*arg1
= (wxMenu
*) 0 ;
31175 PyObject
* obj0
= 0 ;
31176 PyObject
* obj1
= 0 ;
31177 PyObject
* obj2
= 0 ;
31178 char *kwnames
[] = {
31179 (char *) "self",(char *) "id",(char *) "check", NULL
31182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31185 arg2
= (int)SWIG_As_int(obj1
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31187 arg3
= (bool)SWIG_As_bool(obj2
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31191 (arg1
)->Check(arg2
,arg3
);
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31196 Py_INCREF(Py_None
); resultobj
= Py_None
;
31203 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
;
31205 wxMenu
*arg1
= (wxMenu
*) 0 ;
31208 PyObject
* obj0
= 0 ;
31209 PyObject
* obj1
= 0 ;
31210 char *kwnames
[] = {
31211 (char *) "self",(char *) "id", NULL
31214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31217 arg2
= (int)SWIG_As_int(obj1
);
31218 if (PyErr_Occurred()) SWIG_fail
;
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31235 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
;
31237 wxMenu
*arg1
= (wxMenu
*) 0 ;
31239 wxString
*arg3
= 0 ;
31240 bool temp3
= false ;
31241 PyObject
* obj0
= 0 ;
31242 PyObject
* obj1
= 0 ;
31243 PyObject
* obj2
= 0 ;
31244 char *kwnames
[] = {
31245 (char *) "self",(char *) "id",(char *) "label", NULL
31248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31251 arg2
= (int)SWIG_As_int(obj1
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31254 arg3
= wxString_in_helper(obj2
);
31255 if (arg3
== NULL
) SWIG_fail
;
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31262 wxPyEndAllowThreads(__tstate
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31265 Py_INCREF(Py_None
); resultobj
= Py_None
;
31280 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
;
31282 wxMenu
*arg1
= (wxMenu
*) 0 ;
31285 PyObject
* obj0
= 0 ;
31286 PyObject
* obj1
= 0 ;
31287 char *kwnames
[] = {
31288 (char *) "self",(char *) "id", NULL
31291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31294 arg2
= (int)SWIG_As_int(obj1
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31316 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31317 PyObject
*resultobj
;
31318 wxMenu
*arg1
= (wxMenu
*) 0 ;
31320 wxString
*arg3
= 0 ;
31321 bool temp3
= false ;
31322 PyObject
* obj0
= 0 ;
31323 PyObject
* obj1
= 0 ;
31324 PyObject
* obj2
= 0 ;
31325 char *kwnames
[] = {
31326 (char *) "self",(char *) "id",(char *) "helpString", NULL
31329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31332 arg2
= (int)SWIG_As_int(obj1
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31335 arg3
= wxString_in_helper(obj2
);
31336 if (arg3
== NULL
) SWIG_fail
;
31340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31341 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31346 Py_INCREF(Py_None
); resultobj
= Py_None
;
31361 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
;
31363 wxMenu
*arg1
= (wxMenu
*) 0 ;
31366 PyObject
* obj0
= 0 ;
31367 PyObject
* obj1
= 0 ;
31368 char *kwnames
[] = {
31369 (char *) "self",(char *) "id", NULL
31372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31375 arg2
= (int)SWIG_As_int(obj1
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31379 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31381 wxPyEndAllowThreads(__tstate
);
31382 if (PyErr_Occurred()) SWIG_fail
;
31386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31397 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31398 PyObject
*resultobj
;
31399 wxMenu
*arg1
= (wxMenu
*) 0 ;
31400 wxString
*arg2
= 0 ;
31401 bool temp2
= false ;
31402 PyObject
* obj0
= 0 ;
31403 PyObject
* obj1
= 0 ;
31404 char *kwnames
[] = {
31405 (char *) "self",(char *) "title", NULL
31408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31412 arg2
= wxString_in_helper(obj1
);
31413 if (arg2
== NULL
) SWIG_fail
;
31417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31418 (arg1
)->SetTitle((wxString
const &)*arg2
);
31420 wxPyEndAllowThreads(__tstate
);
31421 if (PyErr_Occurred()) SWIG_fail
;
31423 Py_INCREF(Py_None
); resultobj
= Py_None
;
31438 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31439 PyObject
*resultobj
;
31440 wxMenu
*arg1
= (wxMenu
*) 0 ;
31442 PyObject
* obj0
= 0 ;
31443 char *kwnames
[] = {
31444 (char *) "self", NULL
31447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31452 result
= ((wxMenu
const *)arg1
)->GetTitle();
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31470 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31471 PyObject
*resultobj
;
31472 wxMenu
*arg1
= (wxMenu
*) 0 ;
31473 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31474 PyObject
* obj0
= 0 ;
31475 PyObject
* obj1
= 0 ;
31476 char *kwnames
[] = {
31477 (char *) "self",(char *) "handler", NULL
31480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31487 (arg1
)->SetEventHandler(arg2
);
31489 wxPyEndAllowThreads(__tstate
);
31490 if (PyErr_Occurred()) SWIG_fail
;
31492 Py_INCREF(Py_None
); resultobj
= Py_None
;
31499 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31500 PyObject
*resultobj
;
31501 wxMenu
*arg1
= (wxMenu
*) 0 ;
31502 wxEvtHandler
*result
;
31503 PyObject
* obj0
= 0 ;
31504 char *kwnames
[] = {
31505 (char *) "self", NULL
31508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31513 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31515 wxPyEndAllowThreads(__tstate
);
31516 if (PyErr_Occurred()) SWIG_fail
;
31519 resultobj
= wxPyMake_wxObject(result
, 0);
31527 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
;
31529 wxMenu
*arg1
= (wxMenu
*) 0 ;
31530 wxWindow
*arg2
= (wxWindow
*) 0 ;
31531 PyObject
* obj0
= 0 ;
31532 PyObject
* obj1
= 0 ;
31533 char *kwnames
[] = {
31534 (char *) "self",(char *) "win", NULL
31537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31544 (arg1
)->SetInvokingWindow(arg2
);
31546 wxPyEndAllowThreads(__tstate
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31549 Py_INCREF(Py_None
); resultobj
= Py_None
;
31556 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
;
31558 wxMenu
*arg1
= (wxMenu
*) 0 ;
31560 PyObject
* obj0
= 0 ;
31561 char *kwnames
[] = {
31562 (char *) "self", NULL
31565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31570 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31572 wxPyEndAllowThreads(__tstate
);
31573 if (PyErr_Occurred()) SWIG_fail
;
31576 resultobj
= wxPyMake_wxObject(result
, 0);
31584 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31585 PyObject
*resultobj
;
31586 wxMenu
*arg1
= (wxMenu
*) 0 ;
31588 PyObject
* obj0
= 0 ;
31589 char *kwnames
[] = {
31590 (char *) "self", NULL
31593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31598 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31600 wxPyEndAllowThreads(__tstate
);
31601 if (PyErr_Occurred()) SWIG_fail
;
31603 resultobj
= SWIG_From_long((long)result
);
31610 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31611 PyObject
*resultobj
;
31612 wxMenu
*arg1
= (wxMenu
*) 0 ;
31613 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31614 PyObject
* obj0
= 0 ;
31615 PyObject
* obj1
= 0 ;
31616 char *kwnames
[] = {
31617 (char *) "self",(char *) "source", NULL
31620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31629 (arg1
)->UpdateUI(arg2
);
31631 wxPyEndAllowThreads(__tstate
);
31632 if (PyErr_Occurred()) SWIG_fail
;
31634 Py_INCREF(Py_None
); resultobj
= Py_None
;
31641 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31642 PyObject
*resultobj
;
31643 wxMenu
*arg1
= (wxMenu
*) 0 ;
31645 PyObject
* obj0
= 0 ;
31646 char *kwnames
[] = {
31647 (char *) "self", NULL
31650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31661 resultobj
= wxPyMake_wxObject(result
, 0);
31669 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31670 PyObject
*resultobj
;
31671 wxMenu
*arg1
= (wxMenu
*) 0 ;
31672 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31673 PyObject
* obj0
= 0 ;
31674 PyObject
* obj1
= 0 ;
31675 char *kwnames
[] = {
31676 (char *) "self",(char *) "menubar", NULL
31679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31686 (arg1
)->Attach(arg2
);
31688 wxPyEndAllowThreads(__tstate
);
31689 if (PyErr_Occurred()) SWIG_fail
;
31691 Py_INCREF(Py_None
); resultobj
= Py_None
;
31698 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31699 PyObject
*resultobj
;
31700 wxMenu
*arg1
= (wxMenu
*) 0 ;
31701 PyObject
* obj0
= 0 ;
31702 char *kwnames
[] = {
31703 (char *) "self", NULL
31706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31716 Py_INCREF(Py_None
); resultobj
= Py_None
;
31723 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
;
31725 wxMenu
*arg1
= (wxMenu
*) 0 ;
31727 PyObject
* obj0
= 0 ;
31728 char *kwnames
[] = {
31729 (char *) "self", NULL
31732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31737 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31739 wxPyEndAllowThreads(__tstate
);
31740 if (PyErr_Occurred()) SWIG_fail
;
31743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31751 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31752 PyObject
*resultobj
;
31753 wxMenu
*arg1
= (wxMenu
*) 0 ;
31754 wxMenu
*arg2
= (wxMenu
*) 0 ;
31755 PyObject
* obj0
= 0 ;
31756 PyObject
* obj1
= 0 ;
31757 char *kwnames
[] = {
31758 (char *) "self",(char *) "parent", NULL
31761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 (arg1
)->SetParent(arg2
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 Py_INCREF(Py_None
); resultobj
= Py_None
;
31780 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
;
31782 wxMenu
*arg1
= (wxMenu
*) 0 ;
31784 PyObject
* obj0
= 0 ;
31785 char *kwnames
[] = {
31786 (char *) "self", NULL
31789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31800 resultobj
= wxPyMake_wxObject(result
, 0);
31808 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31811 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31813 return Py_BuildValue((char *)"");
31815 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31816 PyObject
*resultobj
;
31817 long arg1
= (long) 0 ;
31819 PyObject
* obj0
= 0 ;
31820 char *kwnames
[] = {
31821 (char *) "style", NULL
31824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31826 arg1
= (long)SWIG_As_long(obj0
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31830 if (!wxPyCheckForApp()) SWIG_fail
;
31831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31832 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31844 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31845 PyObject
*resultobj
;
31846 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31847 wxMenu
*arg2
= (wxMenu
*) 0 ;
31848 wxString
*arg3
= 0 ;
31850 bool temp3
= false ;
31851 PyObject
* obj0
= 0 ;
31852 PyObject
* obj1
= 0 ;
31853 PyObject
* obj2
= 0 ;
31854 char *kwnames
[] = {
31855 (char *) "self",(char *) "menu",(char *) "title", NULL
31858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31864 arg3
= wxString_in_helper(obj2
);
31865 if (arg3
== NULL
) SWIG_fail
;
31869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31870 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31872 wxPyEndAllowThreads(__tstate
);
31873 if (PyErr_Occurred()) SWIG_fail
;
31876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31892 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31893 PyObject
*resultobj
;
31894 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31896 wxMenu
*arg3
= (wxMenu
*) 0 ;
31897 wxString
*arg4
= 0 ;
31899 bool temp4
= false ;
31900 PyObject
* obj0
= 0 ;
31901 PyObject
* obj1
= 0 ;
31902 PyObject
* obj2
= 0 ;
31903 PyObject
* obj3
= 0 ;
31904 char *kwnames
[] = {
31905 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31911 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31913 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31916 arg4
= wxString_in_helper(obj3
);
31917 if (arg4
== NULL
) SWIG_fail
;
31921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31922 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31924 wxPyEndAllowThreads(__tstate
);
31925 if (PyErr_Occurred()) SWIG_fail
;
31928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31944 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31945 PyObject
*resultobj
;
31946 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31948 PyObject
* obj0
= 0 ;
31949 char *kwnames
[] = {
31950 (char *) "self", NULL
31953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31970 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
;
31972 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31975 PyObject
* obj0
= 0 ;
31976 PyObject
* obj1
= 0 ;
31977 char *kwnames
[] = {
31978 (char *) "self",(char *) "pos", NULL
31981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31984 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31988 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31990 wxPyEndAllowThreads(__tstate
);
31991 if (PyErr_Occurred()) SWIG_fail
;
31994 resultobj
= wxPyMake_wxObject(result
, 0);
32002 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32003 PyObject
*resultobj
;
32004 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32006 wxMenu
*arg3
= (wxMenu
*) 0 ;
32007 wxString
*arg4
= 0 ;
32009 bool temp4
= false ;
32010 PyObject
* obj0
= 0 ;
32011 PyObject
* obj1
= 0 ;
32012 PyObject
* obj2
= 0 ;
32013 PyObject
* obj3
= 0 ;
32014 char *kwnames
[] = {
32015 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
32018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32021 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32022 if (PyErr_Occurred()) SWIG_fail
;
32023 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
32024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32026 arg4
= wxString_in_helper(obj3
);
32027 if (arg4
== NULL
) SWIG_fail
;
32031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32032 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32038 resultobj
= wxPyMake_wxObject(result
, 0);
32054 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32055 PyObject
*resultobj
;
32056 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32059 PyObject
* obj0
= 0 ;
32060 PyObject
* obj1
= 0 ;
32061 char *kwnames
[] = {
32062 (char *) "self",(char *) "pos", NULL
32065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
32066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32068 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32072 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32078 resultobj
= wxPyMake_wxObject(result
, 0);
32086 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32087 PyObject
*resultobj
;
32088 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32091 PyObject
* obj0
= 0 ;
32092 PyObject
* obj1
= 0 ;
32093 PyObject
* obj2
= 0 ;
32094 char *kwnames
[] = {
32095 (char *) "self",(char *) "pos",(char *) "enable", NULL
32098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32101 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32103 arg3
= (bool)SWIG_As_bool(obj2
);
32104 if (PyErr_Occurred()) SWIG_fail
;
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32107 (arg1
)->EnableTop(arg2
,arg3
);
32109 wxPyEndAllowThreads(__tstate
);
32110 if (PyErr_Occurred()) SWIG_fail
;
32112 Py_INCREF(Py_None
); resultobj
= Py_None
;
32119 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32120 PyObject
*resultobj
;
32121 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32124 PyObject
* obj0
= 0 ;
32125 PyObject
* obj1
= 0 ;
32126 char *kwnames
[] = {
32127 (char *) "self",(char *) "pos", NULL
32130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32133 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32134 if (PyErr_Occurred()) SWIG_fail
;
32136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32137 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
32139 wxPyEndAllowThreads(__tstate
);
32140 if (PyErr_Occurred()) SWIG_fail
;
32143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32151 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32152 PyObject
*resultobj
;
32153 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32155 wxString
*arg3
= 0 ;
32156 bool temp3
= false ;
32157 PyObject
* obj0
= 0 ;
32158 PyObject
* obj1
= 0 ;
32159 PyObject
* obj2
= 0 ;
32160 char *kwnames
[] = {
32161 (char *) "self",(char *) "pos",(char *) "label", NULL
32164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32167 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32168 if (PyErr_Occurred()) SWIG_fail
;
32170 arg3
= wxString_in_helper(obj2
);
32171 if (arg3
== NULL
) SWIG_fail
;
32175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32176 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
32178 wxPyEndAllowThreads(__tstate
);
32179 if (PyErr_Occurred()) SWIG_fail
;
32181 Py_INCREF(Py_None
); resultobj
= Py_None
;
32196 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32197 PyObject
*resultobj
;
32198 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32201 PyObject
* obj0
= 0 ;
32202 PyObject
* obj1
= 0 ;
32203 char *kwnames
[] = {
32204 (char *) "self",(char *) "pos", NULL
32207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32210 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32211 if (PyErr_Occurred()) SWIG_fail
;
32213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32214 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
32216 wxPyEndAllowThreads(__tstate
);
32217 if (PyErr_Occurred()) SWIG_fail
;
32221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32232 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32233 PyObject
*resultobj
;
32234 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32235 wxString
*arg2
= 0 ;
32236 wxString
*arg3
= 0 ;
32238 bool temp2
= false ;
32239 bool temp3
= false ;
32240 PyObject
* obj0
= 0 ;
32241 PyObject
* obj1
= 0 ;
32242 PyObject
* obj2
= 0 ;
32243 char *kwnames
[] = {
32244 (char *) "self",(char *) "menu",(char *) "item", NULL
32247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32251 arg2
= wxString_in_helper(obj1
);
32252 if (arg2
== NULL
) SWIG_fail
;
32256 arg3
= wxString_in_helper(obj2
);
32257 if (arg3
== NULL
) SWIG_fail
;
32261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32262 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32264 wxPyEndAllowThreads(__tstate
);
32265 if (PyErr_Occurred()) SWIG_fail
;
32267 resultobj
= SWIG_From_int((int)result
);
32290 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32291 PyObject
*resultobj
;
32292 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32294 wxMenuItem
*result
;
32295 PyObject
* obj0
= 0 ;
32296 PyObject
* obj1
= 0 ;
32297 char *kwnames
[] = {
32298 (char *) "self",(char *) "id", NULL
32301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32304 arg2
= (int)SWIG_As_int(obj1
);
32305 if (PyErr_Occurred()) SWIG_fail
;
32307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32308 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32310 wxPyEndAllowThreads(__tstate
);
32311 if (PyErr_Occurred()) SWIG_fail
;
32314 resultobj
= wxPyMake_wxObject(result
, 0);
32322 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32323 PyObject
*resultobj
;
32324 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32325 wxString
*arg2
= 0 ;
32327 bool temp2
= false ;
32328 PyObject
* obj0
= 0 ;
32329 PyObject
* obj1
= 0 ;
32330 char *kwnames
[] = {
32331 (char *) "self",(char *) "title", NULL
32334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32338 arg2
= wxString_in_helper(obj1
);
32339 if (arg2
== NULL
) SWIG_fail
;
32343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32349 resultobj
= SWIG_From_int((int)result
);
32364 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32365 PyObject
*resultobj
;
32366 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32369 PyObject
* obj0
= 0 ;
32370 PyObject
* obj1
= 0 ;
32371 PyObject
* obj2
= 0 ;
32372 char *kwnames
[] = {
32373 (char *) "self",(char *) "id",(char *) "enable", NULL
32376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32379 arg2
= (int)SWIG_As_int(obj1
);
32380 if (PyErr_Occurred()) SWIG_fail
;
32381 arg3
= (bool)SWIG_As_bool(obj2
);
32382 if (PyErr_Occurred()) SWIG_fail
;
32384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32385 (arg1
)->Enable(arg2
,arg3
);
32387 wxPyEndAllowThreads(__tstate
);
32388 if (PyErr_Occurred()) SWIG_fail
;
32390 Py_INCREF(Py_None
); resultobj
= Py_None
;
32397 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32398 PyObject
*resultobj
;
32399 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32402 PyObject
* obj0
= 0 ;
32403 PyObject
* obj1
= 0 ;
32404 PyObject
* obj2
= 0 ;
32405 char *kwnames
[] = {
32406 (char *) "self",(char *) "id",(char *) "check", NULL
32409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32412 arg2
= (int)SWIG_As_int(obj1
);
32413 if (PyErr_Occurred()) SWIG_fail
;
32414 arg3
= (bool)SWIG_As_bool(obj2
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32418 (arg1
)->Check(arg2
,arg3
);
32420 wxPyEndAllowThreads(__tstate
);
32421 if (PyErr_Occurred()) SWIG_fail
;
32423 Py_INCREF(Py_None
); resultobj
= Py_None
;
32430 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
;
32432 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32435 PyObject
* obj0
= 0 ;
32436 PyObject
* obj1
= 0 ;
32437 char *kwnames
[] = {
32438 (char *) "self",(char *) "id", NULL
32441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32444 arg2
= (int)SWIG_As_int(obj1
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32448 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32450 wxPyEndAllowThreads(__tstate
);
32451 if (PyErr_Occurred()) SWIG_fail
;
32454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32462 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32463 PyObject
*resultobj
;
32464 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32467 PyObject
* obj0
= 0 ;
32468 PyObject
* obj1
= 0 ;
32469 char *kwnames
[] = {
32470 (char *) "self",(char *) "id", NULL
32473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32476 arg2
= (int)SWIG_As_int(obj1
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32482 wxPyEndAllowThreads(__tstate
);
32483 if (PyErr_Occurred()) SWIG_fail
;
32486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32494 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32495 PyObject
*resultobj
;
32496 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32498 wxString
*arg3
= 0 ;
32499 bool temp3
= false ;
32500 PyObject
* obj0
= 0 ;
32501 PyObject
* obj1
= 0 ;
32502 PyObject
* obj2
= 0 ;
32503 char *kwnames
[] = {
32504 (char *) "self",(char *) "id",(char *) "label", NULL
32507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32510 arg2
= (int)SWIG_As_int(obj1
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32513 arg3
= wxString_in_helper(obj2
);
32514 if (arg3
== NULL
) SWIG_fail
;
32518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 Py_INCREF(Py_None
); resultobj
= Py_None
;
32539 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32540 PyObject
*resultobj
;
32541 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32544 PyObject
* obj0
= 0 ;
32545 PyObject
* obj1
= 0 ;
32546 char *kwnames
[] = {
32547 (char *) "self",(char *) "id", NULL
32550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32553 arg2
= (int)SWIG_As_int(obj1
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32557 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32575 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32576 PyObject
*resultobj
;
32577 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32579 wxString
*arg3
= 0 ;
32580 bool temp3
= false ;
32581 PyObject
* obj0
= 0 ;
32582 PyObject
* obj1
= 0 ;
32583 PyObject
* obj2
= 0 ;
32584 char *kwnames
[] = {
32585 (char *) "self",(char *) "id",(char *) "helpString", NULL
32588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32591 arg2
= (int)SWIG_As_int(obj1
);
32592 if (PyErr_Occurred()) SWIG_fail
;
32594 arg3
= wxString_in_helper(obj2
);
32595 if (arg3
== NULL
) SWIG_fail
;
32599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32600 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32605 Py_INCREF(Py_None
); resultobj
= Py_None
;
32620 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32621 PyObject
*resultobj
;
32622 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32625 PyObject
* obj0
= 0 ;
32626 PyObject
* obj1
= 0 ;
32627 char *kwnames
[] = {
32628 (char *) "self",(char *) "id", NULL
32631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32634 arg2
= (int)SWIG_As_int(obj1
);
32635 if (PyErr_Occurred()) SWIG_fail
;
32637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32638 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32640 wxPyEndAllowThreads(__tstate
);
32641 if (PyErr_Occurred()) SWIG_fail
;
32645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32656 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32657 PyObject
*resultobj
;
32658 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32660 PyObject
* obj0
= 0 ;
32661 char *kwnames
[] = {
32662 (char *) "self", NULL
32665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32670 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32676 resultobj
= wxPyMake_wxObject(result
, 0);
32684 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32685 PyObject
*resultobj
;
32686 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32688 PyObject
* obj0
= 0 ;
32689 char *kwnames
[] = {
32690 (char *) "self", NULL
32693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32698 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32700 wxPyEndAllowThreads(__tstate
);
32701 if (PyErr_Occurred()) SWIG_fail
;
32704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32712 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32713 PyObject
*resultobj
;
32714 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32715 wxFrame
*arg2
= (wxFrame
*) 0 ;
32716 PyObject
* obj0
= 0 ;
32717 PyObject
* obj1
= 0 ;
32718 char *kwnames
[] = {
32719 (char *) "self",(char *) "frame", NULL
32722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 (arg1
)->Attach(arg2
);
32731 wxPyEndAllowThreads(__tstate
);
32732 if (PyErr_Occurred()) SWIG_fail
;
32734 Py_INCREF(Py_None
); resultobj
= Py_None
;
32741 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32742 PyObject
*resultobj
;
32743 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32744 PyObject
* obj0
= 0 ;
32745 char *kwnames
[] = {
32746 (char *) "self", NULL
32749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32756 wxPyEndAllowThreads(__tstate
);
32757 if (PyErr_Occurred()) SWIG_fail
;
32759 Py_INCREF(Py_None
); resultobj
= Py_None
;
32766 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32769 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32771 return Py_BuildValue((char *)"");
32773 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32774 PyObject
*resultobj
;
32775 wxMenu
*arg1
= (wxMenu
*) NULL
;
32776 int arg2
= (int) wxID_ANY
;
32777 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32778 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32779 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32780 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32781 int arg5
= (int) wxITEM_NORMAL
;
32782 wxMenu
*arg6
= (wxMenu
*) NULL
;
32783 wxMenuItem
*result
;
32784 bool temp3
= false ;
32785 bool temp4
= false ;
32786 PyObject
* obj0
= 0 ;
32787 PyObject
* obj1
= 0 ;
32788 PyObject
* obj2
= 0 ;
32789 PyObject
* obj3
= 0 ;
32790 PyObject
* obj4
= 0 ;
32791 PyObject
* obj5
= 0 ;
32792 char *kwnames
[] = {
32793 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32802 arg2
= (int)SWIG_As_int(obj1
);
32803 if (PyErr_Occurred()) SWIG_fail
;
32807 arg3
= wxString_in_helper(obj2
);
32808 if (arg3
== NULL
) SWIG_fail
;
32814 arg4
= wxString_in_helper(obj3
);
32815 if (arg4
== NULL
) SWIG_fail
;
32820 arg5
= (int)SWIG_As_int(obj4
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32824 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32835 resultobj
= wxPyMake_wxObject(result
, 1);
32859 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32860 PyObject
*resultobj
;
32861 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32863 PyObject
* obj0
= 0 ;
32864 char *kwnames
[] = {
32865 (char *) "self", NULL
32868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32873 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32879 resultobj
= wxPyMake_wxObject(result
, 0);
32887 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32888 PyObject
*resultobj
;
32889 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32890 wxMenu
*arg2
= (wxMenu
*) 0 ;
32891 PyObject
* obj0
= 0 ;
32892 PyObject
* obj1
= 0 ;
32893 char *kwnames
[] = {
32894 (char *) "self",(char *) "menu", NULL
32897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32904 (arg1
)->SetMenu(arg2
);
32906 wxPyEndAllowThreads(__tstate
);
32907 if (PyErr_Occurred()) SWIG_fail
;
32909 Py_INCREF(Py_None
); resultobj
= Py_None
;
32916 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32917 PyObject
*resultobj
;
32918 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32920 PyObject
* obj0
= 0 ;
32921 PyObject
* obj1
= 0 ;
32922 char *kwnames
[] = {
32923 (char *) "self",(char *) "id", NULL
32926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32929 arg2
= (int)SWIG_As_int(obj1
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32933 (arg1
)->SetId(arg2
);
32935 wxPyEndAllowThreads(__tstate
);
32936 if (PyErr_Occurred()) SWIG_fail
;
32938 Py_INCREF(Py_None
); resultobj
= Py_None
;
32945 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32946 PyObject
*resultobj
;
32947 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32949 PyObject
* obj0
= 0 ;
32950 char *kwnames
[] = {
32951 (char *) "self", NULL
32954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32959 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32961 wxPyEndAllowThreads(__tstate
);
32962 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= SWIG_From_int((int)result
);
32971 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32972 PyObject
*resultobj
;
32973 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32975 PyObject
* obj0
= 0 ;
32976 char *kwnames
[] = {
32977 (char *) "self", NULL
32980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32985 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32987 wxPyEndAllowThreads(__tstate
);
32988 if (PyErr_Occurred()) SWIG_fail
;
32991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32999 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33000 PyObject
*resultobj
;
33001 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33002 wxString
*arg2
= 0 ;
33003 bool temp2
= false ;
33004 PyObject
* obj0
= 0 ;
33005 PyObject
* obj1
= 0 ;
33006 char *kwnames
[] = {
33007 (char *) "self",(char *) "str", NULL
33010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
33011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33014 arg2
= wxString_in_helper(obj1
);
33015 if (arg2
== NULL
) SWIG_fail
;
33019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33020 (arg1
)->SetText((wxString
const &)*arg2
);
33022 wxPyEndAllowThreads(__tstate
);
33023 if (PyErr_Occurred()) SWIG_fail
;
33025 Py_INCREF(Py_None
); resultobj
= Py_None
;
33040 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33041 PyObject
*resultobj
;
33042 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33044 PyObject
* obj0
= 0 ;
33045 char *kwnames
[] = {
33046 (char *) "self", NULL
33049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
33050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33054 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
33056 wxPyEndAllowThreads(__tstate
);
33057 if (PyErr_Occurred()) SWIG_fail
;
33061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33072 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33073 PyObject
*resultobj
;
33074 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33076 PyObject
* obj0
= 0 ;
33077 char *kwnames
[] = {
33078 (char *) "self", NULL
33081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
33082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33087 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
33088 result
= (wxString
*) &_result_ref
;
33091 wxPyEndAllowThreads(__tstate
);
33092 if (PyErr_Occurred()) SWIG_fail
;
33096 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33098 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33107 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33108 PyObject
*resultobj
;
33109 wxString
*arg1
= 0 ;
33111 bool temp1
= false ;
33112 PyObject
* obj0
= 0 ;
33113 char *kwnames
[] = {
33114 (char *) "text", NULL
33117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
33119 arg1
= wxString_in_helper(obj0
);
33120 if (arg1
== NULL
) SWIG_fail
;
33124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33125 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
33127 wxPyEndAllowThreads(__tstate
);
33128 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33151 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33152 PyObject
*resultobj
;
33153 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33155 PyObject
* obj0
= 0 ;
33156 char *kwnames
[] = {
33157 (char *) "self", NULL
33160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
33161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33165 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
33167 wxPyEndAllowThreads(__tstate
);
33168 if (PyErr_Occurred()) SWIG_fail
;
33170 resultobj
= SWIG_From_int((int)result
);
33177 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33178 PyObject
*resultobj
;
33179 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33181 PyObject
* obj0
= 0 ;
33182 PyObject
* obj1
= 0 ;
33183 char *kwnames
[] = {
33184 (char *) "self",(char *) "kind", NULL
33187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
33188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33190 arg2
= (int)SWIG_As_int(obj1
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33194 (arg1
)->SetKind((wxItemKind
)arg2
);
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33199 Py_INCREF(Py_None
); resultobj
= Py_None
;
33206 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33207 PyObject
*resultobj
;
33208 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33210 PyObject
* obj0
= 0 ;
33211 PyObject
* obj1
= 0 ;
33212 char *kwnames
[] = {
33213 (char *) "self",(char *) "checkable", NULL
33216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
33217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33219 arg2
= (bool)SWIG_As_bool(obj1
);
33220 if (PyErr_Occurred()) SWIG_fail
;
33222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33223 (arg1
)->SetCheckable(arg2
);
33225 wxPyEndAllowThreads(__tstate
);
33226 if (PyErr_Occurred()) SWIG_fail
;
33228 Py_INCREF(Py_None
); resultobj
= Py_None
;
33235 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33236 PyObject
*resultobj
;
33237 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33239 PyObject
* obj0
= 0 ;
33240 char *kwnames
[] = {
33241 (char *) "self", NULL
33244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33249 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33251 wxPyEndAllowThreads(__tstate
);
33252 if (PyErr_Occurred()) SWIG_fail
;
33255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33263 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33264 PyObject
*resultobj
;
33265 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33267 PyObject
* obj0
= 0 ;
33268 char *kwnames
[] = {
33269 (char *) "self", NULL
33272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33277 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33279 wxPyEndAllowThreads(__tstate
);
33280 if (PyErr_Occurred()) SWIG_fail
;
33283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33291 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33292 PyObject
*resultobj
;
33293 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33294 wxMenu
*arg2
= (wxMenu
*) 0 ;
33295 PyObject
* obj0
= 0 ;
33296 PyObject
* obj1
= 0 ;
33297 char *kwnames
[] = {
33298 (char *) "self",(char *) "menu", NULL
33301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33308 (arg1
)->SetSubMenu(arg2
);
33310 wxPyEndAllowThreads(__tstate
);
33311 if (PyErr_Occurred()) SWIG_fail
;
33313 Py_INCREF(Py_None
); resultobj
= Py_None
;
33320 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33321 PyObject
*resultobj
;
33322 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33324 PyObject
* obj0
= 0 ;
33325 char *kwnames
[] = {
33326 (char *) "self", NULL
33329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33334 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33336 wxPyEndAllowThreads(__tstate
);
33337 if (PyErr_Occurred()) SWIG_fail
;
33340 resultobj
= wxPyMake_wxObject(result
, 0);
33348 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33349 PyObject
*resultobj
;
33350 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33351 bool arg2
= (bool) true ;
33352 PyObject
* obj0
= 0 ;
33353 PyObject
* obj1
= 0 ;
33354 char *kwnames
[] = {
33355 (char *) "self",(char *) "enable", NULL
33358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33362 arg2
= (bool)SWIG_As_bool(obj1
);
33363 if (PyErr_Occurred()) SWIG_fail
;
33366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33367 (arg1
)->Enable(arg2
);
33369 wxPyEndAllowThreads(__tstate
);
33370 if (PyErr_Occurred()) SWIG_fail
;
33372 Py_INCREF(Py_None
); resultobj
= Py_None
;
33379 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33380 PyObject
*resultobj
;
33381 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33383 PyObject
* obj0
= 0 ;
33384 char *kwnames
[] = {
33385 (char *) "self", NULL
33388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33393 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33395 wxPyEndAllowThreads(__tstate
);
33396 if (PyErr_Occurred()) SWIG_fail
;
33399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33407 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33408 PyObject
*resultobj
;
33409 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33410 bool arg2
= (bool) true ;
33411 PyObject
* obj0
= 0 ;
33412 PyObject
* obj1
= 0 ;
33413 char *kwnames
[] = {
33414 (char *) "self",(char *) "check", NULL
33417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33421 arg2
= (bool)SWIG_As_bool(obj1
);
33422 if (PyErr_Occurred()) SWIG_fail
;
33425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 (arg1
)->Check(arg2
);
33428 wxPyEndAllowThreads(__tstate
);
33429 if (PyErr_Occurred()) SWIG_fail
;
33431 Py_INCREF(Py_None
); resultobj
= Py_None
;
33438 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33439 PyObject
*resultobj
;
33440 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33442 PyObject
* obj0
= 0 ;
33443 char *kwnames
[] = {
33444 (char *) "self", NULL
33447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33466 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33467 PyObject
*resultobj
;
33468 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33469 PyObject
* obj0
= 0 ;
33470 char *kwnames
[] = {
33471 (char *) "self", NULL
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 wxPyEndAllowThreads(__tstate
);
33482 if (PyErr_Occurred()) SWIG_fail
;
33484 Py_INCREF(Py_None
); resultobj
= Py_None
;
33491 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33492 PyObject
*resultobj
;
33493 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33494 wxString
*arg2
= 0 ;
33495 bool temp2
= false ;
33496 PyObject
* obj0
= 0 ;
33497 PyObject
* obj1
= 0 ;
33498 char *kwnames
[] = {
33499 (char *) "self",(char *) "str", NULL
33502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33506 arg2
= wxString_in_helper(obj1
);
33507 if (arg2
== NULL
) SWIG_fail
;
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33512 (arg1
)->SetHelp((wxString
const &)*arg2
);
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33517 Py_INCREF(Py_None
); resultobj
= Py_None
;
33532 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33533 PyObject
*resultobj
;
33534 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33536 PyObject
* obj0
= 0 ;
33537 char *kwnames
[] = {
33538 (char *) "self", NULL
33541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33547 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33548 result
= (wxString
*) &_result_ref
;
33551 wxPyEndAllowThreads(__tstate
);
33552 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33558 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33567 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33568 PyObject
*resultobj
;
33569 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33570 wxAcceleratorEntry
*result
;
33571 PyObject
* obj0
= 0 ;
33572 char *kwnames
[] = {
33573 (char *) "self", NULL
33576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33581 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33583 wxPyEndAllowThreads(__tstate
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33593 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33594 PyObject
*resultobj
;
33595 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33596 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33597 PyObject
* obj0
= 0 ;
33598 PyObject
* obj1
= 0 ;
33599 char *kwnames
[] = {
33600 (char *) "self",(char *) "accel", NULL
33603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33610 (arg1
)->SetAccel(arg2
);
33612 wxPyEndAllowThreads(__tstate
);
33613 if (PyErr_Occurred()) SWIG_fail
;
33615 Py_INCREF(Py_None
); resultobj
= Py_None
;
33622 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33623 PyObject
*resultobj
;
33624 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33626 PyObject
* obj0
= 0 ;
33627 PyObject
* obj1
= 0 ;
33628 char *kwnames
[] = {
33629 (char *) "self",(char *) "font", NULL
33632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
33633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
33636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33638 if (arg2
== NULL
) {
33639 PyErr_SetString(PyExc_TypeError
,"null reference");
33643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33644 (arg1
)->SetFont((wxFont
const &)*arg2
);
33646 wxPyEndAllowThreads(__tstate
);
33647 if (PyErr_Occurred()) SWIG_fail
;
33649 Py_INCREF(Py_None
); resultobj
= Py_None
;
33656 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33657 PyObject
*resultobj
;
33658 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33660 PyObject
* obj0
= 0 ;
33661 char *kwnames
[] = {
33662 (char *) "self", NULL
33665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
33666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33670 result
= (arg1
)->GetFont();
33672 wxPyEndAllowThreads(__tstate
);
33673 if (PyErr_Occurred()) SWIG_fail
;
33676 wxFont
* resultptr
;
33677 resultptr
= new wxFont((wxFont
&) result
);
33678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
33686 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33687 PyObject
*resultobj
;
33688 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33689 wxColour
*arg2
= 0 ;
33691 PyObject
* obj0
= 0 ;
33692 PyObject
* obj1
= 0 ;
33693 char *kwnames
[] = {
33694 (char *) "self",(char *) "colText", NULL
33697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
33708 wxPyEndAllowThreads(__tstate
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33711 Py_INCREF(Py_None
); resultobj
= Py_None
;
33718 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
;
33720 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33722 PyObject
* obj0
= 0 ;
33723 char *kwnames
[] = {
33724 (char *) "self", NULL
33727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
33728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33732 result
= (arg1
)->GetTextColour();
33734 wxPyEndAllowThreads(__tstate
);
33735 if (PyErr_Occurred()) SWIG_fail
;
33738 wxColour
* resultptr
;
33739 resultptr
= new wxColour((wxColour
&) result
);
33740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33748 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33749 PyObject
*resultobj
;
33750 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33751 wxColour
*arg2
= 0 ;
33753 PyObject
* obj0
= 0 ;
33754 PyObject
* obj1
= 0 ;
33755 char *kwnames
[] = {
33756 (char *) "self",(char *) "colBack", NULL
33759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33764 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33768 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33770 wxPyEndAllowThreads(__tstate
);
33771 if (PyErr_Occurred()) SWIG_fail
;
33773 Py_INCREF(Py_None
); resultobj
= Py_None
;
33780 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33781 PyObject
*resultobj
;
33782 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33784 PyObject
* obj0
= 0 ;
33785 char *kwnames
[] = {
33786 (char *) "self", NULL
33789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 result
= (arg1
)->GetBackgroundColour();
33796 wxPyEndAllowThreads(__tstate
);
33797 if (PyErr_Occurred()) SWIG_fail
;
33800 wxColour
* resultptr
;
33801 resultptr
= new wxColour((wxColour
&) result
);
33802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33810 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33811 PyObject
*resultobj
;
33812 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33813 wxBitmap
*arg2
= 0 ;
33814 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33815 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33816 PyObject
* obj0
= 0 ;
33817 PyObject
* obj1
= 0 ;
33818 PyObject
* obj2
= 0 ;
33819 char *kwnames
[] = {
33820 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33829 if (arg2
== NULL
) {
33830 PyErr_SetString(PyExc_TypeError
,"null reference");
33834 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33837 if (arg3
== NULL
) {
33838 PyErr_SetString(PyExc_TypeError
,"null reference");
33843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33844 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 Py_INCREF(Py_None
); resultobj
= Py_None
;
33856 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33857 PyObject
*resultobj
;
33858 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33859 wxBitmap
*arg2
= 0 ;
33860 PyObject
* obj0
= 0 ;
33861 PyObject
* obj1
= 0 ;
33862 char *kwnames
[] = {
33863 (char *) "self",(char *) "bmpDisabled", NULL
33866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33872 if (arg2
== NULL
) {
33873 PyErr_SetString(PyExc_TypeError
,"null reference");
33877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33878 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33880 wxPyEndAllowThreads(__tstate
);
33881 if (PyErr_Occurred()) SWIG_fail
;
33883 Py_INCREF(Py_None
); resultobj
= Py_None
;
33890 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33891 PyObject
*resultobj
;
33892 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33894 PyObject
* obj0
= 0 ;
33895 char *kwnames
[] = {
33896 (char *) "self", NULL
33899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33906 result
= (wxBitmap
*) &_result_ref
;
33909 wxPyEndAllowThreads(__tstate
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33913 wxBitmap
* resultptr
= new wxBitmap(*result
);
33914 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33922 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33923 PyObject
*resultobj
;
33924 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33926 PyObject
* obj0
= 0 ;
33927 PyObject
* obj1
= 0 ;
33928 char *kwnames
[] = {
33929 (char *) "self",(char *) "nWidth", NULL
33932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33935 arg2
= (int)SWIG_As_int(obj1
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33939 (arg1
)->SetMarginWidth(arg2
);
33941 wxPyEndAllowThreads(__tstate
);
33942 if (PyErr_Occurred()) SWIG_fail
;
33944 Py_INCREF(Py_None
); resultobj
= Py_None
;
33951 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33952 PyObject
*resultobj
;
33953 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33955 PyObject
* obj0
= 0 ;
33956 char *kwnames
[] = {
33957 (char *) "self", NULL
33960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33965 result
= (int)(arg1
)->GetMarginWidth();
33967 wxPyEndAllowThreads(__tstate
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33970 resultobj
= SWIG_From_int((int)result
);
33977 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33978 PyObject
*resultobj
;
33980 char *kwnames
[] = {
33984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33987 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33989 wxPyEndAllowThreads(__tstate
);
33990 if (PyErr_Occurred()) SWIG_fail
;
33992 resultobj
= SWIG_From_int((int)result
);
33999 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34000 PyObject
*resultobj
;
34001 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34003 PyObject
* obj0
= 0 ;
34004 char *kwnames
[] = {
34005 (char *) "self", NULL
34008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
34009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34013 result
= (bool)(arg1
)->IsOwnerDrawn();
34015 wxPyEndAllowThreads(__tstate
);
34016 if (PyErr_Occurred()) SWIG_fail
;
34019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34027 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34028 PyObject
*resultobj
;
34029 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34030 bool arg2
= (bool) true ;
34031 PyObject
* obj0
= 0 ;
34032 PyObject
* obj1
= 0 ;
34033 char *kwnames
[] = {
34034 (char *) "self",(char *) "ownerDrawn", NULL
34037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
34038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34041 arg2
= (bool)SWIG_As_bool(obj1
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 (arg1
)->SetOwnerDrawn(arg2
);
34048 wxPyEndAllowThreads(__tstate
);
34049 if (PyErr_Occurred()) SWIG_fail
;
34051 Py_INCREF(Py_None
); resultobj
= Py_None
;
34058 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34059 PyObject
*resultobj
;
34060 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34061 PyObject
* obj0
= 0 ;
34062 char *kwnames
[] = {
34063 (char *) "self", NULL
34066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
34067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 (arg1
)->ResetOwnerDrawn();
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34076 Py_INCREF(Py_None
); resultobj
= Py_None
;
34083 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34084 PyObject
*resultobj
;
34085 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34086 wxBitmap
*arg2
= 0 ;
34087 PyObject
* obj0
= 0 ;
34088 PyObject
* obj1
= 0 ;
34089 char *kwnames
[] = {
34090 (char *) "self",(char *) "bitmap", NULL
34093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
34097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34099 if (arg2
== NULL
) {
34100 PyErr_SetString(PyExc_TypeError
,"null reference");
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
34107 wxPyEndAllowThreads(__tstate
);
34108 if (PyErr_Occurred()) SWIG_fail
;
34110 Py_INCREF(Py_None
); resultobj
= Py_None
;
34117 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34118 PyObject
*resultobj
;
34119 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34121 PyObject
* obj0
= 0 ;
34122 char *kwnames
[] = {
34123 (char *) "self", NULL
34126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
34127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
34133 result
= (wxBitmap
*) &_result_ref
;
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34140 wxBitmap
* resultptr
= new wxBitmap(*result
);
34141 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
34149 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
34151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34152 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
34154 return Py_BuildValue((char *)"");
34156 static int _wrap_ControlNameStr_set(PyObject
*) {
34157 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
34162 static PyObject
*_wrap_ControlNameStr_get() {
34167 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
34169 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
34176 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34177 PyObject
*resultobj
;
34178 wxWindow
*arg1
= (wxWindow
*) 0 ;
34179 int arg2
= (int) -1 ;
34180 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34181 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34182 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34183 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34184 long arg5
= (long) 0 ;
34185 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34186 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34187 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
34188 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34192 bool temp7
= false ;
34193 PyObject
* obj0
= 0 ;
34194 PyObject
* obj1
= 0 ;
34195 PyObject
* obj2
= 0 ;
34196 PyObject
* obj3
= 0 ;
34197 PyObject
* obj4
= 0 ;
34198 PyObject
* obj5
= 0 ;
34199 PyObject
* obj6
= 0 ;
34200 char *kwnames
[] = {
34201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34208 arg2
= (int)SWIG_As_int(obj1
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34214 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34220 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34224 arg5
= (long)SWIG_As_long(obj4
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34228 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
34229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34231 if (arg6
== NULL
) {
34232 PyErr_SetString(PyExc_TypeError
,"null reference");
34238 arg7
= wxString_in_helper(obj6
);
34239 if (arg7
== NULL
) SWIG_fail
;
34244 if (!wxPyCheckForApp()) SWIG_fail
;
34245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34246 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34248 wxPyEndAllowThreads(__tstate
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34266 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34267 PyObject
*resultobj
;
34269 char *kwnames
[] = {
34273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
34275 if (!wxPyCheckForApp()) SWIG_fail
;
34276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34277 result
= (wxControl
*)new wxControl();
34279 wxPyEndAllowThreads(__tstate
);
34280 if (PyErr_Occurred()) SWIG_fail
;
34282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34289 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34290 PyObject
*resultobj
;
34291 wxControl
*arg1
= (wxControl
*) 0 ;
34292 wxWindow
*arg2
= (wxWindow
*) 0 ;
34293 int arg3
= (int) -1 ;
34294 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34295 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34296 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34297 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34298 long arg6
= (long) 0 ;
34299 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34300 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34301 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
34302 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34306 bool temp8
= false ;
34307 PyObject
* obj0
= 0 ;
34308 PyObject
* obj1
= 0 ;
34309 PyObject
* obj2
= 0 ;
34310 PyObject
* obj3
= 0 ;
34311 PyObject
* obj4
= 0 ;
34312 PyObject
* obj5
= 0 ;
34313 PyObject
* obj6
= 0 ;
34314 PyObject
* obj7
= 0 ;
34315 char *kwnames
[] = {
34316 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34325 arg3
= (int)SWIG_As_int(obj2
);
34326 if (PyErr_Occurred()) SWIG_fail
;
34331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34341 arg6
= (long)SWIG_As_long(obj5
);
34342 if (PyErr_Occurred()) SWIG_fail
;
34345 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
34346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34348 if (arg7
== NULL
) {
34349 PyErr_SetString(PyExc_TypeError
,"null reference");
34355 arg8
= wxString_in_helper(obj7
);
34356 if (arg8
== NULL
) SWIG_fail
;
34361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34364 wxPyEndAllowThreads(__tstate
);
34365 if (PyErr_Occurred()) SWIG_fail
;
34368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34384 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34385 PyObject
*resultobj
;
34386 wxControl
*arg1
= (wxControl
*) 0 ;
34387 wxCommandEvent
*arg2
= 0 ;
34388 PyObject
* obj0
= 0 ;
34389 PyObject
* obj1
= 0 ;
34390 char *kwnames
[] = {
34391 (char *) "self",(char *) "event", NULL
34394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
34395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
34398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34400 if (arg2
== NULL
) {
34401 PyErr_SetString(PyExc_TypeError
,"null reference");
34405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34406 (arg1
)->Command(*arg2
);
34408 wxPyEndAllowThreads(__tstate
);
34409 if (PyErr_Occurred()) SWIG_fail
;
34411 Py_INCREF(Py_None
); resultobj
= Py_None
;
34418 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34419 PyObject
*resultobj
;
34420 wxControl
*arg1
= (wxControl
*) 0 ;
34422 PyObject
* obj0
= 0 ;
34423 char *kwnames
[] = {
34424 (char *) "self", NULL
34427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
34428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34432 result
= (arg1
)->GetLabel();
34434 wxPyEndAllowThreads(__tstate
);
34435 if (PyErr_Occurred()) SWIG_fail
;
34439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34450 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34451 PyObject
*resultobj
;
34452 wxControl
*arg1
= (wxControl
*) 0 ;
34453 wxString
*arg2
= 0 ;
34454 bool temp2
= false ;
34455 PyObject
* obj0
= 0 ;
34456 PyObject
* obj1
= 0 ;
34457 char *kwnames
[] = {
34458 (char *) "self",(char *) "label", NULL
34461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34465 arg2
= wxString_in_helper(obj1
);
34466 if (arg2
== NULL
) SWIG_fail
;
34470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34471 (arg1
)->SetLabel((wxString
const &)*arg2
);
34473 wxPyEndAllowThreads(__tstate
);
34474 if (PyErr_Occurred()) SWIG_fail
;
34476 Py_INCREF(Py_None
); resultobj
= Py_None
;
34491 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34492 PyObject
*resultobj
;
34493 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
34494 wxVisualAttributes result
;
34495 PyObject
* obj0
= 0 ;
34496 char *kwnames
[] = {
34497 (char *) "variant", NULL
34500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34502 arg1
= (int)SWIG_As_int(obj0
);
34503 if (PyErr_Occurred()) SWIG_fail
;
34506 if (!wxPyCheckForApp()) SWIG_fail
;
34507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34508 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
34510 wxPyEndAllowThreads(__tstate
);
34511 if (PyErr_Occurred()) SWIG_fail
;
34514 wxVisualAttributes
* resultptr
;
34515 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
34516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34524 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
34526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34527 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
34529 return Py_BuildValue((char *)"");
34531 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34532 PyObject
*resultobj
;
34533 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34534 wxString
*arg2
= 0 ;
34535 PyObject
*arg3
= (PyObject
*) NULL
;
34537 bool temp2
= false ;
34538 PyObject
* obj0
= 0 ;
34539 PyObject
* obj1
= 0 ;
34540 PyObject
* obj2
= 0 ;
34541 char *kwnames
[] = {
34542 (char *) "self",(char *) "item",(char *) "clientData", NULL
34545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34549 arg2
= wxString_in_helper(obj1
);
34550 if (arg2
== NULL
) SWIG_fail
;
34557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34558 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
34560 wxPyEndAllowThreads(__tstate
);
34561 if (PyErr_Occurred()) SWIG_fail
;
34563 resultobj
= SWIG_From_int((int)result
);
34578 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34579 PyObject
*resultobj
;
34580 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34581 wxArrayString
*arg2
= 0 ;
34582 bool temp2
= false ;
34583 PyObject
* obj0
= 0 ;
34584 PyObject
* obj1
= 0 ;
34585 char *kwnames
[] = {
34586 (char *) "self",(char *) "strings", NULL
34589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34593 if (! PySequence_Check(obj1
)) {
34594 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34597 arg2
= new wxArrayString
;
34599 int i
, len
=PySequence_Length(obj1
);
34600 for (i
=0; i
<len
; i
++) {
34601 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34603 PyObject
* str
= PyObject_Unicode(item
);
34605 PyObject
* str
= PyObject_Str(item
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34608 arg2
->Add(Py2wxString(str
));
34614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34615 (arg1
)->Append((wxArrayString
const &)*arg2
);
34617 wxPyEndAllowThreads(__tstate
);
34618 if (PyErr_Occurred()) SWIG_fail
;
34620 Py_INCREF(Py_None
); resultobj
= Py_None
;
34622 if (temp2
) delete arg2
;
34627 if (temp2
) delete arg2
;
34633 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34634 PyObject
*resultobj
;
34635 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34636 wxString
*arg2
= 0 ;
34638 PyObject
*arg4
= (PyObject
*) NULL
;
34640 bool temp2
= false ;
34641 PyObject
* obj0
= 0 ;
34642 PyObject
* obj1
= 0 ;
34643 PyObject
* obj2
= 0 ;
34644 PyObject
* obj3
= 0 ;
34645 char *kwnames
[] = {
34646 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34653 arg2
= wxString_in_helper(obj1
);
34654 if (arg2
== NULL
) SWIG_fail
;
34657 arg3
= (int)SWIG_As_int(obj2
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34664 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34666 wxPyEndAllowThreads(__tstate
);
34667 if (PyErr_Occurred()) SWIG_fail
;
34669 resultobj
= SWIG_From_int((int)result
);
34684 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34685 PyObject
*resultobj
;
34686 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34687 PyObject
* obj0
= 0 ;
34688 char *kwnames
[] = {
34689 (char *) "self", NULL
34692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34699 wxPyEndAllowThreads(__tstate
);
34700 if (PyErr_Occurred()) SWIG_fail
;
34702 Py_INCREF(Py_None
); resultobj
= Py_None
;
34709 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34710 PyObject
*resultobj
;
34711 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34713 PyObject
* obj0
= 0 ;
34714 PyObject
* obj1
= 0 ;
34715 char *kwnames
[] = {
34716 (char *) "self",(char *) "n", NULL
34719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34722 arg2
= (int)SWIG_As_int(obj1
);
34723 if (PyErr_Occurred()) SWIG_fail
;
34725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34726 (arg1
)->Delete(arg2
);
34728 wxPyEndAllowThreads(__tstate
);
34729 if (PyErr_Occurred()) SWIG_fail
;
34731 Py_INCREF(Py_None
); resultobj
= Py_None
;
34738 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34739 PyObject
*resultobj
;
34740 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34742 PyObject
* obj0
= 0 ;
34743 char *kwnames
[] = {
34744 (char *) "self", NULL
34747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34752 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34754 wxPyEndAllowThreads(__tstate
);
34755 if (PyErr_Occurred()) SWIG_fail
;
34757 resultobj
= SWIG_From_int((int)result
);
34764 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34765 PyObject
*resultobj
;
34766 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34768 PyObject
* obj0
= 0 ;
34769 char *kwnames
[] = {
34770 (char *) "self", NULL
34773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34778 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34780 wxPyEndAllowThreads(__tstate
);
34781 if (PyErr_Occurred()) SWIG_fail
;
34784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34792 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34793 PyObject
*resultobj
;
34794 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34797 PyObject
* obj0
= 0 ;
34798 PyObject
* obj1
= 0 ;
34799 char *kwnames
[] = {
34800 (char *) "self",(char *) "n", NULL
34803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34806 arg2
= (int)SWIG_As_int(obj1
);
34807 if (PyErr_Occurred()) SWIG_fail
;
34809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34810 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34812 wxPyEndAllowThreads(__tstate
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34828 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
;
34830 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34831 wxArrayString result
;
34832 PyObject
* obj0
= 0 ;
34833 char *kwnames
[] = {
34834 (char *) "self", NULL
34837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34844 wxPyEndAllowThreads(__tstate
);
34845 if (PyErr_Occurred()) SWIG_fail
;
34848 resultobj
= wxArrayString2PyList_helper(result
);
34856 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34857 PyObject
*resultobj
;
34858 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34860 wxString
*arg3
= 0 ;
34861 bool temp3
= false ;
34862 PyObject
* obj0
= 0 ;
34863 PyObject
* obj1
= 0 ;
34864 PyObject
* obj2
= 0 ;
34865 char *kwnames
[] = {
34866 (char *) "self",(char *) "n",(char *) "s", NULL
34869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34872 arg2
= (int)SWIG_As_int(obj1
);
34873 if (PyErr_Occurred()) SWIG_fail
;
34875 arg3
= wxString_in_helper(obj2
);
34876 if (arg3
== NULL
) SWIG_fail
;
34880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34881 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34883 wxPyEndAllowThreads(__tstate
);
34884 if (PyErr_Occurred()) SWIG_fail
;
34886 Py_INCREF(Py_None
); resultobj
= Py_None
;
34901 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34902 PyObject
*resultobj
;
34903 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34904 wxString
*arg2
= 0 ;
34906 bool temp2
= false ;
34907 PyObject
* obj0
= 0 ;
34908 PyObject
* obj1
= 0 ;
34909 char *kwnames
[] = {
34910 (char *) "self",(char *) "s", NULL
34913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34917 arg2
= wxString_in_helper(obj1
);
34918 if (arg2
== NULL
) SWIG_fail
;
34922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34923 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34925 wxPyEndAllowThreads(__tstate
);
34926 if (PyErr_Occurred()) SWIG_fail
;
34928 resultobj
= SWIG_From_int((int)result
);
34943 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34944 PyObject
*resultobj
;
34945 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34947 PyObject
* obj0
= 0 ;
34948 PyObject
* obj1
= 0 ;
34949 char *kwnames
[] = {
34950 (char *) "self",(char *) "n", NULL
34953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34956 arg2
= (int)SWIG_As_int(obj1
);
34957 if (PyErr_Occurred()) SWIG_fail
;
34959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34960 (arg1
)->Select(arg2
);
34962 wxPyEndAllowThreads(__tstate
);
34963 if (PyErr_Occurred()) SWIG_fail
;
34965 Py_INCREF(Py_None
); resultobj
= Py_None
;
34972 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34973 PyObject
*resultobj
;
34974 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34976 PyObject
* obj0
= 0 ;
34977 char *kwnames
[] = {
34978 (char *) "self", NULL
34981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34986 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34988 wxPyEndAllowThreads(__tstate
);
34989 if (PyErr_Occurred()) SWIG_fail
;
34991 resultobj
= SWIG_From_int((int)result
);
34998 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34999 PyObject
*resultobj
;
35000 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
35002 PyObject
* obj0
= 0 ;
35003 char *kwnames
[] = {
35004 (char *) "self", NULL
35007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
35008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
35009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35012 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
35014 wxPyEndAllowThreads(__tstate
);
35015 if (PyErr_Occurred()) SWIG_fail
;
35019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35030 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35031 PyObject
*resultobj
;
35032 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
35035 PyObject
* obj0
= 0 ;
35036 PyObject
* obj1
= 0 ;
35037 char *kwnames
[] = {
35038 (char *) "self",(char *) "n", NULL
35041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
35042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
35043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35044 arg2
= (int)SWIG_As_int(obj1
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35048 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
35050 wxPyEndAllowThreads(__tstate
);
35051 if (PyErr_Occurred()) SWIG_fail
;
35053 resultobj
= result
;
35060 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35061 PyObject
*resultobj
;
35062 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
35064 PyObject
*arg3
= (PyObject
*) 0 ;
35065 PyObject
* obj0
= 0 ;
35066 PyObject
* obj1
= 0 ;
35067 PyObject
* obj2
= 0 ;
35068 char *kwnames
[] = {
35069 (char *) "self",(char *) "n",(char *) "clientData", NULL
35072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
35074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35075 arg2
= (int)SWIG_As_int(obj1
);
35076 if (PyErr_Occurred()) SWIG_fail
;
35079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35080 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
35082 wxPyEndAllowThreads(__tstate
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35085 Py_INCREF(Py_None
); resultobj
= Py_None
;
35092 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
35094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35095 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
35097 return Py_BuildValue((char *)"");
35099 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
35101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35102 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
35104 return Py_BuildValue((char *)"");
35106 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35107 PyObject
*resultobj
;
35108 wxSizerItem
*result
;
35109 char *kwnames
[] = {
35113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
35115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 result
= (wxSizerItem
*)new wxSizerItem();
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35128 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35129 PyObject
*resultobj
;
35130 wxWindow
*arg1
= (wxWindow
*) 0 ;
35134 PyObject
*arg5
= (PyObject
*) NULL
;
35135 wxSizerItem
*result
;
35136 PyObject
* obj0
= 0 ;
35137 PyObject
* obj1
= 0 ;
35138 PyObject
* obj2
= 0 ;
35139 PyObject
* obj3
= 0 ;
35140 PyObject
* obj4
= 0 ;
35141 char *kwnames
[] = {
35142 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
35147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35148 arg2
= (int)SWIG_As_int(obj1
);
35149 if (PyErr_Occurred()) SWIG_fail
;
35150 arg3
= (int)SWIG_As_int(obj2
);
35151 if (PyErr_Occurred()) SWIG_fail
;
35152 arg4
= (int)SWIG_As_int(obj3
);
35153 if (PyErr_Occurred()) SWIG_fail
;
35158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35159 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35161 wxPyEndAllowThreads(__tstate
);
35162 if (PyErr_Occurred()) SWIG_fail
;
35164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35171 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35172 PyObject
*resultobj
;
35178 PyObject
*arg6
= (PyObject
*) NULL
;
35179 wxSizerItem
*result
;
35180 PyObject
* obj0
= 0 ;
35181 PyObject
* obj1
= 0 ;
35182 PyObject
* obj2
= 0 ;
35183 PyObject
* obj3
= 0 ;
35184 PyObject
* obj4
= 0 ;
35185 PyObject
* obj5
= 0 ;
35186 char *kwnames
[] = {
35187 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35191 arg1
= (int)SWIG_As_int(obj0
);
35192 if (PyErr_Occurred()) SWIG_fail
;
35193 arg2
= (int)SWIG_As_int(obj1
);
35194 if (PyErr_Occurred()) SWIG_fail
;
35195 arg3
= (int)SWIG_As_int(obj2
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35197 arg4
= (int)SWIG_As_int(obj3
);
35198 if (PyErr_Occurred()) SWIG_fail
;
35199 arg5
= (int)SWIG_As_int(obj4
);
35200 if (PyErr_Occurred()) SWIG_fail
;
35205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35206 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35208 wxPyEndAllowThreads(__tstate
);
35209 if (PyErr_Occurred()) SWIG_fail
;
35211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35218 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35219 PyObject
*resultobj
;
35220 wxSizer
*arg1
= (wxSizer
*) 0 ;
35224 PyObject
*arg5
= (PyObject
*) NULL
;
35225 wxSizerItem
*result
;
35226 PyObject
* obj0
= 0 ;
35227 PyObject
* obj1
= 0 ;
35228 PyObject
* obj2
= 0 ;
35229 PyObject
* obj3
= 0 ;
35230 PyObject
* obj4
= 0 ;
35231 char *kwnames
[] = {
35232 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35238 arg2
= (int)SWIG_As_int(obj1
);
35239 if (PyErr_Occurred()) SWIG_fail
;
35240 arg3
= (int)SWIG_As_int(obj2
);
35241 if (PyErr_Occurred()) SWIG_fail
;
35242 arg4
= (int)SWIG_As_int(obj3
);
35243 if (PyErr_Occurred()) SWIG_fail
;
35248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35249 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35251 wxPyEndAllowThreads(__tstate
);
35252 if (PyErr_Occurred()) SWIG_fail
;
35254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35261 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35262 PyObject
*resultobj
;
35263 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35264 PyObject
* obj0
= 0 ;
35265 char *kwnames
[] = {
35266 (char *) "self", NULL
35269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 (arg1
)->DeleteWindows();
35276 wxPyEndAllowThreads(__tstate
);
35277 if (PyErr_Occurred()) SWIG_fail
;
35279 Py_INCREF(Py_None
); resultobj
= Py_None
;
35286 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35287 PyObject
*resultobj
;
35288 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35289 PyObject
* obj0
= 0 ;
35290 char *kwnames
[] = {
35291 (char *) "self", NULL
35294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
35295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35299 (arg1
)->DetachSizer();
35301 wxPyEndAllowThreads(__tstate
);
35302 if (PyErr_Occurred()) SWIG_fail
;
35304 Py_INCREF(Py_None
); resultobj
= Py_None
;
35311 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35312 PyObject
*resultobj
;
35313 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35315 PyObject
* obj0
= 0 ;
35316 char *kwnames
[] = {
35317 (char *) "self", NULL
35320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
35321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35325 result
= (arg1
)->GetSize();
35327 wxPyEndAllowThreads(__tstate
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35331 wxSize
* resultptr
;
35332 resultptr
= new wxSize((wxSize
&) result
);
35333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35341 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35342 PyObject
*resultobj
;
35343 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35345 PyObject
* obj0
= 0 ;
35346 char *kwnames
[] = {
35347 (char *) "self", NULL
35350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
35351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35355 result
= (arg1
)->CalcMin();
35357 wxPyEndAllowThreads(__tstate
);
35358 if (PyErr_Occurred()) SWIG_fail
;
35361 wxSize
* resultptr
;
35362 resultptr
= new wxSize((wxSize
&) result
);
35363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35371 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35372 PyObject
*resultobj
;
35373 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35378 PyObject
* obj0
= 0 ;
35379 PyObject
* obj1
= 0 ;
35380 PyObject
* obj2
= 0 ;
35381 char *kwnames
[] = {
35382 (char *) "self",(char *) "pos",(char *) "size", NULL
35385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35388 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
35389 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35391 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
35392 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 (arg1
)->SetDimension(arg2
,arg3
);
35398 wxPyEndAllowThreads(__tstate
);
35399 if (PyErr_Occurred()) SWIG_fail
;
35401 Py_INCREF(Py_None
); resultobj
= Py_None
;
35408 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35409 PyObject
*resultobj
;
35410 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35412 PyObject
* obj0
= 0 ;
35413 char *kwnames
[] = {
35414 (char *) "self", NULL
35417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
35418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35422 result
= (arg1
)->GetMinSize();
35424 wxPyEndAllowThreads(__tstate
);
35425 if (PyErr_Occurred()) SWIG_fail
;
35428 wxSize
* resultptr
;
35429 resultptr
= new wxSize((wxSize
&) result
);
35430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35438 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35439 PyObject
*resultobj
;
35440 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35442 PyObject
* obj0
= 0 ;
35443 char *kwnames
[] = {
35444 (char *) "self", NULL
35447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
35448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35452 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
35454 wxPyEndAllowThreads(__tstate
);
35455 if (PyErr_Occurred()) SWIG_fail
;
35458 wxSize
* resultptr
;
35459 resultptr
= new wxSize((wxSize
&) result
);
35460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35468 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35469 PyObject
*resultobj
;
35470 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35473 PyObject
* obj0
= 0 ;
35474 PyObject
* obj1
= 0 ;
35475 PyObject
* obj2
= 0 ;
35476 char *kwnames
[] = {
35477 (char *) "self",(char *) "x",(char *) "y", NULL
35480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35483 arg2
= (int)SWIG_As_int(obj1
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35485 arg3
= (int)SWIG_As_int(obj2
);
35486 if (PyErr_Occurred()) SWIG_fail
;
35488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35489 (arg1
)->SetInitSize(arg2
,arg3
);
35491 wxPyEndAllowThreads(__tstate
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35494 Py_INCREF(Py_None
); resultobj
= Py_None
;
35501 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35502 PyObject
*resultobj
;
35503 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35506 PyObject
* obj0
= 0 ;
35507 PyObject
* obj1
= 0 ;
35508 PyObject
* obj2
= 0 ;
35509 char *kwnames
[] = {
35510 (char *) "self",(char *) "width",(char *) "height", NULL
35513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35516 arg2
= (int)SWIG_As_int(obj1
);
35517 if (PyErr_Occurred()) SWIG_fail
;
35518 arg3
= (int)SWIG_As_int(obj2
);
35519 if (PyErr_Occurred()) SWIG_fail
;
35521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35522 (arg1
)->SetRatio(arg2
,arg3
);
35524 wxPyEndAllowThreads(__tstate
);
35525 if (PyErr_Occurred()) SWIG_fail
;
35527 Py_INCREF(Py_None
); resultobj
= Py_None
;
35534 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35535 PyObject
*resultobj
;
35536 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35539 PyObject
* obj0
= 0 ;
35540 PyObject
* obj1
= 0 ;
35541 char *kwnames
[] = {
35542 (char *) "self",(char *) "size", NULL
35545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35548 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
35549 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35553 (arg1
)->SetRatio(arg2
);
35555 wxPyEndAllowThreads(__tstate
);
35556 if (PyErr_Occurred()) SWIG_fail
;
35558 Py_INCREF(Py_None
); resultobj
= Py_None
;
35565 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35566 PyObject
*resultobj
;
35567 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35569 PyObject
* obj0
= 0 ;
35570 PyObject
* obj1
= 0 ;
35571 char *kwnames
[] = {
35572 (char *) "self",(char *) "ratio", NULL
35575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35578 arg2
= (float)SWIG_As_float(obj1
);
35579 if (PyErr_Occurred()) SWIG_fail
;
35581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35582 (arg1
)->SetRatio(arg2
);
35584 wxPyEndAllowThreads(__tstate
);
35585 if (PyErr_Occurred()) SWIG_fail
;
35587 Py_INCREF(Py_None
); resultobj
= Py_None
;
35594 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35595 PyObject
*resultobj
;
35596 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35598 PyObject
* obj0
= 0 ;
35599 char *kwnames
[] = {
35600 (char *) "self", NULL
35603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 result
= (float)(arg1
)->GetRatio();
35610 wxPyEndAllowThreads(__tstate
);
35611 if (PyErr_Occurred()) SWIG_fail
;
35613 resultobj
= SWIG_From_float((float)result
);
35620 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35621 PyObject
*resultobj
;
35622 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35624 PyObject
* obj0
= 0 ;
35625 char *kwnames
[] = {
35626 (char *) "self", NULL
35629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
35630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35634 result
= (arg1
)->GetRect();
35636 wxPyEndAllowThreads(__tstate
);
35637 if (PyErr_Occurred()) SWIG_fail
;
35640 wxRect
* resultptr
;
35641 resultptr
= new wxRect((wxRect
&) result
);
35642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35650 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35651 PyObject
*resultobj
;
35652 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35654 PyObject
* obj0
= 0 ;
35655 char *kwnames
[] = {
35656 (char *) "self", NULL
35659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35664 result
= (bool)(arg1
)->IsWindow();
35666 wxPyEndAllowThreads(__tstate
);
35667 if (PyErr_Occurred()) SWIG_fail
;
35670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35678 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35679 PyObject
*resultobj
;
35680 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35682 PyObject
* obj0
= 0 ;
35683 char *kwnames
[] = {
35684 (char *) "self", NULL
35687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35692 result
= (bool)(arg1
)->IsSizer();
35694 wxPyEndAllowThreads(__tstate
);
35695 if (PyErr_Occurred()) SWIG_fail
;
35698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35706 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35707 PyObject
*resultobj
;
35708 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35710 PyObject
* obj0
= 0 ;
35711 char *kwnames
[] = {
35712 (char *) "self", NULL
35715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35720 result
= (bool)(arg1
)->IsSpacer();
35722 wxPyEndAllowThreads(__tstate
);
35723 if (PyErr_Occurred()) SWIG_fail
;
35726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35734 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35735 PyObject
*resultobj
;
35736 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35738 PyObject
* obj0
= 0 ;
35739 PyObject
* obj1
= 0 ;
35740 char *kwnames
[] = {
35741 (char *) "self",(char *) "proportion", NULL
35744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35747 arg2
= (int)SWIG_As_int(obj1
);
35748 if (PyErr_Occurred()) SWIG_fail
;
35750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35751 (arg1
)->SetProportion(arg2
);
35753 wxPyEndAllowThreads(__tstate
);
35754 if (PyErr_Occurred()) SWIG_fail
;
35756 Py_INCREF(Py_None
); resultobj
= Py_None
;
35763 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35764 PyObject
*resultobj
;
35765 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35767 PyObject
* obj0
= 0 ;
35768 char *kwnames
[] = {
35769 (char *) "self", NULL
35772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35777 result
= (int)(arg1
)->GetProportion();
35779 wxPyEndAllowThreads(__tstate
);
35780 if (PyErr_Occurred()) SWIG_fail
;
35782 resultobj
= SWIG_From_int((int)result
);
35789 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35790 PyObject
*resultobj
;
35791 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35793 PyObject
* obj0
= 0 ;
35794 PyObject
* obj1
= 0 ;
35795 char *kwnames
[] = {
35796 (char *) "self",(char *) "flag", NULL
35799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35802 arg2
= (int)SWIG_As_int(obj1
);
35803 if (PyErr_Occurred()) SWIG_fail
;
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35806 (arg1
)->SetFlag(arg2
);
35808 wxPyEndAllowThreads(__tstate
);
35809 if (PyErr_Occurred()) SWIG_fail
;
35811 Py_INCREF(Py_None
); resultobj
= Py_None
;
35818 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35819 PyObject
*resultobj
;
35820 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35822 PyObject
* obj0
= 0 ;
35823 char *kwnames
[] = {
35824 (char *) "self", NULL
35827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35832 result
= (int)(arg1
)->GetFlag();
35834 wxPyEndAllowThreads(__tstate
);
35835 if (PyErr_Occurred()) SWIG_fail
;
35837 resultobj
= SWIG_From_int((int)result
);
35844 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35845 PyObject
*resultobj
;
35846 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35848 PyObject
* obj0
= 0 ;
35849 PyObject
* obj1
= 0 ;
35850 char *kwnames
[] = {
35851 (char *) "self",(char *) "border", NULL
35854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35857 arg2
= (int)SWIG_As_int(obj1
);
35858 if (PyErr_Occurred()) SWIG_fail
;
35860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35861 (arg1
)->SetBorder(arg2
);
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35866 Py_INCREF(Py_None
); resultobj
= Py_None
;
35873 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35874 PyObject
*resultobj
;
35875 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35877 PyObject
* obj0
= 0 ;
35878 char *kwnames
[] = {
35879 (char *) "self", NULL
35882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35887 result
= (int)(arg1
)->GetBorder();
35889 wxPyEndAllowThreads(__tstate
);
35890 if (PyErr_Occurred()) SWIG_fail
;
35892 resultobj
= SWIG_From_int((int)result
);
35899 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35900 PyObject
*resultobj
;
35901 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35903 PyObject
* obj0
= 0 ;
35904 char *kwnames
[] = {
35905 (char *) "self", NULL
35908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35913 result
= (wxWindow
*)(arg1
)->GetWindow();
35915 wxPyEndAllowThreads(__tstate
);
35916 if (PyErr_Occurred()) SWIG_fail
;
35919 resultobj
= wxPyMake_wxObject(result
, 0);
35927 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35928 PyObject
*resultobj
;
35929 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35930 wxWindow
*arg2
= (wxWindow
*) 0 ;
35931 PyObject
* obj0
= 0 ;
35932 PyObject
* obj1
= 0 ;
35933 char *kwnames
[] = {
35934 (char *) "self",(char *) "window", NULL
35937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35944 (arg1
)->SetWindow(arg2
);
35946 wxPyEndAllowThreads(__tstate
);
35947 if (PyErr_Occurred()) SWIG_fail
;
35949 Py_INCREF(Py_None
); resultobj
= Py_None
;
35956 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35957 PyObject
*resultobj
;
35958 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35960 PyObject
* obj0
= 0 ;
35961 char *kwnames
[] = {
35962 (char *) "self", NULL
35965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35970 result
= (wxSizer
*)(arg1
)->GetSizer();
35972 wxPyEndAllowThreads(__tstate
);
35973 if (PyErr_Occurred()) SWIG_fail
;
35976 resultobj
= wxPyMake_wxSizer(result
, 0);
35984 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35985 PyObject
*resultobj
;
35986 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35987 wxSizer
*arg2
= (wxSizer
*) 0 ;
35988 PyObject
* obj0
= 0 ;
35989 PyObject
* obj1
= 0 ;
35990 char *kwnames
[] = {
35991 (char *) "self",(char *) "sizer", NULL
35994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36001 (arg1
)->SetSizer(arg2
);
36003 wxPyEndAllowThreads(__tstate
);
36004 if (PyErr_Occurred()) SWIG_fail
;
36006 Py_INCREF(Py_None
); resultobj
= Py_None
;
36013 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36014 PyObject
*resultobj
;
36015 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36017 PyObject
* obj0
= 0 ;
36018 char *kwnames
[] = {
36019 (char *) "self", NULL
36022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
36023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36028 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
36029 result
= (wxSize
*) &_result_ref
;
36032 wxPyEndAllowThreads(__tstate
);
36033 if (PyErr_Occurred()) SWIG_fail
;
36035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
36042 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36043 PyObject
*resultobj
;
36044 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36047 PyObject
* obj0
= 0 ;
36048 PyObject
* obj1
= 0 ;
36049 char *kwnames
[] = {
36050 (char *) "self",(char *) "size", NULL
36053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
36054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36058 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36062 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
36064 wxPyEndAllowThreads(__tstate
);
36065 if (PyErr_Occurred()) SWIG_fail
;
36067 Py_INCREF(Py_None
); resultobj
= Py_None
;
36074 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36075 PyObject
*resultobj
;
36076 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36078 PyObject
* obj0
= 0 ;
36079 PyObject
* obj1
= 0 ;
36080 char *kwnames
[] = {
36081 (char *) "self",(char *) "show", NULL
36084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
36085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36087 arg2
= (bool)SWIG_As_bool(obj1
);
36088 if (PyErr_Occurred()) SWIG_fail
;
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 (arg1
)->Show(arg2
);
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36096 Py_INCREF(Py_None
); resultobj
= Py_None
;
36103 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36104 PyObject
*resultobj
;
36105 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36107 PyObject
* obj0
= 0 ;
36108 char *kwnames
[] = {
36109 (char *) "self", NULL
36112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
36113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36117 result
= (bool)(arg1
)->IsShown();
36119 wxPyEndAllowThreads(__tstate
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36131 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36132 PyObject
*resultobj
;
36133 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36135 PyObject
* obj0
= 0 ;
36136 char *kwnames
[] = {
36137 (char *) "self", NULL
36140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
36141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36145 result
= (arg1
)->GetPosition();
36147 wxPyEndAllowThreads(__tstate
);
36148 if (PyErr_Occurred()) SWIG_fail
;
36151 wxPoint
* resultptr
;
36152 resultptr
= new wxPoint((wxPoint
&) result
);
36153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36161 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36162 PyObject
*resultobj
;
36163 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36165 PyObject
* obj0
= 0 ;
36166 char *kwnames
[] = {
36167 (char *) "self", NULL
36170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
36171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36175 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
36177 wxPyEndAllowThreads(__tstate
);
36178 if (PyErr_Occurred()) SWIG_fail
;
36180 resultobj
= result
;
36187 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
36189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36190 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
36192 return Py_BuildValue((char *)"");
36194 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36195 PyObject
*resultobj
;
36196 wxSizer
*arg1
= (wxSizer
*) 0 ;
36197 PyObject
*arg2
= (PyObject
*) 0 ;
36198 PyObject
* obj0
= 0 ;
36199 PyObject
* obj1
= 0 ;
36200 char *kwnames
[] = {
36201 (char *) "self",(char *) "_self", NULL
36204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
36205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36210 wxSizer__setOORInfo(arg1
,arg2
);
36212 wxPyEndAllowThreads(__tstate
);
36213 if (PyErr_Occurred()) SWIG_fail
;
36215 Py_INCREF(Py_None
); resultobj
= Py_None
;
36222 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36223 PyObject
*resultobj
;
36224 wxSizer
*arg1
= (wxSizer
*) 0 ;
36225 PyObject
*arg2
= (PyObject
*) 0 ;
36226 int arg3
= (int) 0 ;
36227 int arg4
= (int) 0 ;
36228 int arg5
= (int) 0 ;
36229 PyObject
*arg6
= (PyObject
*) NULL
;
36230 wxSizerItem
*result
;
36231 PyObject
* obj0
= 0 ;
36232 PyObject
* obj1
= 0 ;
36233 PyObject
* obj2
= 0 ;
36234 PyObject
* obj3
= 0 ;
36235 PyObject
* obj4
= 0 ;
36236 PyObject
* obj5
= 0 ;
36237 char *kwnames
[] = {
36238 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36246 arg3
= (int)SWIG_As_int(obj2
);
36247 if (PyErr_Occurred()) SWIG_fail
;
36250 arg4
= (int)SWIG_As_int(obj3
);
36251 if (PyErr_Occurred()) SWIG_fail
;
36254 arg5
= (int)SWIG_As_int(obj4
);
36255 if (PyErr_Occurred()) SWIG_fail
;
36261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36262 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36264 wxPyEndAllowThreads(__tstate
);
36265 if (PyErr_Occurred()) SWIG_fail
;
36267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36274 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36275 PyObject
*resultobj
;
36276 wxSizer
*arg1
= (wxSizer
*) 0 ;
36278 PyObject
*arg3
= (PyObject
*) 0 ;
36279 int arg4
= (int) 0 ;
36280 int arg5
= (int) 0 ;
36281 int arg6
= (int) 0 ;
36282 PyObject
*arg7
= (PyObject
*) NULL
;
36283 wxSizerItem
*result
;
36284 PyObject
* obj0
= 0 ;
36285 PyObject
* obj1
= 0 ;
36286 PyObject
* obj2
= 0 ;
36287 PyObject
* obj3
= 0 ;
36288 PyObject
* obj4
= 0 ;
36289 PyObject
* obj5
= 0 ;
36290 PyObject
* obj6
= 0 ;
36291 char *kwnames
[] = {
36292 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36298 arg2
= (int)SWIG_As_int(obj1
);
36299 if (PyErr_Occurred()) SWIG_fail
;
36302 arg4
= (int)SWIG_As_int(obj3
);
36303 if (PyErr_Occurred()) SWIG_fail
;
36306 arg5
= (int)SWIG_As_int(obj4
);
36307 if (PyErr_Occurred()) SWIG_fail
;
36310 arg6
= (int)SWIG_As_int(obj5
);
36311 if (PyErr_Occurred()) SWIG_fail
;
36317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36318 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36320 wxPyEndAllowThreads(__tstate
);
36321 if (PyErr_Occurred()) SWIG_fail
;
36323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36330 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36331 PyObject
*resultobj
;
36332 wxSizer
*arg1
= (wxSizer
*) 0 ;
36333 PyObject
*arg2
= (PyObject
*) 0 ;
36334 int arg3
= (int) 0 ;
36335 int arg4
= (int) 0 ;
36336 int arg5
= (int) 0 ;
36337 PyObject
*arg6
= (PyObject
*) NULL
;
36338 wxSizerItem
*result
;
36339 PyObject
* obj0
= 0 ;
36340 PyObject
* obj1
= 0 ;
36341 PyObject
* obj2
= 0 ;
36342 PyObject
* obj3
= 0 ;
36343 PyObject
* obj4
= 0 ;
36344 PyObject
* obj5
= 0 ;
36345 char *kwnames
[] = {
36346 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36354 arg3
= (int)SWIG_As_int(obj2
);
36355 if (PyErr_Occurred()) SWIG_fail
;
36358 arg4
= (int)SWIG_As_int(obj3
);
36359 if (PyErr_Occurred()) SWIG_fail
;
36362 arg5
= (int)SWIG_As_int(obj4
);
36363 if (PyErr_Occurred()) SWIG_fail
;
36369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36370 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36372 wxPyEndAllowThreads(__tstate
);
36373 if (PyErr_Occurred()) SWIG_fail
;
36375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36382 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36383 PyObject
*resultobj
;
36384 wxSizer
*arg1
= (wxSizer
*) 0 ;
36385 PyObject
*arg2
= (PyObject
*) 0 ;
36387 PyObject
* obj0
= 0 ;
36388 PyObject
* obj1
= 0 ;
36389 char *kwnames
[] = {
36390 (char *) "self",(char *) "item", NULL
36393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
36394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36399 result
= (bool)wxSizer_Remove(arg1
,arg2
);
36401 wxPyEndAllowThreads(__tstate
);
36402 if (PyErr_Occurred()) SWIG_fail
;
36405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36413 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36414 PyObject
*resultobj
;
36415 wxSizer
*arg1
= (wxSizer
*) 0 ;
36416 PyObject
*arg2
= (PyObject
*) 0 ;
36418 PyObject
* obj0
= 0 ;
36419 PyObject
* obj1
= 0 ;
36420 char *kwnames
[] = {
36421 (char *) "self",(char *) "item", NULL
36424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
36425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36430 result
= (bool)wxSizer_Detach(arg1
,arg2
);
36432 wxPyEndAllowThreads(__tstate
);
36433 if (PyErr_Occurred()) SWIG_fail
;
36436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36444 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36445 PyObject
*resultobj
;
36446 wxSizer
*arg1
= (wxSizer
*) 0 ;
36447 PyObject
*arg2
= (PyObject
*) 0 ;
36448 wxSizerItem
*result
;
36449 PyObject
* obj0
= 0 ;
36450 PyObject
* obj1
= 0 ;
36451 char *kwnames
[] = {
36452 (char *) "self",(char *) "item", NULL
36455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36461 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
36463 wxPyEndAllowThreads(__tstate
);
36464 if (PyErr_Occurred()) SWIG_fail
;
36466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36473 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36474 PyObject
*resultobj
;
36475 wxSizer
*arg1
= (wxSizer
*) 0 ;
36476 PyObject
*arg2
= (PyObject
*) 0 ;
36479 PyObject
* obj0
= 0 ;
36480 PyObject
* obj1
= 0 ;
36481 PyObject
* obj2
= 0 ;
36482 char *kwnames
[] = {
36483 (char *) "self",(char *) "item",(char *) "size", NULL
36486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36492 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36496 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
36498 wxPyEndAllowThreads(__tstate
);
36499 if (PyErr_Occurred()) SWIG_fail
;
36501 Py_INCREF(Py_None
); resultobj
= Py_None
;
36508 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36509 PyObject
*resultobj
;
36510 wxSizer
*arg1
= (wxSizer
*) 0 ;
36511 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36512 wxSizerItem
*result
;
36513 PyObject
* obj0
= 0 ;
36514 PyObject
* obj1
= 0 ;
36515 char *kwnames
[] = {
36516 (char *) "self",(char *) "item", NULL
36519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36526 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
36528 wxPyEndAllowThreads(__tstate
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36538 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36539 PyObject
*resultobj
;
36540 wxSizer
*arg1
= (wxSizer
*) 0 ;
36542 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
36543 wxSizerItem
*result
;
36544 PyObject
* obj0
= 0 ;
36545 PyObject
* obj1
= 0 ;
36546 PyObject
* obj2
= 0 ;
36547 char *kwnames
[] = {
36548 (char *) "self",(char *) "index",(char *) "item", NULL
36551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36554 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36555 if (PyErr_Occurred()) SWIG_fail
;
36556 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
36557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36560 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
36562 wxPyEndAllowThreads(__tstate
);
36563 if (PyErr_Occurred()) SWIG_fail
;
36565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36572 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36573 PyObject
*resultobj
;
36574 wxSizer
*arg1
= (wxSizer
*) 0 ;
36575 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36576 wxSizerItem
*result
;
36577 PyObject
* obj0
= 0 ;
36578 PyObject
* obj1
= 0 ;
36579 char *kwnames
[] = {
36580 (char *) "self",(char *) "item", NULL
36583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36590 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
36592 wxPyEndAllowThreads(__tstate
);
36593 if (PyErr_Occurred()) SWIG_fail
;
36595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36602 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36603 PyObject
*resultobj
;
36604 wxSizer
*arg1
= (wxSizer
*) 0 ;
36609 PyObject
* obj0
= 0 ;
36610 PyObject
* obj1
= 0 ;
36611 PyObject
* obj2
= 0 ;
36612 PyObject
* obj3
= 0 ;
36613 PyObject
* obj4
= 0 ;
36614 char *kwnames
[] = {
36615 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36621 arg2
= (int)SWIG_As_int(obj1
);
36622 if (PyErr_Occurred()) SWIG_fail
;
36623 arg3
= (int)SWIG_As_int(obj2
);
36624 if (PyErr_Occurred()) SWIG_fail
;
36625 arg4
= (int)SWIG_As_int(obj3
);
36626 if (PyErr_Occurred()) SWIG_fail
;
36627 arg5
= (int)SWIG_As_int(obj4
);
36628 if (PyErr_Occurred()) SWIG_fail
;
36630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36631 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36633 wxPyEndAllowThreads(__tstate
);
36634 if (PyErr_Occurred()) SWIG_fail
;
36636 Py_INCREF(Py_None
); resultobj
= Py_None
;
36643 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36644 PyObject
*resultobj
;
36645 wxSizer
*arg1
= (wxSizer
*) 0 ;
36648 PyObject
* obj0
= 0 ;
36649 PyObject
* obj1
= 0 ;
36650 char *kwnames
[] = {
36651 (char *) "self",(char *) "size", NULL
36654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36659 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36663 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36665 wxPyEndAllowThreads(__tstate
);
36666 if (PyErr_Occurred()) SWIG_fail
;
36668 Py_INCREF(Py_None
); resultobj
= Py_None
;
36675 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36676 PyObject
*resultobj
;
36677 wxSizer
*arg1
= (wxSizer
*) 0 ;
36679 PyObject
* obj0
= 0 ;
36680 char *kwnames
[] = {
36681 (char *) "self", NULL
36684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36689 result
= (arg1
)->GetSize();
36691 wxPyEndAllowThreads(__tstate
);
36692 if (PyErr_Occurred()) SWIG_fail
;
36695 wxSize
* resultptr
;
36696 resultptr
= new wxSize((wxSize
&) result
);
36697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36705 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36706 PyObject
*resultobj
;
36707 wxSizer
*arg1
= (wxSizer
*) 0 ;
36709 PyObject
* obj0
= 0 ;
36710 char *kwnames
[] = {
36711 (char *) "self", NULL
36714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36719 result
= (arg1
)->GetPosition();
36721 wxPyEndAllowThreads(__tstate
);
36722 if (PyErr_Occurred()) SWIG_fail
;
36725 wxPoint
* resultptr
;
36726 resultptr
= new wxPoint((wxPoint
&) result
);
36727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36735 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36736 PyObject
*resultobj
;
36737 wxSizer
*arg1
= (wxSizer
*) 0 ;
36739 PyObject
* obj0
= 0 ;
36740 char *kwnames
[] = {
36741 (char *) "self", NULL
36744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36749 result
= (arg1
)->GetMinSize();
36751 wxPyEndAllowThreads(__tstate
);
36752 if (PyErr_Occurred()) SWIG_fail
;
36755 wxSize
* resultptr
;
36756 resultptr
= new wxSize((wxSize
&) result
);
36757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36765 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36766 PyObject
*resultobj
;
36767 wxSizer
*arg1
= (wxSizer
*) 0 ;
36768 PyObject
* obj0
= 0 ;
36769 char *kwnames
[] = {
36770 (char *) "self", NULL
36773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36778 (arg1
)->RecalcSizes();
36780 wxPyEndAllowThreads(__tstate
);
36781 if (PyErr_Occurred()) SWIG_fail
;
36783 Py_INCREF(Py_None
); resultobj
= Py_None
;
36790 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36791 PyObject
*resultobj
;
36792 wxSizer
*arg1
= (wxSizer
*) 0 ;
36794 PyObject
* obj0
= 0 ;
36795 char *kwnames
[] = {
36796 (char *) "self", NULL
36799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36804 result
= (arg1
)->CalcMin();
36806 wxPyEndAllowThreads(__tstate
);
36807 if (PyErr_Occurred()) SWIG_fail
;
36810 wxSize
* resultptr
;
36811 resultptr
= new wxSize((wxSize
&) result
);
36812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36820 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36821 PyObject
*resultobj
;
36822 wxSizer
*arg1
= (wxSizer
*) 0 ;
36823 PyObject
* obj0
= 0 ;
36824 char *kwnames
[] = {
36825 (char *) "self", NULL
36828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36835 wxPyEndAllowThreads(__tstate
);
36836 if (PyErr_Occurred()) SWIG_fail
;
36838 Py_INCREF(Py_None
); resultobj
= Py_None
;
36845 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36846 PyObject
*resultobj
;
36847 wxSizer
*arg1
= (wxSizer
*) 0 ;
36848 wxWindow
*arg2
= (wxWindow
*) 0 ;
36850 PyObject
* obj0
= 0 ;
36851 PyObject
* obj1
= 0 ;
36852 char *kwnames
[] = {
36853 (char *) "self",(char *) "window", NULL
36856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36863 result
= (arg1
)->Fit(arg2
);
36865 wxPyEndAllowThreads(__tstate
);
36866 if (PyErr_Occurred()) SWIG_fail
;
36869 wxSize
* resultptr
;
36870 resultptr
= new wxSize((wxSize
&) result
);
36871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36879 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36880 PyObject
*resultobj
;
36881 wxSizer
*arg1
= (wxSizer
*) 0 ;
36882 wxWindow
*arg2
= (wxWindow
*) 0 ;
36883 PyObject
* obj0
= 0 ;
36884 PyObject
* obj1
= 0 ;
36885 char *kwnames
[] = {
36886 (char *) "self",(char *) "window", NULL
36889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36896 (arg1
)->FitInside(arg2
);
36898 wxPyEndAllowThreads(__tstate
);
36899 if (PyErr_Occurred()) SWIG_fail
;
36901 Py_INCREF(Py_None
); resultobj
= Py_None
;
36908 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36909 PyObject
*resultobj
;
36910 wxSizer
*arg1
= (wxSizer
*) 0 ;
36911 wxWindow
*arg2
= (wxWindow
*) 0 ;
36912 PyObject
* obj0
= 0 ;
36913 PyObject
* obj1
= 0 ;
36914 char *kwnames
[] = {
36915 (char *) "self",(char *) "window", NULL
36918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36925 (arg1
)->SetSizeHints(arg2
);
36927 wxPyEndAllowThreads(__tstate
);
36928 if (PyErr_Occurred()) SWIG_fail
;
36930 Py_INCREF(Py_None
); resultobj
= Py_None
;
36937 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36938 PyObject
*resultobj
;
36939 wxSizer
*arg1
= (wxSizer
*) 0 ;
36940 wxWindow
*arg2
= (wxWindow
*) 0 ;
36941 PyObject
* obj0
= 0 ;
36942 PyObject
* obj1
= 0 ;
36943 char *kwnames
[] = {
36944 (char *) "self",(char *) "window", NULL
36947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36954 (arg1
)->SetVirtualSizeHints(arg2
);
36956 wxPyEndAllowThreads(__tstate
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36959 Py_INCREF(Py_None
); resultobj
= Py_None
;
36966 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36967 PyObject
*resultobj
;
36968 wxSizer
*arg1
= (wxSizer
*) 0 ;
36969 bool arg2
= (bool) false ;
36970 PyObject
* obj0
= 0 ;
36971 PyObject
* obj1
= 0 ;
36972 char *kwnames
[] = {
36973 (char *) "self",(char *) "deleteWindows", NULL
36976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36980 arg2
= (bool)SWIG_As_bool(obj1
);
36981 if (PyErr_Occurred()) SWIG_fail
;
36984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36985 (arg1
)->Clear(arg2
);
36987 wxPyEndAllowThreads(__tstate
);
36988 if (PyErr_Occurred()) SWIG_fail
;
36990 Py_INCREF(Py_None
); resultobj
= Py_None
;
36997 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36998 PyObject
*resultobj
;
36999 wxSizer
*arg1
= (wxSizer
*) 0 ;
37000 PyObject
* obj0
= 0 ;
37001 char *kwnames
[] = {
37002 (char *) "self", NULL
37005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37010 (arg1
)->DeleteWindows();
37012 wxPyEndAllowThreads(__tstate
);
37013 if (PyErr_Occurred()) SWIG_fail
;
37015 Py_INCREF(Py_None
); resultobj
= Py_None
;
37022 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37023 PyObject
*resultobj
;
37024 wxSizer
*arg1
= (wxSizer
*) 0 ;
37026 PyObject
* obj0
= 0 ;
37027 char *kwnames
[] = {
37028 (char *) "self", NULL
37031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
37032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37036 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
37038 wxPyEndAllowThreads(__tstate
);
37039 if (PyErr_Occurred()) SWIG_fail
;
37041 resultobj
= result
;
37048 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37049 PyObject
*resultobj
;
37050 wxSizer
*arg1
= (wxSizer
*) 0 ;
37051 PyObject
*arg2
= (PyObject
*) 0 ;
37052 bool arg3
= (bool) true ;
37053 bool arg4
= (bool) false ;
37055 PyObject
* obj0
= 0 ;
37056 PyObject
* obj1
= 0 ;
37057 PyObject
* obj2
= 0 ;
37058 PyObject
* obj3
= 0 ;
37059 char *kwnames
[] = {
37060 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
37063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37068 arg3
= (bool)SWIG_As_bool(obj2
);
37069 if (PyErr_Occurred()) SWIG_fail
;
37072 arg4
= (bool)SWIG_As_bool(obj3
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37077 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
37079 wxPyEndAllowThreads(__tstate
);
37080 if (PyErr_Occurred()) SWIG_fail
;
37083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37091 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37092 PyObject
*resultobj
;
37093 wxSizer
*arg1
= (wxSizer
*) 0 ;
37094 PyObject
*arg2
= (PyObject
*) 0 ;
37096 PyObject
* obj0
= 0 ;
37097 PyObject
* obj1
= 0 ;
37098 char *kwnames
[] = {
37099 (char *) "self",(char *) "item", NULL
37102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
37103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37108 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
37110 wxPyEndAllowThreads(__tstate
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37122 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37123 PyObject
*resultobj
;
37124 wxSizer
*arg1
= (wxSizer
*) 0 ;
37126 PyObject
* obj0
= 0 ;
37127 PyObject
* obj1
= 0 ;
37128 char *kwnames
[] = {
37129 (char *) "self",(char *) "show", NULL
37132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37135 arg2
= (bool)SWIG_As_bool(obj1
);
37136 if (PyErr_Occurred()) SWIG_fail
;
37138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37139 (arg1
)->ShowItems(arg2
);
37141 wxPyEndAllowThreads(__tstate
);
37142 if (PyErr_Occurred()) SWIG_fail
;
37144 Py_INCREF(Py_None
); resultobj
= Py_None
;
37151 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
37153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37154 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
37156 return Py_BuildValue((char *)"");
37158 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37159 PyObject
*resultobj
;
37161 char *kwnames
[] = {
37165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
37167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37168 result
= (wxPySizer
*)new wxPySizer();
37170 wxPyEndAllowThreads(__tstate
);
37171 if (PyErr_Occurred()) SWIG_fail
;
37173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
37180 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37181 PyObject
*resultobj
;
37182 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
37183 PyObject
*arg2
= (PyObject
*) 0 ;
37184 PyObject
*arg3
= (PyObject
*) 0 ;
37185 PyObject
* obj0
= 0 ;
37186 PyObject
* obj1
= 0 ;
37187 PyObject
* obj2
= 0 ;
37188 char *kwnames
[] = {
37189 (char *) "self",(char *) "self",(char *) "_class", NULL
37192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
37194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37199 (arg1
)->_setCallbackInfo(arg2
,arg3
);
37201 wxPyEndAllowThreads(__tstate
);
37202 if (PyErr_Occurred()) SWIG_fail
;
37204 Py_INCREF(Py_None
); resultobj
= Py_None
;
37211 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
37213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37214 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
37216 return Py_BuildValue((char *)"");
37218 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37219 PyObject
*resultobj
;
37220 int arg1
= (int) wxHORIZONTAL
;
37221 wxBoxSizer
*result
;
37222 PyObject
* obj0
= 0 ;
37223 char *kwnames
[] = {
37224 (char *) "orient", NULL
37227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
37229 arg1
= (int)SWIG_As_int(obj0
);
37230 if (PyErr_Occurred()) SWIG_fail
;
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
37236 wxPyEndAllowThreads(__tstate
);
37237 if (PyErr_Occurred()) SWIG_fail
;
37239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
37246 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37247 PyObject
*resultobj
;
37248 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
37250 PyObject
* obj0
= 0 ;
37251 char *kwnames
[] = {
37252 (char *) "self", NULL
37255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
37256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
37257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37260 result
= (int)(arg1
)->GetOrientation();
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37265 resultobj
= SWIG_From_int((int)result
);
37272 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37273 PyObject
*resultobj
;
37274 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
37276 PyObject
* obj0
= 0 ;
37277 PyObject
* obj1
= 0 ;
37278 char *kwnames
[] = {
37279 (char *) "self",(char *) "orient", NULL
37282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
37283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
37284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37285 arg2
= (int)SWIG_As_int(obj1
);
37286 if (PyErr_Occurred()) SWIG_fail
;
37288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37289 (arg1
)->SetOrientation(arg2
);
37291 wxPyEndAllowThreads(__tstate
);
37292 if (PyErr_Occurred()) SWIG_fail
;
37294 Py_INCREF(Py_None
); resultobj
= Py_None
;
37301 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37304 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
37306 return Py_BuildValue((char *)"");
37308 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37309 PyObject
*resultobj
;
37310 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
37311 int arg2
= (int) wxHORIZONTAL
;
37312 wxStaticBoxSizer
*result
;
37313 PyObject
* obj0
= 0 ;
37314 PyObject
* obj1
= 0 ;
37315 char *kwnames
[] = {
37316 (char *) "box",(char *) "orient", NULL
37319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
37321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37323 arg2
= (int)SWIG_As_int(obj1
);
37324 if (PyErr_Occurred()) SWIG_fail
;
37327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37328 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
37330 wxPyEndAllowThreads(__tstate
);
37331 if (PyErr_Occurred()) SWIG_fail
;
37333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
37340 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37341 PyObject
*resultobj
;
37342 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
37343 wxStaticBox
*result
;
37344 PyObject
* obj0
= 0 ;
37345 char *kwnames
[] = {
37346 (char *) "self", NULL
37349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
37350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
37351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37354 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
37356 wxPyEndAllowThreads(__tstate
);
37357 if (PyErr_Occurred()) SWIG_fail
;
37360 resultobj
= wxPyMake_wxObject(result
, 0);
37368 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37371 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
37373 return Py_BuildValue((char *)"");
37375 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37376 PyObject
*resultobj
;
37377 int arg1
= (int) 1 ;
37378 int arg2
= (int) 0 ;
37379 int arg3
= (int) 0 ;
37380 int arg4
= (int) 0 ;
37381 wxGridSizer
*result
;
37382 PyObject
* obj0
= 0 ;
37383 PyObject
* obj1
= 0 ;
37384 PyObject
* obj2
= 0 ;
37385 PyObject
* obj3
= 0 ;
37386 char *kwnames
[] = {
37387 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37392 arg1
= (int)SWIG_As_int(obj0
);
37393 if (PyErr_Occurred()) SWIG_fail
;
37396 arg2
= (int)SWIG_As_int(obj1
);
37397 if (PyErr_Occurred()) SWIG_fail
;
37400 arg3
= (int)SWIG_As_int(obj2
);
37401 if (PyErr_Occurred()) SWIG_fail
;
37404 arg4
= (int)SWIG_As_int(obj3
);
37405 if (PyErr_Occurred()) SWIG_fail
;
37408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37409 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
37411 wxPyEndAllowThreads(__tstate
);
37412 if (PyErr_Occurred()) SWIG_fail
;
37414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
37421 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37422 PyObject
*resultobj
;
37423 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37425 PyObject
* obj0
= 0 ;
37426 PyObject
* obj1
= 0 ;
37427 char *kwnames
[] = {
37428 (char *) "self",(char *) "cols", NULL
37431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
37432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37434 arg2
= (int)SWIG_As_int(obj1
);
37435 if (PyErr_Occurred()) SWIG_fail
;
37437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37438 (arg1
)->SetCols(arg2
);
37440 wxPyEndAllowThreads(__tstate
);
37441 if (PyErr_Occurred()) SWIG_fail
;
37443 Py_INCREF(Py_None
); resultobj
= Py_None
;
37450 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37451 PyObject
*resultobj
;
37452 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37454 PyObject
* obj0
= 0 ;
37455 PyObject
* obj1
= 0 ;
37456 char *kwnames
[] = {
37457 (char *) "self",(char *) "rows", NULL
37460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
37461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37463 arg2
= (int)SWIG_As_int(obj1
);
37464 if (PyErr_Occurred()) SWIG_fail
;
37466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37467 (arg1
)->SetRows(arg2
);
37469 wxPyEndAllowThreads(__tstate
);
37470 if (PyErr_Occurred()) SWIG_fail
;
37472 Py_INCREF(Py_None
); resultobj
= Py_None
;
37479 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37480 PyObject
*resultobj
;
37481 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37483 PyObject
* obj0
= 0 ;
37484 PyObject
* obj1
= 0 ;
37485 char *kwnames
[] = {
37486 (char *) "self",(char *) "gap", NULL
37489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37492 arg2
= (int)SWIG_As_int(obj1
);
37493 if (PyErr_Occurred()) SWIG_fail
;
37495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37496 (arg1
)->SetVGap(arg2
);
37498 wxPyEndAllowThreads(__tstate
);
37499 if (PyErr_Occurred()) SWIG_fail
;
37501 Py_INCREF(Py_None
); resultobj
= Py_None
;
37508 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37509 PyObject
*resultobj
;
37510 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37512 PyObject
* obj0
= 0 ;
37513 PyObject
* obj1
= 0 ;
37514 char *kwnames
[] = {
37515 (char *) "self",(char *) "gap", NULL
37518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37521 arg2
= (int)SWIG_As_int(obj1
);
37522 if (PyErr_Occurred()) SWIG_fail
;
37524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37525 (arg1
)->SetHGap(arg2
);
37527 wxPyEndAllowThreads(__tstate
);
37528 if (PyErr_Occurred()) SWIG_fail
;
37530 Py_INCREF(Py_None
); resultobj
= Py_None
;
37537 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37538 PyObject
*resultobj
;
37539 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37541 PyObject
* obj0
= 0 ;
37542 char *kwnames
[] = {
37543 (char *) "self", NULL
37546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
37547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37551 result
= (int)(arg1
)->GetCols();
37553 wxPyEndAllowThreads(__tstate
);
37554 if (PyErr_Occurred()) SWIG_fail
;
37556 resultobj
= SWIG_From_int((int)result
);
37563 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37564 PyObject
*resultobj
;
37565 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37567 PyObject
* obj0
= 0 ;
37568 char *kwnames
[] = {
37569 (char *) "self", NULL
37572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
37573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37577 result
= (int)(arg1
)->GetRows();
37579 wxPyEndAllowThreads(__tstate
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37582 resultobj
= SWIG_From_int((int)result
);
37589 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37590 PyObject
*resultobj
;
37591 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37593 PyObject
* obj0
= 0 ;
37594 char *kwnames
[] = {
37595 (char *) "self", NULL
37598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37603 result
= (int)(arg1
)->GetVGap();
37605 wxPyEndAllowThreads(__tstate
);
37606 if (PyErr_Occurred()) SWIG_fail
;
37608 resultobj
= SWIG_From_int((int)result
);
37615 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37616 PyObject
*resultobj
;
37617 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37619 PyObject
* obj0
= 0 ;
37620 char *kwnames
[] = {
37621 (char *) "self", NULL
37624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37629 result
= (int)(arg1
)->GetHGap();
37631 wxPyEndAllowThreads(__tstate
);
37632 if (PyErr_Occurred()) SWIG_fail
;
37634 resultobj
= SWIG_From_int((int)result
);
37641 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37644 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37646 return Py_BuildValue((char *)"");
37648 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37649 PyObject
*resultobj
;
37650 int arg1
= (int) 1 ;
37651 int arg2
= (int) 0 ;
37652 int arg3
= (int) 0 ;
37653 int arg4
= (int) 0 ;
37654 wxFlexGridSizer
*result
;
37655 PyObject
* obj0
= 0 ;
37656 PyObject
* obj1
= 0 ;
37657 PyObject
* obj2
= 0 ;
37658 PyObject
* obj3
= 0 ;
37659 char *kwnames
[] = {
37660 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37665 arg1
= (int)SWIG_As_int(obj0
);
37666 if (PyErr_Occurred()) SWIG_fail
;
37669 arg2
= (int)SWIG_As_int(obj1
);
37670 if (PyErr_Occurred()) SWIG_fail
;
37673 arg3
= (int)SWIG_As_int(obj2
);
37674 if (PyErr_Occurred()) SWIG_fail
;
37677 arg4
= (int)SWIG_As_int(obj3
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37682 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37684 wxPyEndAllowThreads(__tstate
);
37685 if (PyErr_Occurred()) SWIG_fail
;
37687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37694 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37695 PyObject
*resultobj
;
37696 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37698 int arg3
= (int) 0 ;
37699 PyObject
* obj0
= 0 ;
37700 PyObject
* obj1
= 0 ;
37701 PyObject
* obj2
= 0 ;
37702 char *kwnames
[] = {
37703 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37709 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37710 if (PyErr_Occurred()) SWIG_fail
;
37712 arg3
= (int)SWIG_As_int(obj2
);
37713 if (PyErr_Occurred()) SWIG_fail
;
37716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37717 (arg1
)->AddGrowableRow(arg2
,arg3
);
37719 wxPyEndAllowThreads(__tstate
);
37720 if (PyErr_Occurred()) SWIG_fail
;
37722 Py_INCREF(Py_None
); resultobj
= Py_None
;
37729 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37730 PyObject
*resultobj
;
37731 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37733 PyObject
* obj0
= 0 ;
37734 PyObject
* obj1
= 0 ;
37735 char *kwnames
[] = {
37736 (char *) "self",(char *) "idx", NULL
37739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37742 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37746 (arg1
)->RemoveGrowableRow(arg2
);
37748 wxPyEndAllowThreads(__tstate
);
37749 if (PyErr_Occurred()) SWIG_fail
;
37751 Py_INCREF(Py_None
); resultobj
= Py_None
;
37758 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37759 PyObject
*resultobj
;
37760 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37762 int arg3
= (int) 0 ;
37763 PyObject
* obj0
= 0 ;
37764 PyObject
* obj1
= 0 ;
37765 PyObject
* obj2
= 0 ;
37766 char *kwnames
[] = {
37767 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37773 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37774 if (PyErr_Occurred()) SWIG_fail
;
37776 arg3
= (int)SWIG_As_int(obj2
);
37777 if (PyErr_Occurred()) SWIG_fail
;
37780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37781 (arg1
)->AddGrowableCol(arg2
,arg3
);
37783 wxPyEndAllowThreads(__tstate
);
37784 if (PyErr_Occurred()) SWIG_fail
;
37786 Py_INCREF(Py_None
); resultobj
= Py_None
;
37793 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37794 PyObject
*resultobj
;
37795 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37797 PyObject
* obj0
= 0 ;
37798 PyObject
* obj1
= 0 ;
37799 char *kwnames
[] = {
37800 (char *) "self",(char *) "idx", NULL
37803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37806 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37807 if (PyErr_Occurred()) SWIG_fail
;
37809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37810 (arg1
)->RemoveGrowableCol(arg2
);
37812 wxPyEndAllowThreads(__tstate
);
37813 if (PyErr_Occurred()) SWIG_fail
;
37815 Py_INCREF(Py_None
); resultobj
= Py_None
;
37822 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37823 PyObject
*resultobj
;
37824 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37826 PyObject
* obj0
= 0 ;
37827 PyObject
* obj1
= 0 ;
37828 char *kwnames
[] = {
37829 (char *) "self",(char *) "direction", NULL
37832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37835 arg2
= (int)SWIG_As_int(obj1
);
37836 if (PyErr_Occurred()) SWIG_fail
;
37838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37839 (arg1
)->SetFlexibleDirection(arg2
);
37841 wxPyEndAllowThreads(__tstate
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37844 Py_INCREF(Py_None
); resultobj
= Py_None
;
37851 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37852 PyObject
*resultobj
;
37853 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37855 PyObject
* obj0
= 0 ;
37856 char *kwnames
[] = {
37857 (char *) "self", NULL
37860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37865 result
= (int)(arg1
)->GetFlexibleDirection();
37867 wxPyEndAllowThreads(__tstate
);
37868 if (PyErr_Occurred()) SWIG_fail
;
37870 resultobj
= SWIG_From_int((int)result
);
37877 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37878 PyObject
*resultobj
;
37879 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37881 PyObject
* obj0
= 0 ;
37882 PyObject
* obj1
= 0 ;
37883 char *kwnames
[] = {
37884 (char *) "self",(char *) "mode", NULL
37887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37890 arg2
= (int)SWIG_As_int(obj1
);
37891 if (PyErr_Occurred()) SWIG_fail
;
37893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37894 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37896 wxPyEndAllowThreads(__tstate
);
37897 if (PyErr_Occurred()) SWIG_fail
;
37899 Py_INCREF(Py_None
); resultobj
= Py_None
;
37906 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37907 PyObject
*resultobj
;
37908 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37910 PyObject
* obj0
= 0 ;
37911 char *kwnames
[] = {
37912 (char *) "self", NULL
37915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37920 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37922 wxPyEndAllowThreads(__tstate
);
37923 if (PyErr_Occurred()) SWIG_fail
;
37925 resultobj
= SWIG_From_int((int)result
);
37932 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37933 PyObject
*resultobj
;
37934 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37935 wxArrayInt
*result
;
37936 PyObject
* obj0
= 0 ;
37937 char *kwnames
[] = {
37938 (char *) "self", NULL
37941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37947 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37948 result
= (wxArrayInt
*) &_result_ref
;
37951 wxPyEndAllowThreads(__tstate
);
37952 if (PyErr_Occurred()) SWIG_fail
;
37955 resultobj
= PyList_New(0);
37957 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37958 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37959 PyList_Append(resultobj
, val
);
37969 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37970 PyObject
*resultobj
;
37971 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37972 wxArrayInt
*result
;
37973 PyObject
* obj0
= 0 ;
37974 char *kwnames
[] = {
37975 (char *) "self", NULL
37978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37984 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37985 result
= (wxArrayInt
*) &_result_ref
;
37988 wxPyEndAllowThreads(__tstate
);
37989 if (PyErr_Occurred()) SWIG_fail
;
37992 resultobj
= PyList_New(0);
37994 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37995 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37996 PyList_Append(resultobj
, val
);
38006 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
38008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38009 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
38011 return Py_BuildValue((char *)"");
38013 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38014 PyObject
*resultobj
;
38015 int arg1
= (int) 0 ;
38016 int arg2
= (int) 0 ;
38017 wxGBPosition
*result
;
38018 PyObject
* obj0
= 0 ;
38019 PyObject
* obj1
= 0 ;
38020 char *kwnames
[] = {
38021 (char *) "row",(char *) "col", NULL
38024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38026 arg1
= (int)SWIG_As_int(obj0
);
38027 if (PyErr_Occurred()) SWIG_fail
;
38030 arg2
= (int)SWIG_As_int(obj1
);
38031 if (PyErr_Occurred()) SWIG_fail
;
38034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38035 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
38037 wxPyEndAllowThreads(__tstate
);
38038 if (PyErr_Occurred()) SWIG_fail
;
38040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
38047 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38048 PyObject
*resultobj
;
38049 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38051 PyObject
* obj0
= 0 ;
38052 char *kwnames
[] = {
38053 (char *) "self", NULL
38056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
38057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38061 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
38063 wxPyEndAllowThreads(__tstate
);
38064 if (PyErr_Occurred()) SWIG_fail
;
38066 resultobj
= SWIG_From_int((int)result
);
38073 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38074 PyObject
*resultobj
;
38075 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38077 PyObject
* obj0
= 0 ;
38078 char *kwnames
[] = {
38079 (char *) "self", NULL
38082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
38083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38087 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
38089 wxPyEndAllowThreads(__tstate
);
38090 if (PyErr_Occurred()) SWIG_fail
;
38092 resultobj
= SWIG_From_int((int)result
);
38099 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38100 PyObject
*resultobj
;
38101 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38103 PyObject
* obj0
= 0 ;
38104 PyObject
* obj1
= 0 ;
38105 char *kwnames
[] = {
38106 (char *) "self",(char *) "row", NULL
38109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
38110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38112 arg2
= (int)SWIG_As_int(obj1
);
38113 if (PyErr_Occurred()) SWIG_fail
;
38115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38116 (arg1
)->SetRow(arg2
);
38118 wxPyEndAllowThreads(__tstate
);
38119 if (PyErr_Occurred()) SWIG_fail
;
38121 Py_INCREF(Py_None
); resultobj
= Py_None
;
38128 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38129 PyObject
*resultobj
;
38130 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38132 PyObject
* obj0
= 0 ;
38133 PyObject
* obj1
= 0 ;
38134 char *kwnames
[] = {
38135 (char *) "self",(char *) "col", NULL
38138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
38139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38141 arg2
= (int)SWIG_As_int(obj1
);
38142 if (PyErr_Occurred()) SWIG_fail
;
38144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38145 (arg1
)->SetCol(arg2
);
38147 wxPyEndAllowThreads(__tstate
);
38148 if (PyErr_Occurred()) SWIG_fail
;
38150 Py_INCREF(Py_None
); resultobj
= Py_None
;
38157 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38158 PyObject
*resultobj
;
38159 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38160 wxGBPosition
*arg2
= 0 ;
38162 wxGBPosition temp2
;
38163 PyObject
* obj0
= 0 ;
38164 PyObject
* obj1
= 0 ;
38165 char *kwnames
[] = {
38166 (char *) "self",(char *) "other", NULL
38169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38174 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38178 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
38180 wxPyEndAllowThreads(__tstate
);
38181 if (PyErr_Occurred()) SWIG_fail
;
38184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38192 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38193 PyObject
*resultobj
;
38194 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38195 wxGBPosition
*arg2
= 0 ;
38197 wxGBPosition temp2
;
38198 PyObject
* obj0
= 0 ;
38199 PyObject
* obj1
= 0 ;
38200 char *kwnames
[] = {
38201 (char *) "self",(char *) "other", NULL
38204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38209 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38213 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
38215 wxPyEndAllowThreads(__tstate
);
38216 if (PyErr_Occurred()) SWIG_fail
;
38219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38227 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38228 PyObject
*resultobj
;
38229 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38230 int arg2
= (int) 0 ;
38231 int arg3
= (int) 0 ;
38232 PyObject
* obj0
= 0 ;
38233 PyObject
* obj1
= 0 ;
38234 PyObject
* obj2
= 0 ;
38235 char *kwnames
[] = {
38236 (char *) "self",(char *) "row",(char *) "col", NULL
38239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38243 arg2
= (int)SWIG_As_int(obj1
);
38244 if (PyErr_Occurred()) SWIG_fail
;
38247 arg3
= (int)SWIG_As_int(obj2
);
38248 if (PyErr_Occurred()) SWIG_fail
;
38251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38252 wxGBPosition_Set(arg1
,arg2
,arg3
);
38254 wxPyEndAllowThreads(__tstate
);
38255 if (PyErr_Occurred()) SWIG_fail
;
38257 Py_INCREF(Py_None
); resultobj
= Py_None
;
38264 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38265 PyObject
*resultobj
;
38266 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38268 PyObject
* obj0
= 0 ;
38269 char *kwnames
[] = {
38270 (char *) "self", NULL
38273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
38274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38278 result
= (PyObject
*)wxGBPosition_Get(arg1
);
38280 wxPyEndAllowThreads(__tstate
);
38281 if (PyErr_Occurred()) SWIG_fail
;
38283 resultobj
= result
;
38290 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
38292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38293 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
38295 return Py_BuildValue((char *)"");
38297 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38298 PyObject
*resultobj
;
38299 int arg1
= (int) 1 ;
38300 int arg2
= (int) 1 ;
38302 PyObject
* obj0
= 0 ;
38303 PyObject
* obj1
= 0 ;
38304 char *kwnames
[] = {
38305 (char *) "rowspan",(char *) "colspan", NULL
38308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38310 arg1
= (int)SWIG_As_int(obj0
);
38311 if (PyErr_Occurred()) SWIG_fail
;
38314 arg2
= (int)SWIG_As_int(obj1
);
38315 if (PyErr_Occurred()) SWIG_fail
;
38318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38319 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
38321 wxPyEndAllowThreads(__tstate
);
38322 if (PyErr_Occurred()) SWIG_fail
;
38324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
38331 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38332 PyObject
*resultobj
;
38333 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38335 PyObject
* obj0
= 0 ;
38336 char *kwnames
[] = {
38337 (char *) "self", NULL
38340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
38341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38345 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
38347 wxPyEndAllowThreads(__tstate
);
38348 if (PyErr_Occurred()) SWIG_fail
;
38350 resultobj
= SWIG_From_int((int)result
);
38357 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38358 PyObject
*resultobj
;
38359 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38361 PyObject
* obj0
= 0 ;
38362 char *kwnames
[] = {
38363 (char *) "self", NULL
38366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
38367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38371 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
38373 wxPyEndAllowThreads(__tstate
);
38374 if (PyErr_Occurred()) SWIG_fail
;
38376 resultobj
= SWIG_From_int((int)result
);
38383 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38384 PyObject
*resultobj
;
38385 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38387 PyObject
* obj0
= 0 ;
38388 PyObject
* obj1
= 0 ;
38389 char *kwnames
[] = {
38390 (char *) "self",(char *) "rowspan", NULL
38393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38396 arg2
= (int)SWIG_As_int(obj1
);
38397 if (PyErr_Occurred()) SWIG_fail
;
38399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38400 (arg1
)->SetRowspan(arg2
);
38402 wxPyEndAllowThreads(__tstate
);
38403 if (PyErr_Occurred()) SWIG_fail
;
38405 Py_INCREF(Py_None
); resultobj
= Py_None
;
38412 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38413 PyObject
*resultobj
;
38414 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38416 PyObject
* obj0
= 0 ;
38417 PyObject
* obj1
= 0 ;
38418 char *kwnames
[] = {
38419 (char *) "self",(char *) "colspan", NULL
38422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38425 arg2
= (int)SWIG_As_int(obj1
);
38426 if (PyErr_Occurred()) SWIG_fail
;
38428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38429 (arg1
)->SetColspan(arg2
);
38431 wxPyEndAllowThreads(__tstate
);
38432 if (PyErr_Occurred()) SWIG_fail
;
38434 Py_INCREF(Py_None
); resultobj
= Py_None
;
38441 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38442 PyObject
*resultobj
;
38443 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38444 wxGBSpan
*arg2
= 0 ;
38447 PyObject
* obj0
= 0 ;
38448 PyObject
* obj1
= 0 ;
38449 char *kwnames
[] = {
38450 (char *) "self",(char *) "other", NULL
38453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38458 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38462 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
38464 wxPyEndAllowThreads(__tstate
);
38465 if (PyErr_Occurred()) SWIG_fail
;
38468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38476 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38477 PyObject
*resultobj
;
38478 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38479 wxGBSpan
*arg2
= 0 ;
38482 PyObject
* obj0
= 0 ;
38483 PyObject
* obj1
= 0 ;
38484 char *kwnames
[] = {
38485 (char *) "self",(char *) "other", NULL
38488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38493 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38497 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
38499 wxPyEndAllowThreads(__tstate
);
38500 if (PyErr_Occurred()) SWIG_fail
;
38503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38511 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38512 PyObject
*resultobj
;
38513 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38514 int arg2
= (int) 1 ;
38515 int arg3
= (int) 1 ;
38516 PyObject
* obj0
= 0 ;
38517 PyObject
* obj1
= 0 ;
38518 PyObject
* obj2
= 0 ;
38519 char *kwnames
[] = {
38520 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
38523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38527 arg2
= (int)SWIG_As_int(obj1
);
38528 if (PyErr_Occurred()) SWIG_fail
;
38531 arg3
= (int)SWIG_As_int(obj2
);
38532 if (PyErr_Occurred()) SWIG_fail
;
38535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38536 wxGBSpan_Set(arg1
,arg2
,arg3
);
38538 wxPyEndAllowThreads(__tstate
);
38539 if (PyErr_Occurred()) SWIG_fail
;
38541 Py_INCREF(Py_None
); resultobj
= Py_None
;
38548 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38549 PyObject
*resultobj
;
38550 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38552 PyObject
* obj0
= 0 ;
38553 char *kwnames
[] = {
38554 (char *) "self", NULL
38557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
38558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38562 result
= (PyObject
*)wxGBSpan_Get(arg1
);
38564 wxPyEndAllowThreads(__tstate
);
38565 if (PyErr_Occurred()) SWIG_fail
;
38567 resultobj
= result
;
38574 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
38576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38577 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
38579 return Py_BuildValue((char *)"");
38581 static int _wrap_DefaultSpan_set(PyObject
*) {
38582 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
38587 static PyObject
*_wrap_DefaultSpan_get() {
38590 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38595 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38596 PyObject
*resultobj
;
38597 wxGBSizerItem
*result
;
38598 char *kwnames
[] = {
38602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38605 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38607 wxPyEndAllowThreads(__tstate
);
38608 if (PyErr_Occurred()) SWIG_fail
;
38610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38617 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38618 PyObject
*resultobj
;
38619 wxWindow
*arg1
= (wxWindow
*) 0 ;
38620 wxGBPosition
*arg2
= 0 ;
38621 wxGBSpan
*arg3
= 0 ;
38624 PyObject
*arg6
= (PyObject
*) NULL
;
38625 wxGBSizerItem
*result
;
38626 wxGBPosition temp2
;
38628 PyObject
* obj0
= 0 ;
38629 PyObject
* obj1
= 0 ;
38630 PyObject
* obj2
= 0 ;
38631 PyObject
* obj3
= 0 ;
38632 PyObject
* obj4
= 0 ;
38633 PyObject
* obj5
= 0 ;
38634 char *kwnames
[] = {
38635 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38643 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38647 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38649 arg4
= (int)SWIG_As_int(obj3
);
38650 if (PyErr_Occurred()) SWIG_fail
;
38651 arg5
= (int)SWIG_As_int(obj4
);
38652 if (PyErr_Occurred()) SWIG_fail
;
38657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38658 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38660 wxPyEndAllowThreads(__tstate
);
38661 if (PyErr_Occurred()) SWIG_fail
;
38663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38670 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38671 PyObject
*resultobj
;
38672 wxSizer
*arg1
= (wxSizer
*) 0 ;
38673 wxGBPosition
*arg2
= 0 ;
38674 wxGBSpan
*arg3
= 0 ;
38677 PyObject
*arg6
= (PyObject
*) NULL
;
38678 wxGBSizerItem
*result
;
38679 wxGBPosition temp2
;
38681 PyObject
* obj0
= 0 ;
38682 PyObject
* obj1
= 0 ;
38683 PyObject
* obj2
= 0 ;
38684 PyObject
* obj3
= 0 ;
38685 PyObject
* obj4
= 0 ;
38686 PyObject
* obj5
= 0 ;
38687 char *kwnames
[] = {
38688 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38696 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38700 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38702 arg4
= (int)SWIG_As_int(obj3
);
38703 if (PyErr_Occurred()) SWIG_fail
;
38704 arg5
= (int)SWIG_As_int(obj4
);
38705 if (PyErr_Occurred()) SWIG_fail
;
38710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38711 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38713 wxPyEndAllowThreads(__tstate
);
38714 if (PyErr_Occurred()) SWIG_fail
;
38716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38723 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38724 PyObject
*resultobj
;
38727 wxGBPosition
*arg3
= 0 ;
38728 wxGBSpan
*arg4
= 0 ;
38731 PyObject
*arg7
= (PyObject
*) NULL
;
38732 wxGBSizerItem
*result
;
38733 wxGBPosition temp3
;
38735 PyObject
* obj0
= 0 ;
38736 PyObject
* obj1
= 0 ;
38737 PyObject
* obj2
= 0 ;
38738 PyObject
* obj3
= 0 ;
38739 PyObject
* obj4
= 0 ;
38740 PyObject
* obj5
= 0 ;
38741 PyObject
* obj6
= 0 ;
38742 char *kwnames
[] = {
38743 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38747 arg1
= (int)SWIG_As_int(obj0
);
38748 if (PyErr_Occurred()) SWIG_fail
;
38749 arg2
= (int)SWIG_As_int(obj1
);
38750 if (PyErr_Occurred()) SWIG_fail
;
38753 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38757 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38759 arg5
= (int)SWIG_As_int(obj4
);
38760 if (PyErr_Occurred()) SWIG_fail
;
38761 arg6
= (int)SWIG_As_int(obj5
);
38762 if (PyErr_Occurred()) SWIG_fail
;
38767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38768 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38770 wxPyEndAllowThreads(__tstate
);
38771 if (PyErr_Occurred()) SWIG_fail
;
38773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38780 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38781 PyObject
*resultobj
;
38782 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38783 wxGBPosition result
;
38784 PyObject
* obj0
= 0 ;
38785 char *kwnames
[] = {
38786 (char *) "self", NULL
38789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38794 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38796 wxPyEndAllowThreads(__tstate
);
38797 if (PyErr_Occurred()) SWIG_fail
;
38800 wxGBPosition
* resultptr
;
38801 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38810 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38811 PyObject
*resultobj
;
38812 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38814 PyObject
* obj0
= 0 ;
38815 char *kwnames
[] = {
38816 (char *) "self", NULL
38819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38824 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38826 wxPyEndAllowThreads(__tstate
);
38827 if (PyErr_Occurred()) SWIG_fail
;
38830 wxGBSpan
* resultptr
;
38831 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38840 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38841 PyObject
*resultobj
;
38842 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38843 wxGBPosition
*arg2
= 0 ;
38845 wxGBPosition temp2
;
38846 PyObject
* obj0
= 0 ;
38847 PyObject
* obj1
= 0 ;
38848 char *kwnames
[] = {
38849 (char *) "self",(char *) "pos", NULL
38852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38857 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38861 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38863 wxPyEndAllowThreads(__tstate
);
38864 if (PyErr_Occurred()) SWIG_fail
;
38867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38875 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38876 PyObject
*resultobj
;
38877 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38878 wxGBSpan
*arg2
= 0 ;
38881 PyObject
* obj0
= 0 ;
38882 PyObject
* obj1
= 0 ;
38883 char *kwnames
[] = {
38884 (char *) "self",(char *) "span", NULL
38887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38892 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38896 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38898 wxPyEndAllowThreads(__tstate
);
38899 if (PyErr_Occurred()) SWIG_fail
;
38902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38910 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38911 PyObject
*resultobj
;
38912 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38913 wxGBSizerItem
*arg2
= 0 ;
38915 PyObject
* obj0
= 0 ;
38916 PyObject
* obj1
= 0 ;
38917 char *kwnames
[] = {
38918 (char *) "self",(char *) "other", NULL
38921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38927 if (arg2
== NULL
) {
38928 PyErr_SetString(PyExc_TypeError
,"null reference");
38932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38933 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38935 wxPyEndAllowThreads(__tstate
);
38936 if (PyErr_Occurred()) SWIG_fail
;
38939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38947 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38948 PyObject
*resultobj
;
38949 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38950 wxGBPosition
*arg2
= 0 ;
38951 wxGBSpan
*arg3
= 0 ;
38953 wxGBPosition temp2
;
38955 PyObject
* obj0
= 0 ;
38956 PyObject
* obj1
= 0 ;
38957 PyObject
* obj2
= 0 ;
38958 char *kwnames
[] = {
38959 (char *) "self",(char *) "pos",(char *) "span", NULL
38962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38967 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38971 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38975 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38977 wxPyEndAllowThreads(__tstate
);
38978 if (PyErr_Occurred()) SWIG_fail
;
38981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38989 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38990 PyObject
*resultobj
;
38991 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38992 wxGBPosition result
;
38993 PyObject
* obj0
= 0 ;
38994 char *kwnames
[] = {
38995 (char *) "self", NULL
38998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
39000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39003 result
= wxGBSizerItem_GetEndPos(arg1
);
39005 wxPyEndAllowThreads(__tstate
);
39006 if (PyErr_Occurred()) SWIG_fail
;
39009 wxGBPosition
* resultptr
;
39010 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39019 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39020 PyObject
*resultobj
;
39021 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
39022 wxGridBagSizer
*result
;
39023 PyObject
* obj0
= 0 ;
39024 char *kwnames
[] = {
39025 (char *) "self", NULL
39028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
39029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
39030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39033 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
39035 wxPyEndAllowThreads(__tstate
);
39036 if (PyErr_Occurred()) SWIG_fail
;
39038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
39045 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39046 PyObject
*resultobj
;
39047 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
39048 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
39049 PyObject
* obj0
= 0 ;
39050 PyObject
* obj1
= 0 ;
39051 char *kwnames
[] = {
39052 (char *) "self",(char *) "sizer", NULL
39055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
39057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
39059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39062 (arg1
)->SetGBSizer(arg2
);
39064 wxPyEndAllowThreads(__tstate
);
39065 if (PyErr_Occurred()) SWIG_fail
;
39067 Py_INCREF(Py_None
); resultobj
= Py_None
;
39074 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
39076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39077 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
39079 return Py_BuildValue((char *)"");
39081 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39082 PyObject
*resultobj
;
39083 int arg1
= (int) 0 ;
39084 int arg2
= (int) 0 ;
39085 wxGridBagSizer
*result
;
39086 PyObject
* obj0
= 0 ;
39087 PyObject
* obj1
= 0 ;
39088 char *kwnames
[] = {
39089 (char *) "vgap",(char *) "hgap", NULL
39092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39094 arg1
= (int)SWIG_As_int(obj0
);
39095 if (PyErr_Occurred()) SWIG_fail
;
39098 arg2
= (int)SWIG_As_int(obj1
);
39099 if (PyErr_Occurred()) SWIG_fail
;
39102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39103 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
39105 wxPyEndAllowThreads(__tstate
);
39106 if (PyErr_Occurred()) SWIG_fail
;
39108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
39115 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39116 PyObject
*resultobj
;
39117 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39118 PyObject
*arg2
= (PyObject
*) 0 ;
39119 wxGBPosition
*arg3
= 0 ;
39120 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
39121 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
39122 int arg5
= (int) 0 ;
39123 int arg6
= (int) 0 ;
39124 PyObject
*arg7
= (PyObject
*) NULL
;
39125 wxGBSizerItem
*result
;
39126 wxGBPosition temp3
;
39128 PyObject
* obj0
= 0 ;
39129 PyObject
* obj1
= 0 ;
39130 PyObject
* obj2
= 0 ;
39131 PyObject
* obj3
= 0 ;
39132 PyObject
* obj4
= 0 ;
39133 PyObject
* obj5
= 0 ;
39134 PyObject
* obj6
= 0 ;
39135 char *kwnames
[] = {
39136 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
39139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39145 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39150 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
39154 arg5
= (int)SWIG_As_int(obj4
);
39155 if (PyErr_Occurred()) SWIG_fail
;
39158 arg6
= (int)SWIG_As_int(obj5
);
39159 if (PyErr_Occurred()) SWIG_fail
;
39165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39166 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
39168 wxPyEndAllowThreads(__tstate
);
39169 if (PyErr_Occurred()) SWIG_fail
;
39171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39178 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39179 PyObject
*resultobj
;
39180 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39181 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39182 wxGBSizerItem
*result
;
39183 PyObject
* obj0
= 0 ;
39184 PyObject
* obj1
= 0 ;
39185 char *kwnames
[] = {
39186 (char *) "self",(char *) "item", NULL
39189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39196 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
39198 wxPyEndAllowThreads(__tstate
);
39199 if (PyErr_Occurred()) SWIG_fail
;
39201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39208 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39209 PyObject
*resultobj
;
39210 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39214 PyObject
* obj0
= 0 ;
39215 PyObject
* obj1
= 0 ;
39216 PyObject
* obj2
= 0 ;
39217 char *kwnames
[] = {
39218 (char *) "self",(char *) "row",(char *) "col", NULL
39221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39224 arg2
= (int)SWIG_As_int(obj1
);
39225 if (PyErr_Occurred()) SWIG_fail
;
39226 arg3
= (int)SWIG_As_int(obj2
);
39227 if (PyErr_Occurred()) SWIG_fail
;
39229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39230 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
39232 wxPyEndAllowThreads(__tstate
);
39233 if (PyErr_Occurred()) SWIG_fail
;
39236 wxSize
* resultptr
;
39237 resultptr
= new wxSize((wxSize
&) result
);
39238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39246 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39247 PyObject
*resultobj
;
39248 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39250 PyObject
* obj0
= 0 ;
39251 char *kwnames
[] = {
39252 (char *) "self", NULL
39255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
39256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39260 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
39262 wxPyEndAllowThreads(__tstate
);
39263 if (PyErr_Occurred()) SWIG_fail
;
39266 wxSize
* resultptr
;
39267 resultptr
= new wxSize((wxSize
&) result
);
39268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39276 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39277 PyObject
*resultobj
;
39278 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39281 PyObject
* obj0
= 0 ;
39282 PyObject
* obj1
= 0 ;
39283 char *kwnames
[] = {
39284 (char *) "self",(char *) "sz", NULL
39287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39292 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39296 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
39298 wxPyEndAllowThreads(__tstate
);
39299 if (PyErr_Occurred()) SWIG_fail
;
39301 Py_INCREF(Py_None
); resultobj
= Py_None
;
39308 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39309 PyObject
*resultobj
;
39310 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39311 wxWindow
*arg2
= (wxWindow
*) 0 ;
39312 wxGBPosition result
;
39313 PyObject
* obj0
= 0 ;
39314 PyObject
* obj1
= 0 ;
39316 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39323 result
= (arg1
)->GetItemPosition(arg2
);
39325 wxPyEndAllowThreads(__tstate
);
39326 if (PyErr_Occurred()) SWIG_fail
;
39329 wxGBPosition
* resultptr
;
39330 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39339 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39340 PyObject
*resultobj
;
39341 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39342 wxSizer
*arg2
= (wxSizer
*) 0 ;
39343 wxGBPosition result
;
39344 PyObject
* obj0
= 0 ;
39345 PyObject
* obj1
= 0 ;
39347 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39354 result
= (arg1
)->GetItemPosition(arg2
);
39356 wxPyEndAllowThreads(__tstate
);
39357 if (PyErr_Occurred()) SWIG_fail
;
39360 wxGBPosition
* resultptr
;
39361 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39370 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39371 PyObject
*resultobj
;
39372 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39374 wxGBPosition result
;
39375 PyObject
* obj0
= 0 ;
39376 PyObject
* obj1
= 0 ;
39378 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39381 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39382 if (PyErr_Occurred()) SWIG_fail
;
39384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39385 result
= (arg1
)->GetItemPosition(arg2
);
39387 wxPyEndAllowThreads(__tstate
);
39388 if (PyErr_Occurred()) SWIG_fail
;
39391 wxGBPosition
* resultptr
;
39392 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39401 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
39406 argc
= PyObject_Length(args
);
39407 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39408 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39414 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39424 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39432 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
39440 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39450 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39458 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
39466 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39474 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39476 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
39481 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
39486 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39487 PyObject
*resultobj
;
39488 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39489 wxWindow
*arg2
= (wxWindow
*) 0 ;
39490 wxGBPosition
*arg3
= 0 ;
39492 wxGBPosition temp3
;
39493 PyObject
* obj0
= 0 ;
39494 PyObject
* obj1
= 0 ;
39495 PyObject
* obj2
= 0 ;
39497 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39504 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39508 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39510 wxPyEndAllowThreads(__tstate
);
39511 if (PyErr_Occurred()) SWIG_fail
;
39514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39522 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39523 PyObject
*resultobj
;
39524 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39525 wxSizer
*arg2
= (wxSizer
*) 0 ;
39526 wxGBPosition
*arg3
= 0 ;
39528 wxGBPosition temp3
;
39529 PyObject
* obj0
= 0 ;
39530 PyObject
* obj1
= 0 ;
39531 PyObject
* obj2
= 0 ;
39533 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39540 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39544 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39546 wxPyEndAllowThreads(__tstate
);
39547 if (PyErr_Occurred()) SWIG_fail
;
39550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39558 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39559 PyObject
*resultobj
;
39560 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39562 wxGBPosition
*arg3
= 0 ;
39564 wxGBPosition temp3
;
39565 PyObject
* obj0
= 0 ;
39566 PyObject
* obj1
= 0 ;
39567 PyObject
* obj2
= 0 ;
39569 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39572 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39573 if (PyErr_Occurred()) SWIG_fail
;
39576 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39580 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39582 wxPyEndAllowThreads(__tstate
);
39583 if (PyErr_Occurred()) SWIG_fail
;
39586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39594 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
39599 argc
= PyObject_Length(args
);
39600 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39601 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39607 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39617 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39626 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39629 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39638 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39648 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39657 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39660 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39669 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39677 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39680 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39683 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39689 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39694 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39695 PyObject
*resultobj
;
39696 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39697 wxWindow
*arg2
= (wxWindow
*) 0 ;
39699 PyObject
* obj0
= 0 ;
39700 PyObject
* obj1
= 0 ;
39702 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39709 result
= (arg1
)->GetItemSpan(arg2
);
39711 wxPyEndAllowThreads(__tstate
);
39712 if (PyErr_Occurred()) SWIG_fail
;
39715 wxGBSpan
* resultptr
;
39716 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39725 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39726 PyObject
*resultobj
;
39727 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39728 wxSizer
*arg2
= (wxSizer
*) 0 ;
39730 PyObject
* obj0
= 0 ;
39731 PyObject
* obj1
= 0 ;
39733 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39740 result
= (arg1
)->GetItemSpan(arg2
);
39742 wxPyEndAllowThreads(__tstate
);
39743 if (PyErr_Occurred()) SWIG_fail
;
39746 wxGBSpan
* resultptr
;
39747 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39756 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39757 PyObject
*resultobj
;
39758 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39761 PyObject
* obj0
= 0 ;
39762 PyObject
* obj1
= 0 ;
39764 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39767 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39768 if (PyErr_Occurred()) SWIG_fail
;
39770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39771 result
= (arg1
)->GetItemSpan(arg2
);
39773 wxPyEndAllowThreads(__tstate
);
39774 if (PyErr_Occurred()) SWIG_fail
;
39777 wxGBSpan
* resultptr
;
39778 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39787 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39792 argc
= PyObject_Length(args
);
39793 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39794 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39800 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39810 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39818 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39826 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39836 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39844 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39852 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39860 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39862 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39867 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39872 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39873 PyObject
*resultobj
;
39874 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39875 wxWindow
*arg2
= (wxWindow
*) 0 ;
39876 wxGBSpan
*arg3
= 0 ;
39879 PyObject
* obj0
= 0 ;
39880 PyObject
* obj1
= 0 ;
39881 PyObject
* obj2
= 0 ;
39883 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39890 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39894 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39896 wxPyEndAllowThreads(__tstate
);
39897 if (PyErr_Occurred()) SWIG_fail
;
39900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39908 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39909 PyObject
*resultobj
;
39910 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39911 wxSizer
*arg2
= (wxSizer
*) 0 ;
39912 wxGBSpan
*arg3
= 0 ;
39915 PyObject
* obj0
= 0 ;
39916 PyObject
* obj1
= 0 ;
39917 PyObject
* obj2
= 0 ;
39919 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39926 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39930 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39932 wxPyEndAllowThreads(__tstate
);
39933 if (PyErr_Occurred()) SWIG_fail
;
39936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39944 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39945 PyObject
*resultobj
;
39946 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39948 wxGBSpan
*arg3
= 0 ;
39951 PyObject
* obj0
= 0 ;
39952 PyObject
* obj1
= 0 ;
39953 PyObject
* obj2
= 0 ;
39955 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39958 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39959 if (PyErr_Occurred()) SWIG_fail
;
39962 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39966 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39968 wxPyEndAllowThreads(__tstate
);
39969 if (PyErr_Occurred()) SWIG_fail
;
39972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39980 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39985 argc
= PyObject_Length(args
);
39986 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39987 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39993 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40003 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
40012 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
40015 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
40024 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40034 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
40043 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
40046 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
40055 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40063 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
40066 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
40069 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
40075 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
40080 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
40081 PyObject
*resultobj
;
40082 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40083 wxWindow
*arg2
= (wxWindow
*) 0 ;
40084 wxGBSizerItem
*result
;
40085 PyObject
* obj0
= 0 ;
40086 PyObject
* obj1
= 0 ;
40088 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
40089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40095 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
40097 wxPyEndAllowThreads(__tstate
);
40098 if (PyErr_Occurred()) SWIG_fail
;
40100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40107 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
40108 PyObject
*resultobj
;
40109 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40110 wxSizer
*arg2
= (wxSizer
*) 0 ;
40111 wxGBSizerItem
*result
;
40112 PyObject
* obj0
= 0 ;
40113 PyObject
* obj1
= 0 ;
40115 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
40116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
40119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40122 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
40124 wxPyEndAllowThreads(__tstate
);
40125 if (PyErr_Occurred()) SWIG_fail
;
40127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40134 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
40139 argc
= PyObject_Length(args
);
40140 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
40141 argv
[ii
] = PyTuple_GetItem(args
,ii
);
40147 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40157 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
40165 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
40173 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40183 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
40191 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
40196 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
40201 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40202 PyObject
*resultobj
;
40203 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40204 wxGBPosition
*arg2
= 0 ;
40205 wxGBSizerItem
*result
;
40206 wxGBPosition temp2
;
40207 PyObject
* obj0
= 0 ;
40208 PyObject
* obj1
= 0 ;
40209 char *kwnames
[] = {
40210 (char *) "self",(char *) "pos", NULL
40213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40218 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40222 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
40224 wxPyEndAllowThreads(__tstate
);
40225 if (PyErr_Occurred()) SWIG_fail
;
40227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40234 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40235 PyObject
*resultobj
;
40236 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40237 wxPoint
*arg2
= 0 ;
40238 wxGBSizerItem
*result
;
40240 PyObject
* obj0
= 0 ;
40241 PyObject
* obj1
= 0 ;
40242 char *kwnames
[] = {
40243 (char *) "self",(char *) "pt", NULL
40246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
40247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40255 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
40257 wxPyEndAllowThreads(__tstate
);
40258 if (PyErr_Occurred()) SWIG_fail
;
40260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40267 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40268 PyObject
*resultobj
;
40269 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40270 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
40271 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
40273 PyObject
* obj0
= 0 ;
40274 PyObject
* obj1
= 0 ;
40275 PyObject
* obj2
= 0 ;
40276 char *kwnames
[] = {
40277 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
40280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
40284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40286 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
40287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40291 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
40293 wxPyEndAllowThreads(__tstate
);
40294 if (PyErr_Occurred()) SWIG_fail
;
40297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40305 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40306 PyObject
*resultobj
;
40307 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40308 wxGBPosition
*arg2
= 0 ;
40309 wxGBSpan
*arg3
= 0 ;
40310 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
40312 wxGBPosition temp2
;
40314 PyObject
* obj0
= 0 ;
40315 PyObject
* obj1
= 0 ;
40316 PyObject
* obj2
= 0 ;
40317 PyObject
* obj3
= 0 ;
40318 char *kwnames
[] = {
40319 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
40322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40327 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40331 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40334 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
40335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40339 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
40341 wxPyEndAllowThreads(__tstate
);
40342 if (PyErr_Occurred()) SWIG_fail
;
40345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40353 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
40355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40356 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
40358 return Py_BuildValue((char *)"");
40360 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40361 PyObject
*resultobj
;
40362 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40364 wxWindow
*arg3
= (wxWindow
*) 0 ;
40366 int arg5
= (int) 0 ;
40367 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
40368 PyObject
* obj0
= 0 ;
40369 PyObject
* obj1
= 0 ;
40370 PyObject
* obj2
= 0 ;
40371 PyObject
* obj3
= 0 ;
40372 PyObject
* obj4
= 0 ;
40373 PyObject
* obj5
= 0 ;
40374 char *kwnames
[] = {
40375 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
40378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40381 arg2
= (int)SWIG_As_int(obj1
);
40382 if (PyErr_Occurred()) SWIG_fail
;
40383 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40385 arg4
= (int)SWIG_As_int(obj3
);
40386 if (PyErr_Occurred()) SWIG_fail
;
40388 arg5
= (int)SWIG_As_int(obj4
);
40389 if (PyErr_Occurred()) SWIG_fail
;
40392 arg6
= (int)SWIG_As_int(obj5
);
40393 if (PyErr_Occurred()) SWIG_fail
;
40396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40397 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
40399 wxPyEndAllowThreads(__tstate
);
40400 if (PyErr_Occurred()) SWIG_fail
;
40402 Py_INCREF(Py_None
); resultobj
= Py_None
;
40409 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40410 PyObject
*resultobj
;
40411 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40412 wxWindow
*arg2
= (wxWindow
*) 0 ;
40413 int arg3
= (int) 0 ;
40414 PyObject
* obj0
= 0 ;
40415 PyObject
* obj1
= 0 ;
40416 PyObject
* obj2
= 0 ;
40417 char *kwnames
[] = {
40418 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40427 arg3
= (int)SWIG_As_int(obj2
);
40428 if (PyErr_Occurred()) SWIG_fail
;
40431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40432 (arg1
)->LeftOf(arg2
,arg3
);
40434 wxPyEndAllowThreads(__tstate
);
40435 if (PyErr_Occurred()) SWIG_fail
;
40437 Py_INCREF(Py_None
); resultobj
= Py_None
;
40444 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40445 PyObject
*resultobj
;
40446 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40447 wxWindow
*arg2
= (wxWindow
*) 0 ;
40448 int arg3
= (int) 0 ;
40449 PyObject
* obj0
= 0 ;
40450 PyObject
* obj1
= 0 ;
40451 PyObject
* obj2
= 0 ;
40452 char *kwnames
[] = {
40453 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40462 arg3
= (int)SWIG_As_int(obj2
);
40463 if (PyErr_Occurred()) SWIG_fail
;
40466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40467 (arg1
)->RightOf(arg2
,arg3
);
40469 wxPyEndAllowThreads(__tstate
);
40470 if (PyErr_Occurred()) SWIG_fail
;
40472 Py_INCREF(Py_None
); resultobj
= Py_None
;
40479 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40480 PyObject
*resultobj
;
40481 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40482 wxWindow
*arg2
= (wxWindow
*) 0 ;
40483 int arg3
= (int) 0 ;
40484 PyObject
* obj0
= 0 ;
40485 PyObject
* obj1
= 0 ;
40486 PyObject
* obj2
= 0 ;
40487 char *kwnames
[] = {
40488 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40497 arg3
= (int)SWIG_As_int(obj2
);
40498 if (PyErr_Occurred()) SWIG_fail
;
40501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40502 (arg1
)->Above(arg2
,arg3
);
40504 wxPyEndAllowThreads(__tstate
);
40505 if (PyErr_Occurred()) SWIG_fail
;
40507 Py_INCREF(Py_None
); resultobj
= Py_None
;
40514 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40515 PyObject
*resultobj
;
40516 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40517 wxWindow
*arg2
= (wxWindow
*) 0 ;
40518 int arg3
= (int) 0 ;
40519 PyObject
* obj0
= 0 ;
40520 PyObject
* obj1
= 0 ;
40521 PyObject
* obj2
= 0 ;
40522 char *kwnames
[] = {
40523 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40532 arg3
= (int)SWIG_As_int(obj2
);
40533 if (PyErr_Occurred()) SWIG_fail
;
40536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40537 (arg1
)->Below(arg2
,arg3
);
40539 wxPyEndAllowThreads(__tstate
);
40540 if (PyErr_Occurred()) SWIG_fail
;
40542 Py_INCREF(Py_None
); resultobj
= Py_None
;
40549 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40550 PyObject
*resultobj
;
40551 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40552 wxWindow
*arg2
= (wxWindow
*) 0 ;
40554 int arg4
= (int) 0 ;
40555 PyObject
* obj0
= 0 ;
40556 PyObject
* obj1
= 0 ;
40557 PyObject
* obj2
= 0 ;
40558 PyObject
* obj3
= 0 ;
40559 char *kwnames
[] = {
40560 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
40563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40568 arg3
= (int)SWIG_As_int(obj2
);
40569 if (PyErr_Occurred()) SWIG_fail
;
40571 arg4
= (int)SWIG_As_int(obj3
);
40572 if (PyErr_Occurred()) SWIG_fail
;
40575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40576 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
40578 wxPyEndAllowThreads(__tstate
);
40579 if (PyErr_Occurred()) SWIG_fail
;
40581 Py_INCREF(Py_None
); resultobj
= Py_None
;
40588 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40589 PyObject
*resultobj
;
40590 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40591 wxWindow
*arg2
= (wxWindow
*) 0 ;
40594 PyObject
* obj0
= 0 ;
40595 PyObject
* obj1
= 0 ;
40596 PyObject
* obj2
= 0 ;
40597 PyObject
* obj3
= 0 ;
40598 char *kwnames
[] = {
40599 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40607 arg3
= (int)SWIG_As_int(obj2
);
40608 if (PyErr_Occurred()) SWIG_fail
;
40609 arg4
= (int)SWIG_As_int(obj3
);
40610 if (PyErr_Occurred()) SWIG_fail
;
40612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40613 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40615 wxPyEndAllowThreads(__tstate
);
40616 if (PyErr_Occurred()) SWIG_fail
;
40618 Py_INCREF(Py_None
); resultobj
= Py_None
;
40625 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40626 PyObject
*resultobj
;
40627 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40629 PyObject
* obj0
= 0 ;
40630 PyObject
* obj1
= 0 ;
40631 char *kwnames
[] = {
40632 (char *) "self",(char *) "val", NULL
40635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40638 arg2
= (int)SWIG_As_int(obj1
);
40639 if (PyErr_Occurred()) SWIG_fail
;
40641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40642 (arg1
)->Absolute(arg2
);
40644 wxPyEndAllowThreads(__tstate
);
40645 if (PyErr_Occurred()) SWIG_fail
;
40647 Py_INCREF(Py_None
); resultobj
= Py_None
;
40654 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40655 PyObject
*resultobj
;
40656 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40657 PyObject
* obj0
= 0 ;
40658 char *kwnames
[] = {
40659 (char *) "self", NULL
40662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40667 (arg1
)->Unconstrained();
40669 wxPyEndAllowThreads(__tstate
);
40670 if (PyErr_Occurred()) SWIG_fail
;
40672 Py_INCREF(Py_None
); resultobj
= Py_None
;
40679 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40680 PyObject
*resultobj
;
40681 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40682 PyObject
* obj0
= 0 ;
40683 char *kwnames
[] = {
40684 (char *) "self", NULL
40687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40694 wxPyEndAllowThreads(__tstate
);
40695 if (PyErr_Occurred()) SWIG_fail
;
40697 Py_INCREF(Py_None
); resultobj
= Py_None
;
40704 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40705 PyObject
*resultobj
;
40706 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40708 PyObject
* obj0
= 0 ;
40709 char *kwnames
[] = {
40710 (char *) "self", NULL
40713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40718 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40720 wxPyEndAllowThreads(__tstate
);
40721 if (PyErr_Occurred()) SWIG_fail
;
40724 resultobj
= wxPyMake_wxObject(result
, 0);
40732 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40733 PyObject
*resultobj
;
40734 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40736 PyObject
* obj0
= 0 ;
40737 char *kwnames
[] = {
40738 (char *) "self", NULL
40741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40746 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40748 wxPyEndAllowThreads(__tstate
);
40749 if (PyErr_Occurred()) SWIG_fail
;
40751 resultobj
= SWIG_From_int((int)result
);
40758 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40759 PyObject
*resultobj
;
40760 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40762 PyObject
* obj0
= 0 ;
40763 PyObject
* obj1
= 0 ;
40764 char *kwnames
[] = {
40765 (char *) "self",(char *) "which", NULL
40768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40771 arg2
= (int)SWIG_As_int(obj1
);
40772 if (PyErr_Occurred()) SWIG_fail
;
40774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40775 (arg1
)->SetEdge((wxEdge
)arg2
);
40777 wxPyEndAllowThreads(__tstate
);
40778 if (PyErr_Occurred()) SWIG_fail
;
40780 Py_INCREF(Py_None
); resultobj
= Py_None
;
40787 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40788 PyObject
*resultobj
;
40789 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40791 PyObject
* obj0
= 0 ;
40792 PyObject
* obj1
= 0 ;
40793 char *kwnames
[] = {
40794 (char *) "self",(char *) "v", NULL
40797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40800 arg2
= (int)SWIG_As_int(obj1
);
40801 if (PyErr_Occurred()) SWIG_fail
;
40803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40804 (arg1
)->SetValue(arg2
);
40806 wxPyEndAllowThreads(__tstate
);
40807 if (PyErr_Occurred()) SWIG_fail
;
40809 Py_INCREF(Py_None
); resultobj
= Py_None
;
40816 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40817 PyObject
*resultobj
;
40818 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40820 PyObject
* obj0
= 0 ;
40821 char *kwnames
[] = {
40822 (char *) "self", NULL
40825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40830 result
= (int)(arg1
)->GetMargin();
40832 wxPyEndAllowThreads(__tstate
);
40833 if (PyErr_Occurred()) SWIG_fail
;
40835 resultobj
= SWIG_From_int((int)result
);
40842 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40843 PyObject
*resultobj
;
40844 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40846 PyObject
* obj0
= 0 ;
40847 PyObject
* obj1
= 0 ;
40848 char *kwnames
[] = {
40849 (char *) "self",(char *) "m", NULL
40852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40855 arg2
= (int)SWIG_As_int(obj1
);
40856 if (PyErr_Occurred()) SWIG_fail
;
40858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40859 (arg1
)->SetMargin(arg2
);
40861 wxPyEndAllowThreads(__tstate
);
40862 if (PyErr_Occurred()) SWIG_fail
;
40864 Py_INCREF(Py_None
); resultobj
= Py_None
;
40871 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40872 PyObject
*resultobj
;
40873 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40875 PyObject
* obj0
= 0 ;
40876 char *kwnames
[] = {
40877 (char *) "self", NULL
40880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40885 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40887 wxPyEndAllowThreads(__tstate
);
40888 if (PyErr_Occurred()) SWIG_fail
;
40890 resultobj
= SWIG_From_int((int)result
);
40897 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40898 PyObject
*resultobj
;
40899 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40901 PyObject
* obj0
= 0 ;
40902 char *kwnames
[] = {
40903 (char *) "self", NULL
40906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40911 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40913 wxPyEndAllowThreads(__tstate
);
40914 if (PyErr_Occurred()) SWIG_fail
;
40916 resultobj
= SWIG_From_int((int)result
);
40923 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40924 PyObject
*resultobj
;
40925 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40927 PyObject
* obj0
= 0 ;
40928 char *kwnames
[] = {
40929 (char *) "self", NULL
40932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40937 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40939 wxPyEndAllowThreads(__tstate
);
40940 if (PyErr_Occurred()) SWIG_fail
;
40942 resultobj
= SWIG_From_int((int)result
);
40949 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40950 PyObject
*resultobj
;
40951 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40953 PyObject
* obj0
= 0 ;
40954 char *kwnames
[] = {
40955 (char *) "self", NULL
40958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40963 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40965 wxPyEndAllowThreads(__tstate
);
40966 if (PyErr_Occurred()) SWIG_fail
;
40969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40977 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40978 PyObject
*resultobj
;
40979 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40981 PyObject
* obj0
= 0 ;
40982 PyObject
* obj1
= 0 ;
40983 char *kwnames
[] = {
40984 (char *) "self",(char *) "d", NULL
40987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40990 arg2
= (bool)SWIG_As_bool(obj1
);
40991 if (PyErr_Occurred()) SWIG_fail
;
40993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40994 (arg1
)->SetDone(arg2
);
40996 wxPyEndAllowThreads(__tstate
);
40997 if (PyErr_Occurred()) SWIG_fail
;
40999 Py_INCREF(Py_None
); resultobj
= Py_None
;
41006 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41007 PyObject
*resultobj
;
41008 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41010 PyObject
* obj0
= 0 ;
41011 char *kwnames
[] = {
41012 (char *) "self", NULL
41015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
41016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41020 result
= (int)(arg1
)->GetRelationship();
41022 wxPyEndAllowThreads(__tstate
);
41023 if (PyErr_Occurred()) SWIG_fail
;
41025 resultobj
= SWIG_From_int((int)result
);
41032 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41033 PyObject
*resultobj
;
41034 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41036 PyObject
* obj0
= 0 ;
41037 PyObject
* obj1
= 0 ;
41038 char *kwnames
[] = {
41039 (char *) "self",(char *) "r", NULL
41042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
41043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41045 arg2
= (int)SWIG_As_int(obj1
);
41046 if (PyErr_Occurred()) SWIG_fail
;
41048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41049 (arg1
)->SetRelationship((wxRelationship
)arg2
);
41051 wxPyEndAllowThreads(__tstate
);
41052 if (PyErr_Occurred()) SWIG_fail
;
41054 Py_INCREF(Py_None
); resultobj
= Py_None
;
41061 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41062 PyObject
*resultobj
;
41063 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41064 wxWindow
*arg2
= (wxWindow
*) 0 ;
41066 PyObject
* obj0
= 0 ;
41067 PyObject
* obj1
= 0 ;
41068 char *kwnames
[] = {
41069 (char *) "self",(char *) "otherW", NULL
41072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
41073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
41076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41079 result
= (bool)(arg1
)->ResetIfWin(arg2
);
41081 wxPyEndAllowThreads(__tstate
);
41082 if (PyErr_Occurred()) SWIG_fail
;
41085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41093 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41094 PyObject
*resultobj
;
41095 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41096 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
41097 wxWindow
*arg3
= (wxWindow
*) 0 ;
41099 PyObject
* obj0
= 0 ;
41100 PyObject
* obj1
= 0 ;
41101 PyObject
* obj2
= 0 ;
41102 char *kwnames
[] = {
41103 (char *) "self",(char *) "constraints",(char *) "win", NULL
41106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
41110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41111 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
41112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41115 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
41117 wxPyEndAllowThreads(__tstate
);
41118 if (PyErr_Occurred()) SWIG_fail
;
41121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41129 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41130 PyObject
*resultobj
;
41131 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41133 wxWindow
*arg3
= (wxWindow
*) 0 ;
41134 wxWindow
*arg4
= (wxWindow
*) 0 ;
41136 PyObject
* obj0
= 0 ;
41137 PyObject
* obj1
= 0 ;
41138 PyObject
* obj2
= 0 ;
41139 PyObject
* obj3
= 0 ;
41140 char *kwnames
[] = {
41141 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
41144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41147 arg2
= (int)SWIG_As_int(obj1
);
41148 if (PyErr_Occurred()) SWIG_fail
;
41149 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
41150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41151 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
41152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41155 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
41157 wxPyEndAllowThreads(__tstate
);
41158 if (PyErr_Occurred()) SWIG_fail
;
41160 resultobj
= SWIG_From_int((int)result
);
41167 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
41169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41170 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
41172 return Py_BuildValue((char *)"");
41174 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41175 PyObject
*resultobj
;
41176 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41177 wxIndividualLayoutConstraint
*result
;
41178 PyObject
* obj0
= 0 ;
41179 char *kwnames
[] = {
41180 (char *) "self", NULL
41183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
41184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41186 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
41188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41195 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41196 PyObject
*resultobj
;
41197 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41198 wxIndividualLayoutConstraint
*result
;
41199 PyObject
* obj0
= 0 ;
41200 char *kwnames
[] = {
41201 (char *) "self", NULL
41204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
41205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41207 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
41209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41216 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41217 PyObject
*resultobj
;
41218 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41219 wxIndividualLayoutConstraint
*result
;
41220 PyObject
* obj0
= 0 ;
41221 char *kwnames
[] = {
41222 (char *) "self", NULL
41225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
41226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41228 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
41230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41237 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41238 PyObject
*resultobj
;
41239 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41240 wxIndividualLayoutConstraint
*result
;
41241 PyObject
* obj0
= 0 ;
41242 char *kwnames
[] = {
41243 (char *) "self", NULL
41246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
41247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41249 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
41251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41258 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41259 PyObject
*resultobj
;
41260 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41261 wxIndividualLayoutConstraint
*result
;
41262 PyObject
* obj0
= 0 ;
41263 char *kwnames
[] = {
41264 (char *) "self", NULL
41267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
41268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41270 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
41272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41279 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41280 PyObject
*resultobj
;
41281 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41282 wxIndividualLayoutConstraint
*result
;
41283 PyObject
* obj0
= 0 ;
41284 char *kwnames
[] = {
41285 (char *) "self", NULL
41288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
41289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41291 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
41293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41300 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41301 PyObject
*resultobj
;
41302 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41303 wxIndividualLayoutConstraint
*result
;
41304 PyObject
* obj0
= 0 ;
41305 char *kwnames
[] = {
41306 (char *) "self", NULL
41309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
41310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41312 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
41314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41321 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41322 PyObject
*resultobj
;
41323 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41324 wxIndividualLayoutConstraint
*result
;
41325 PyObject
* obj0
= 0 ;
41326 char *kwnames
[] = {
41327 (char *) "self", NULL
41330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
41331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41333 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
41335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41342 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41343 PyObject
*resultobj
;
41344 wxLayoutConstraints
*result
;
41345 char *kwnames
[] = {
41349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
41351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41352 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
41354 wxPyEndAllowThreads(__tstate
);
41355 if (PyErr_Occurred()) SWIG_fail
;
41357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
41364 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41365 PyObject
*resultobj
;
41366 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41367 wxWindow
*arg2
= (wxWindow
*) 0 ;
41368 int *arg3
= (int *) 0 ;
41372 PyObject
* obj0
= 0 ;
41373 PyObject
* obj1
= 0 ;
41374 char *kwnames
[] = {
41375 (char *) "self",(char *) "win", NULL
41378 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
41379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
41380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
41383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41386 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
41388 wxPyEndAllowThreads(__tstate
);
41389 if (PyErr_Occurred()) SWIG_fail
;
41392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41394 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
41395 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
41402 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41403 PyObject
*resultobj
;
41404 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41406 PyObject
* obj0
= 0 ;
41407 char *kwnames
[] = {
41408 (char *) "self", NULL
41411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
41412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41416 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
41418 wxPyEndAllowThreads(__tstate
);
41419 if (PyErr_Occurred()) SWIG_fail
;
41422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41430 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
41432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41433 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
41435 return Py_BuildValue((char *)"");
41437 static PyMethodDef SwigMethods
[] = {
41438 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
41439 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
41440 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
41443 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
41464 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
41477 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
41492 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
41545 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
41573 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
41592 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
41594 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
41602 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41603 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41615 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41627 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41631 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41637 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41647 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41657 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41661 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41735 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41737 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41739 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41741 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41743 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41745 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41747 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41749 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41751 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41753 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41755 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41757 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41759 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41773 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41791 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41794 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41797 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41809 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41814 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41820 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41826 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41889 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41896 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41932 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41942 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41952 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41954 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41956 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41959 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41963 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41966 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41969 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41971 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41976 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41984 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41988 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41991 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41993 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41997 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
42014 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
42016 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
42019 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
42021 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
42025 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
42029 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
42038 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42040 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
42041 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42042 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
42044 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42046 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
42048 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42051 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
42055 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
42060 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42061 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
42065 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42071 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42073 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42075 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42094 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42096 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42097 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42102 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42103 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42108 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
42110 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42111 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42114 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42116 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42117 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42124 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
42128 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42130 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42134 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
42135 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42137 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
42139 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42140 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42142 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42146 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42147 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
42149 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42150 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42155 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42156 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42158 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42160 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42161 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42162 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42164 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42165 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42168 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42169 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42170 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42171 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42172 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42173 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42174 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42175 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42176 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42177 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42178 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42179 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42181 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42184 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42187 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42190 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42192 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42193 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42194 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42196 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42198 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42202 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42205 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42207 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42208 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42210 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42211 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42212 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42214 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42215 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42217 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42219 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42222 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42223 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42224 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42226 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42227 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42230 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42233 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42236 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42237 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42238 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42239 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42240 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42241 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42242 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42243 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42245 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42246 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42248 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42251 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42254 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42255 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42256 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42257 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42258 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42259 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42260 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42262 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42263 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42265 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42268 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42270 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42271 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42272 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42273 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42274 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42275 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42276 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42277 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42278 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42279 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42280 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42281 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42282 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42283 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42284 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42285 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42286 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42287 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42288 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42289 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42290 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42291 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42292 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42293 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42294 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42295 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42296 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42297 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42298 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42299 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42300 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42301 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42302 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42303 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42304 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42305 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42306 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42307 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42308 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42309 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42310 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42311 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42312 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42313 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42314 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42315 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42316 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
42318 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42319 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42320 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42321 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42322 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42323 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42325 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42326 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42327 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42328 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42329 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42330 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42331 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42332 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42333 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42334 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42335 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42336 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42337 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42338 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42339 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42340 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42341 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42342 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42343 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42344 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42345 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42346 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42347 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42348 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42349 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42350 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42351 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42352 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42353 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42354 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42355 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42356 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42357 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42358 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42359 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
42360 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42361 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42362 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42363 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42364 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42365 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42366 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42367 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42368 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42369 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42370 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42371 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42372 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42373 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
42374 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42375 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42376 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
42377 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42378 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42379 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42380 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42381 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42382 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42383 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42384 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42385 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42386 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42387 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42388 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42389 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42390 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42391 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42392 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42393 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42394 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42395 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42396 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42397 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42398 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42399 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42400 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42401 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42402 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42403 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42404 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42405 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42406 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42407 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42408 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42409 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42410 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42411 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42412 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42413 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42414 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42415 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42416 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42417 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42418 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42419 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42420 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42421 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42422 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42423 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42424 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42425 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42426 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42427 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42428 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42429 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42430 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42431 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
42432 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42433 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42434 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42435 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42436 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42437 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42438 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42439 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42440 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42441 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42442 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42443 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42444 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42445 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42446 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42447 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42448 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42449 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42450 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42451 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42452 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42453 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42454 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42455 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42456 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42457 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42458 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
42459 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42460 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42461 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42462 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42463 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42464 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42465 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42466 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42467 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42468 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42469 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42470 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42471 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42472 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42473 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42474 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42475 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42476 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42477 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42478 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42479 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42480 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42481 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42482 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42483 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42484 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42485 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42486 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42487 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42488 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42489 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42490 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42491 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42492 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42493 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42494 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42495 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42496 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42497 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42498 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42499 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42500 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42501 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42502 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
42503 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42504 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42505 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42506 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42507 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42508 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42509 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42510 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
42511 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42512 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42513 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42514 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42515 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42516 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42517 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42518 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42519 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42520 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42521 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42522 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42523 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42524 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42525 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42526 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42527 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
42528 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
42529 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42530 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42531 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42532 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42533 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42534 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42535 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42536 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42537 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42538 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42539 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42540 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42541 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42542 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42543 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42544 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42545 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42546 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42547 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42548 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42549 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42550 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42551 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42552 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42553 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42554 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42555 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42556 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42557 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42558 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42559 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42560 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42561 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42562 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42563 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42564 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42565 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
42566 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42567 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42568 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42569 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42570 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42571 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42572 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42573 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42574 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42575 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42576 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42577 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42578 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42579 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42580 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42581 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42582 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42583 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42584 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42585 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42586 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42587 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42588 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42589 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42590 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42591 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42592 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42593 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42594 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42595 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
42596 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42597 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42598 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
42599 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42600 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42601 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42602 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
42603 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42604 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42605 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
42606 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42607 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42608 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42609 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42610 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42611 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42612 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42613 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42614 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42615 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
42616 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42617 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42618 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42619 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42620 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42621 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42622 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42623 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42624 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42625 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42626 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42627 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42628 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42629 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42630 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42631 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42632 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42633 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42634 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42635 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42636 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42637 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42638 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42639 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42640 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42641 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42642 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42643 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42644 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42645 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42646 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42647 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42648 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42649 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42650 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42651 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42652 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42653 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42654 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42655 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42656 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42657 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42658 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42659 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42660 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42661 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42662 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42663 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42664 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42665 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42666 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42667 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42668 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42669 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42670 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42671 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42672 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42673 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42674 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42675 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42676 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42677 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42678 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42679 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42680 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42681 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42682 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42683 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42684 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42685 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42686 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42687 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42688 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42689 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42690 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42691 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42692 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42693 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42694 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42695 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42696 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42697 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42698 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42699 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42700 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42701 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42702 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42703 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42704 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42705 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42706 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42707 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42708 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42709 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42710 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42711 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42712 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42713 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42714 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42715 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42716 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42717 { NULL
, NULL
, 0, NULL
}
42721 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42723 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42724 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42726 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42727 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42729 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42730 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42732 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42733 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42735 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42736 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42738 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42739 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42741 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42742 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42744 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42745 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42747 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42748 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42750 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42751 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42753 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42754 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42756 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42757 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42759 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42760 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42762 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42763 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42765 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42766 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42768 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42769 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42771 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42772 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42774 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42775 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42777 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42778 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42780 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42783 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42784 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42786 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42787 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42789 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42790 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42792 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42793 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42795 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42796 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42798 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42799 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42801 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42802 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42804 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42805 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42807 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42808 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42810 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42811 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42813 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42814 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42816 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42817 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42819 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42820 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42822 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42823 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42825 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42826 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42828 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42829 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42831 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42832 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42834 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42835 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42837 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42838 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42840 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42841 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42843 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42844 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42846 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42847 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42849 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42850 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42852 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42853 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42855 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42856 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42858 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42859 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42861 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42862 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42864 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42865 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42867 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42868 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42870 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42871 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42873 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42876 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42877 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42879 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42880 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42882 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42883 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42885 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42886 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42888 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42889 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42891 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42892 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42894 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42895 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42897 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42898 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42900 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42901 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42903 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42904 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42906 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42907 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42909 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42910 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42912 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42913 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42915 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42916 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42918 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42919 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42921 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42922 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42924 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42925 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42927 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42928 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42930 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42931 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42933 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42934 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42936 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42937 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42939 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42940 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42942 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42943 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42945 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42946 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42948 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42949 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42951 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42952 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42954 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42955 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42957 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42958 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42960 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42961 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42963 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42964 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42966 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42967 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42969 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42970 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42972 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42973 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42975 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42978 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42981 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42982 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42984 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42985 return (void *)((wxObject
*) ((wxSizer
*) x
));
42987 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42988 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42990 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42991 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42993 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42994 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42996 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42997 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42999 static void *_p_wxImageTo_p_wxObject(void *x
) {
43000 return (void *)((wxObject
*) ((wxImage
*) x
));
43002 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
43003 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
43005 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
43006 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43008 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
43009 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
43011 static void *_p_wxWindowTo_p_wxObject(void *x
) {
43012 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
43014 static void *_p_wxControlTo_p_wxObject(void *x
) {
43015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
43017 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
43018 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
43020 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
43021 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
43023 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
43024 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
43026 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
43027 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
43029 static void *_p_wxEventTo_p_wxObject(void *x
) {
43030 return (void *)((wxObject
*) ((wxEvent
*) x
));
43032 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
43033 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
43035 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
43036 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
43038 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
43039 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
43041 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
43042 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
43044 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
43045 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
43047 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
43048 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
43050 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
43051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43053 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
43054 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
43056 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
43057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43059 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
43060 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
43062 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
43063 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
43065 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
43066 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
43068 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
43069 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
43071 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
43072 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
43074 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
43075 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
43077 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
43078 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
43080 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
43081 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
43083 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
43084 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
43086 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
43087 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
43089 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
43090 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
43092 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
43093 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
43095 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
43096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
43098 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
43099 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
43101 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
43102 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
43104 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
43105 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43107 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
43108 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
43110 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
43111 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
43113 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
43114 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
43116 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
43117 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
43119 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
43120 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
43122 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
43123 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
43125 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
43126 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43128 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
43129 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
43131 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
43132 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
43134 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
43135 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
43137 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
43138 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
43140 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
43141 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
43143 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
43144 return (void *)((wxObject
*) ((wxFSFile
*) x
));
43146 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
43147 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
43149 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
43150 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43152 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
43153 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
43155 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
43156 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43158 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
43159 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43161 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
43162 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
43164 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
43165 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
43167 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
43168 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
43170 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
43171 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
43173 static void *_p_wxControlTo_p_wxWindow(void *x
) {
43174 return (void *)((wxWindow
*) ((wxControl
*) x
));
43176 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
43177 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
43179 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
43180 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
43182 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
43183 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43185 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
43186 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
43188 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
43189 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43191 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
43192 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43194 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
43195 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43197 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
43198 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43200 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
43201 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43203 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
43204 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43206 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
43207 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
43209 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}};
43210 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}};
43211 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}};
43212 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}};
43213 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}};
43214 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}};
43215 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}};
43216 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}};
43217 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}};
43218 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}};
43219 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}};
43220 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}};
43221 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}};
43222 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}};
43223 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}};
43224 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}};
43225 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}};
43226 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}};
43227 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}};
43228 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}};
43229 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}};
43230 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}};
43231 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}};
43232 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}};
43233 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}};
43234 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}};
43235 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}};
43236 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}};
43237 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}};
43238 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}};
43239 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}};
43240 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}};
43241 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}};
43242 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}};
43243 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}};
43244 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}};
43245 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}};
43246 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}};
43247 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}};
43248 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}};
43249 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}};
43250 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}};
43251 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}};
43252 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}};
43253 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}};
43254 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}};
43255 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}};
43256 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}};
43257 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}};
43258 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}};
43259 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}};
43260 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}};
43261 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}};
43262 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}};
43263 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}};
43264 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}};
43265 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}};
43266 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}};
43267 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}};
43268 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}};
43269 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}};
43270 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}};
43271 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}};
43272 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}};
43273 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}};
43274 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}};
43275 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}};
43276 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}};
43277 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}};
43278 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}};
43279 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}};
43280 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}};
43281 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}};
43282 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}};
43283 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}};
43284 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}};
43285 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}};
43286 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}};
43287 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}};
43288 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}};
43289 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}};
43290 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}};
43291 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}};
43292 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}};
43293 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}};
43294 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}};
43295 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}};
43296 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}};
43297 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}};
43298 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}};
43299 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}};
43300 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}};
43301 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}};
43302 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}};
43303 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}};
43304 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}};
43305 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}};
43306 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}};
43307 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}};
43308 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}};
43309 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}};
43310 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}};
43311 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}};
43312 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}};
43313 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}};
43314 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}};
43315 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}};
43316 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}};
43317 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}};
43318 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}};
43319 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}};
43320 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}};
43321 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}};
43322 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}};
43323 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}};
43324 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}};
43325 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}};
43327 static swig_type_info
*swig_types_initial
[] = {
43328 _swigt__p_wxLayoutConstraints
,
43329 _swigt__p_wxRealPoint
,
43330 _swigt__p_wxSizerItem
,
43331 _swigt__p_wxGBSizerItem
,
43332 _swigt__p_wxScrollEvent
,
43333 _swigt__p_wxEventLoop
,
43334 _swigt__p_wxIndividualLayoutConstraint
,
43336 _swigt__p_wxBoxSizer
,
43337 _swigt__p_wxStaticBoxSizer
,
43338 _swigt__p_wxGridBagSizer
,
43339 _swigt__p_wxAcceleratorEntry
,
43340 _swigt__p_wxUpdateUIEvent
,
43343 _swigt__p_wxGridSizer
,
43344 _swigt__p_wxFlexGridSizer
,
43345 _swigt__p_wxInitDialogEvent
,
43346 _swigt__p_wxItemContainer
,
43347 _swigt__p_wxNcPaintEvent
,
43348 _swigt__p_wxPaintEvent
,
43349 _swigt__p_wxSysColourChangedEvent
,
43350 _swigt__p_wxMouseCaptureChangedEvent
,
43351 _swigt__p_wxDisplayChangedEvent
,
43352 _swigt__p_wxPaletteChangedEvent
,
43353 _swigt__p_wxControl
,
43355 _swigt__p_wxMenuBarBase
,
43356 _swigt__p_wxSetCursorEvent
,
43357 _swigt__p_wxFSFile
,
43359 _swigt__p_wxRegion
,
43360 _swigt__p_wxPoint2D
,
43364 _swigt__p_wxPySizer
,
43365 _swigt__p_wxVisualAttributes
,
43366 _swigt__p_wxNotifyEvent
,
43367 _swigt__p_wxPyEvent
,
43368 _swigt__p_wxPropagationDisabler
,
43369 _swigt__p_wxAppTraits
,
43370 _swigt__p_wxArrayString
,
43371 _swigt__p_wxShowEvent
,
43372 _swigt__p_wxToolTip
,
43373 _swigt__p_wxIconizeEvent
,
43374 _swigt__p_wxActivateEvent
,
43375 _swigt__p_wxMoveEvent
,
43376 _swigt__p_wxSizeEvent
,
43377 _swigt__p_wxMaximizeEvent
,
43378 _swigt__p_wxQueryNewPaletteEvent
,
43379 _swigt__p_wxWindowCreateEvent
,
43380 _swigt__p_wxIdleEvent
,
43381 _swigt__p_wxMenuItem
,
43382 _swigt__p_wxStaticBox
,
43384 _swigt__p_wxTIFFHandler
,
43385 _swigt__p_wxXPMHandler
,
43386 _swigt__p_wxPNMHandler
,
43387 _swigt__p_wxJPEGHandler
,
43388 _swigt__p_wxPCXHandler
,
43389 _swigt__p_wxGIFHandler
,
43390 _swigt__p_wxPNGHandler
,
43391 _swigt__p_wxANIHandler
,
43392 _swigt__p_wxMemoryFSHandler
,
43393 _swigt__p_wxEvtHandler
,
43394 _swigt__p_wxCURHandler
,
43395 _swigt__p_wxICOHandler
,
43396 _swigt__p_wxBMPHandler
,
43397 _swigt__p_wxImageHandler
,
43398 _swigt__p_wxFileSystemHandler
,
43399 _swigt__p_wxPyFileSystemHandler
,
43400 _swigt__p_wxInternetFSHandler
,
43401 _swigt__p_wxZipFSHandler
,
43403 _swigt__p_wxGBSpan
,
43404 _swigt__p_wxPropagateOnce
,
43405 _swigt__p_wxAcceleratorTable
,
43407 _swigt__p_wxGBPosition
,
43410 _swigt__p_wxScrollWinEvent
,
43411 _swigt__p_wxImageHistogram
,
43414 _swigt__p_wxCursor
,
43415 _swigt__p_wxObject
,
43416 _swigt__p_wxPyInputStream
,
43417 _swigt__p_wxOutputStream
,
43418 _swigt__p_wxInputStream
,
43419 _swigt__p_wxDateTime
,
43420 _swigt__p_wxKeyEvent
,
43421 _swigt__p_wxNavigationKeyEvent
,
43422 _swigt__p_wxWindowDestroyEvent
,
43423 _swigt__p_wxWindow
,
43424 _swigt__p_wxMenuBar
,
43425 _swigt__p_wxFileSystem
,
43426 _swigt__p_wxBitmap
,
43427 _swigt__p_wxMenuEvent
,
43428 _swigt__p_wxContextMenuEvent
,
43429 _swigt__p_unsigned_char
,
43430 _swigt__p_wxCloseEvent
,
43431 _swigt__p_wxEraseEvent
,
43432 _swigt__p_wxMouseEvent
,
43434 _swigt__p_wxCommandEvent
,
43435 _swigt__p_wxPyCommandEvent
,
43436 _swigt__p_wxPyDropTarget
,
43437 _swigt__p_wxQuantize
,
43438 _swigt__p_wxChildFocusEvent
,
43439 _swigt__p_wxFocusEvent
,
43440 _swigt__p_wxDropFilesEvent
,
43441 _swigt__p_wxControlWithItems
,
43442 _swigt__p_wxColour
,
43443 _swigt__p_wxValidator
,
43444 _swigt__p_wxPyValidator
,
43449 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43451 static swig_const_info swig_const_table
[] = {
43452 {0, 0, 0, 0.0, 0, 0}};
43461 SWIGEXPORT(void) SWIG_init(void) {
43462 static PyObject
*SWIG_globals
= 0;
43463 static int typeinit
= 0;
43466 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
43467 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43468 d
= PyModule_GetDict(m
);
43471 for (i
= 0; swig_types_initial
[i
]; i
++) {
43472 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
43476 SWIG_InstallConstants(d
,swig_const_table
);
43479 #ifndef wxPyUSE_EXPORT
43480 // Make our API structure a CObject so other modules can import it
43481 // from this module.
43482 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
43483 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
43487 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
43488 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
43489 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
43490 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
43491 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
43492 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
43493 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
43494 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
43495 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
43496 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
43497 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
43498 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
43499 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
43500 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
43501 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
43502 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
43503 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
43504 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
43505 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
43506 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
43507 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
43508 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
43509 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
43510 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
43511 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
43512 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
43513 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
43514 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
43515 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
43516 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
43517 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
43518 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
43519 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
43520 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
43521 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
43522 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
43523 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
43524 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
43525 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
43526 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
43527 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
43528 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
43529 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
43530 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
43531 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
43532 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
43533 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
43534 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
43535 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
43536 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
43537 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
43538 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
43539 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
43540 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
43541 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
43542 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
43543 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
43544 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
43545 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
43546 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
43547 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
43548 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
43549 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
43550 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
43551 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
43552 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
43553 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
43554 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
43555 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
43556 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
43557 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
43558 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
43559 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
43560 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
43561 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
43562 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
43563 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
43564 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
43565 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
43566 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
43567 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
43568 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
43569 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
43570 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
43571 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
43572 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
43573 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
43574 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
43575 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
43576 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
43577 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
43578 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
43579 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
43580 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
43581 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
43582 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
43583 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
43584 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
43585 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
43586 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
43587 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
43588 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
43589 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
43590 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
43591 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
43592 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
43593 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
43594 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
43595 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
43596 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
43597 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
43598 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
43599 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
43600 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
43601 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
43602 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
43603 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
43604 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
43605 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
43606 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
43607 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
43608 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
43609 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
43610 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
43611 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
43612 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
43613 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
43614 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
43615 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
43616 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
43617 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
43618 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
43619 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
43620 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
43621 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
43622 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
43623 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
43624 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43625 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43626 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43627 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43628 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43629 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43630 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43631 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43632 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43633 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43634 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43635 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43636 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43637 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43638 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43639 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43640 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43641 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43642 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43643 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43644 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43645 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43646 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43647 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43648 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43649 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43650 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43651 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43652 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43653 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43654 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43655 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43656 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43657 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43658 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43659 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43660 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43661 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43662 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43663 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43664 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43665 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43666 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43667 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43668 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43669 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43670 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43671 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43672 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43673 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43674 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43675 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43676 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43677 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43678 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43679 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43680 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43681 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43682 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43683 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43684 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43685 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43686 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43687 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43688 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43689 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43690 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43691 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43692 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43693 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43694 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43695 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43696 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43697 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43698 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43699 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43700 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43701 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43702 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43703 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43704 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43705 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43706 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43707 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43708 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43709 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43710 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43711 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43712 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43713 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43714 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43715 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43716 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43717 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43718 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43719 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43720 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43721 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43722 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43723 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43724 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43725 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43726 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43727 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43728 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43729 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43730 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43731 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43732 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43733 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43734 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43735 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43736 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43737 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43738 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43739 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43740 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43741 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43742 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43743 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43744 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43745 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43746 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43747 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43748 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43749 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43750 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43751 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43752 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43753 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43754 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43755 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43756 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43757 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43758 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43759 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43760 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43761 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43762 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43763 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43764 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43765 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43766 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43767 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43768 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43769 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43770 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43771 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43772 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43773 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43774 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43775 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43776 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43777 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43778 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43779 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43780 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43781 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43782 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43783 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43784 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43785 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43786 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43787 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43788 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43789 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43790 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43791 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43792 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43793 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43794 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43795 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43796 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43797 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43798 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43799 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43800 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43801 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43802 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43803 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43804 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43805 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43806 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43807 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43808 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43809 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43810 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43811 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43812 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43813 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43814 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43815 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43816 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43817 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43818 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43819 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43820 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43821 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43822 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43823 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43824 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43825 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43826 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43827 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43828 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43829 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43830 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43831 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43832 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43833 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43834 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43835 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43836 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43837 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43838 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43839 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43840 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43841 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43842 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43843 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43844 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43845 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43846 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43847 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43848 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43849 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43850 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43851 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43852 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43853 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43854 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43855 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43856 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43857 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43858 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43859 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43860 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43861 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43862 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43863 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43864 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43865 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43866 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43867 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43868 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43869 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43870 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43871 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43872 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43873 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43874 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43875 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43876 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43877 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43878 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43879 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43880 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43881 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43882 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43883 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43884 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43885 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43886 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43887 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43888 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43889 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43890 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43891 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43892 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43893 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43894 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43895 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43896 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43897 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43898 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43899 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43900 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43901 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43902 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43903 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43904 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43905 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43906 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43907 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43908 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43909 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43910 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43911 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43912 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43913 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43914 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43915 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43916 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43917 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43918 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43919 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43920 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43921 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43922 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43923 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43924 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43925 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43926 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43927 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43928 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43929 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43930 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43931 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43932 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43933 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43934 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43935 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43936 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43937 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43938 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43939 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43940 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43941 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43942 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43943 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43944 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43945 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43946 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43947 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43948 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43949 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43950 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43951 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43952 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43953 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43954 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43955 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43956 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43957 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43958 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43959 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43960 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43961 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43962 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43963 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43964 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43965 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43966 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43967 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43968 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43969 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43970 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43971 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43972 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43973 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43974 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43975 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43976 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43977 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43978 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43979 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43980 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43981 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43982 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43983 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43984 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43985 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43986 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43987 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43988 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43989 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43990 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43991 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43992 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43993 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43994 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43995 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43996 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43997 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43998 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43999 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
44000 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
44001 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
44002 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
44003 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
44004 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
44005 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
44006 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
44007 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
44008 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
44009 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
44010 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
44011 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
44012 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
44013 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
44014 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
44015 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
44016 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
44017 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
44018 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
44019 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
44020 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
44021 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
44022 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
44023 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
44024 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
44025 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
44026 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
44027 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
44028 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
44029 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
44030 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
44031 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
44032 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
44033 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
44034 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
44035 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
44036 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
44037 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
44038 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
44039 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
44040 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
44041 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
44042 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
44043 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
44044 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
44045 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
44046 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
44047 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
44048 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
44049 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
44050 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
44051 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
44052 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
44053 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
44054 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
44055 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
44056 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
44057 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
44058 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
44059 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
44060 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
44061 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
44062 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
44063 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
44064 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
44065 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
44066 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
44067 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
44068 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
44069 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
44070 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
44071 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
44072 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
44073 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
44074 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
44075 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
44076 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
44077 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
44078 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
44079 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
44080 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
44081 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
44082 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
44083 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
44084 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
44085 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
44087 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
44090 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
44092 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
44093 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
44094 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
44095 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
44096 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
44097 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
44098 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
44099 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
44100 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
44101 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
44102 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
44103 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
44104 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
44105 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
44106 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
44107 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
44108 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
44109 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
44110 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
44111 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
44112 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
44113 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
44114 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
44115 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
44116 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
44117 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
44118 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
44119 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
44120 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
44121 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
44122 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
44123 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
44124 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
44125 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
44126 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
44127 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
44128 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
44129 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
44130 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
44131 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
44132 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
44133 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
44134 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
44135 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
44136 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
44137 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
44138 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
44139 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
44140 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
44141 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
44142 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
44143 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
44144 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
44145 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
44146 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
44147 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
44148 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
44149 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
44150 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
44151 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
44152 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
44153 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
44154 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
44155 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
44156 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
44157 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
44158 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
44159 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
44160 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
44161 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
44162 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
44163 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
44164 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
44165 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
44166 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
44167 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
44168 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
44169 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
44170 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
44171 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
44172 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
44173 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
44174 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
44175 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
44176 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
44177 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
44178 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
44179 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
44180 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
44181 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
44182 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
44183 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
44184 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
44185 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
44186 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
44187 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
44188 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
44189 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
44190 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
44191 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
44192 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
44193 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
44194 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
44195 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
44196 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
44197 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
44198 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
44199 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
44200 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
44201 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
44202 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
44203 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
44204 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
44205 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
44206 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
44207 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
44208 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
44209 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
44210 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
44211 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
44212 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
44213 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
44214 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
44215 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
44216 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
44217 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
44218 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
44219 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
44220 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
44221 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
44222 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
44223 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
44224 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
44225 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
44226 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
44227 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
44228 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
44229 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
44230 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
44231 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
44232 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
44233 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
44234 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
44235 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
44236 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
44237 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
44238 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
44239 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
44240 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
44241 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
44242 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
44243 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
44244 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
44245 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
44246 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
44247 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
44248 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
44249 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
44250 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
44251 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
44252 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
44253 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
44254 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
44255 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
44256 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
44257 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
44258 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
44259 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
44260 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
44261 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
44262 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
44263 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
44264 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
44265 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
44266 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
44267 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
44268 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
44269 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
44270 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
44271 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
44272 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
44273 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
44274 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
44275 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
44276 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
44278 // Initialize threading, some globals and such
44282 // Although these are defined in __version__ they need to be here too so
44283 // that an assert can be done to ensure that the wxPython and the wxWindows
44285 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
44286 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
44287 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));