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
; }
1558 SWIGSTATICINLINE(int)
1559 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
1562 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, (size_t*)(0))) {
1563 if (val
) *val
= cptr
;
1567 PyErr_SetString(PyExc_TypeError
, "a char* is expected");
1573 SWIGSTATICINLINE(PyObject
*)
1574 SWIG_FromCharPtr(const char* cptr
)
1577 size_t size
= strlen(cptr
);
1578 if (size
> INT_MAX
) {
1579 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
1580 SWIG_TypeQuery("char *"), 0);
1583 return PyString_FromStringAndSize(cptr
, size
);
1585 return PyString_FromString(cptr
);
1596 // A dummy class that raises an exception if used...
1600 wxEventLoop() { wxPyRaiseNotImplemented(); }
1601 int Run() { return 0; }
1602 void Exit(int rc
= 0) {}
1603 bool Pending() const { return false; }
1604 bool Dispatch() { return false; }
1605 bool IsRunning() const { return false; }
1606 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
1607 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
1612 #include <wx/evtloop.h>
1618 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1619 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1620 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1621 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1622 wxWindowList
& list
= self
->GetChildren();
1623 return wxPy_ConvertList(&list
);
1625 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1627 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1632 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1639 long wxWindow_GetHandle(wxWindow
*self
){
1640 return wxPyGetWinHandle(self
);
1642 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1643 self
->AssociateHandle((WXWidget
)handle
);
1646 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1647 return wxWindow::FindWindowById(id
, parent
);
1650 wxWindow
* wxFindWindowByName( const wxString
& name
,
1651 const wxWindow
*parent
= NULL
) {
1652 return wxWindow::FindWindowByName(name
, parent
);
1655 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1656 const wxWindow
*parent
= NULL
) {
1657 return wxWindow::FindWindowByLabel(label
, parent
);
1662 #include <wx/msw/private.h> // to get wxGetWindowId
1666 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1668 WXHWND hWnd
= (WXHWND
)_hWnd
;
1669 long id
= wxGetWindowId(hWnd
);
1670 wxWindow
* win
= new wxWindow
;
1671 parent
->AddChild(win
);
1672 win
->SetEventHandler(win
);
1675 win
->SubclassWin(hWnd
);
1676 win
->AdoptAttributesFromHWND();
1677 win
->SetupColours();
1680 wxPyRaiseNotImplemented();
1686 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1687 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1688 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1690 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1692 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1693 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1694 wxMenuItemList
& list
= self
->GetMenuItems();
1695 return wxPy_ConvertList(&list
);
1697 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1698 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1700 wxPyClientData
* data
= new wxPyClientData(clientData
);
1701 return self
->Append(item
, data
);
1703 return self
->Append(item
);
1705 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1707 wxPyClientData
* data
= new wxPyClientData(clientData
);
1708 return self
->Insert(item
, pos
, data
);
1710 return self
->Insert(item
, pos
);
1712 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1713 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1715 Py_INCREF(data
->m_obj
);
1722 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1723 wxPyClientData
* data
= new wxPyClientData(clientData
);
1724 self
->SetClientObject(n
, data
);
1728 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1729 wxPyUserData
* data
= NULL
;
1731 bool blocked
= wxPyBeginBlockThreads();
1732 data
= new wxPyUserData(userData
);
1733 wxPyEndBlockThreads(blocked
);
1735 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1737 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1738 wxPyUserData
* data
= NULL
;
1740 bool blocked
= wxPyBeginBlockThreads();
1741 data
= new wxPyUserData(userData
);
1742 wxPyEndBlockThreads(blocked
);
1744 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1746 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1747 wxPyUserData
* data
= NULL
;
1749 bool blocked
= wxPyBeginBlockThreads();
1750 data
= new wxPyUserData(userData
);
1751 wxPyEndBlockThreads(blocked
);
1753 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1757 SWIGSTATICINLINE(int)
1758 SWIG_CheckDoubleInRange(double value
, double min_value
,
1759 double max_value
, const char* errmsg
)
1761 if (value
< min_value
) {
1763 PyErr_Format(PyExc_OverflowError
,
1764 "value %g is less than %s minimum %g",
1765 value
, errmsg
, min_value
);
1768 } else if (value
> max_value
) {
1770 PyErr_Format(PyExc_OverflowError
,
1771 "value %g is greater than %s maximum %g",
1772 value
, errmsg
, max_value
);
1780 SWIGSTATICINLINE(int)
1781 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1783 const char* errmsg
= val
? "float" : 0;
1785 if (SWIG_AsVal_double(obj
, &v
)) {
1786 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1796 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1802 SWIGSTATICINLINE(float)
1803 SWIG_As_float(PyObject
* obj
)
1806 if (!SWIG_AsVal_float(obj
, &v
)) {
1808 this is needed to make valgrind/purify happier. the other
1809 solution is throw an exception, but since this code should work
1812 memset((void*)&v
, 0, sizeof(float));
1818 SWIGSTATICINLINE(int)
1819 SWIG_Check_float(PyObject
* obj
)
1821 return SWIG_AsVal_float(obj
, (float*)0);
1824 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1825 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1827 Py_INCREF(data
->m_obj
);
1835 // Figure out the type of the sizer item
1837 struct wxPySizerItemInfo
{
1839 : window(NULL
), sizer(NULL
), gotSize(false),
1840 size(wxDefaultSize
), gotPos(false), pos(-1)
1851 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1853 wxPySizerItemInfo info
;
1855 wxSize
* sizePtr
= &size
;
1857 // Find out what the type of the item is
1859 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1864 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1868 // try wxSize or (w,h)
1869 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1870 info
.size
= *sizePtr
;
1871 info
.gotSize
= true;
1875 if (checkIdx
&& PyInt_Check(item
)) {
1876 info
.pos
= PyInt_AsLong(item
);
1882 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1883 // no expected type, figure out what kind of error message to generate
1884 if ( !checkSize
&& !checkIdx
)
1885 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1886 else if ( checkSize
&& !checkIdx
)
1887 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1888 else if ( !checkSize
&& checkIdx
)
1889 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1891 // can this one happen?
1892 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1898 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1899 if (!self
->GetClientObject())
1900 self
->SetClientObject(new wxPyOORClientData(_self
));
1902 wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1904 wxPyUserData
* data
= NULL
;
1905 bool blocked
= wxPyBeginBlockThreads();
1906 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1907 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1908 data
= new wxPyUserData(userData
);
1909 wxPyEndBlockThreads(blocked
);
1911 // Now call the real Add method if a valid item type was found
1913 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
1914 else if ( info
.sizer
)
1915 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1916 else if (info
.gotSize
)
1917 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1918 proportion
, flag
, border
, data
);
1922 wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1924 wxPyUserData
* data
= NULL
;
1925 bool blocked
= wxPyBeginBlockThreads();
1926 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1927 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1928 data
= new wxPyUserData(userData
);
1929 wxPyEndBlockThreads(blocked
);
1931 // Now call the real Insert method if a valid item type was found
1933 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1934 else if ( info
.sizer
)
1935 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1936 else if (info
.gotSize
)
1937 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1938 proportion
, flag
, border
, data
);
1942 wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1944 wxPyUserData
* data
= NULL
;
1945 bool blocked
= wxPyBeginBlockThreads();
1946 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1947 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1948 data
= new wxPyUserData(userData
);
1949 wxPyEndBlockThreads(blocked
);
1951 // Now call the real Prepend method if a valid item type was found
1953 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1954 else if ( info
.sizer
)
1955 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1956 else if (info
.gotSize
)
1957 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1958 proportion
, flag
, border
, data
);
1962 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1963 bool blocked
= wxPyBeginBlockThreads();
1964 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1965 wxPyEndBlockThreads(blocked
);
1967 return self
->Remove(info
.window
);
1968 else if ( info
.sizer
)
1969 return self
->Remove(info
.sizer
);
1970 else if ( info
.gotPos
)
1971 return self
->Remove(info
.pos
);
1975 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1976 bool blocked
= wxPyBeginBlockThreads();
1977 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1978 wxPyEndBlockThreads(blocked
);
1980 return self
->Detach(info
.window
);
1981 else if ( info
.sizer
)
1982 return self
->Detach(info
.sizer
);
1983 else if ( info
.gotPos
)
1984 return self
->Detach(info
.pos
);
1988 wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
1989 bool blocked
= wxPyBeginBlockThreads();
1990 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1991 wxPyEndBlockThreads(blocked
);
1993 return self
->GetItem(info
.window
);
1994 else if ( info
.sizer
)
1995 return self
->GetItem(info
.sizer
);
1996 else if ( info
.gotPos
)
1997 return self
->GetItem(info
.pos
);
2001 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
2002 bool blocked
= wxPyBeginBlockThreads();
2003 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
2004 wxPyEndBlockThreads(blocked
);
2006 self
->SetItemMinSize(info
.window
, size
);
2007 else if ( info
.sizer
)
2008 self
->SetItemMinSize(info
.sizer
, size
);
2009 else if ( info
.gotPos
)
2010 self
->SetItemMinSize(info
.pos
, size
);
2012 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
2013 wxSizerItemList
& list
= self
->GetChildren();
2014 return wxPy_ConvertList(&list
);
2016 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
2017 bool blocked
= wxPyBeginBlockThreads();
2018 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
2019 wxPyEndBlockThreads(blocked
);
2021 return self
->Show(info
.window
, show
, recursive
);
2022 else if ( info
.sizer
)
2023 return self
->Show(info
.sizer
, show
, recursive
);
2024 else if ( info
.gotPos
)
2025 return self
->Show(info
.pos
, show
);
2029 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
2030 bool blocked
= wxPyBeginBlockThreads();
2031 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
2032 wxPyEndBlockThreads(blocked
);
2034 return self
->IsShown(info
.window
);
2035 else if ( info
.sizer
)
2036 return self
->IsShown(info
.sizer
);
2037 else if ( info
.gotPos
)
2038 return self
->IsShown(info
.pos
);
2044 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
2045 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
2046 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
2051 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
2053 if (source
== Py_None
) {
2054 **obj
= wxGBPosition(-1,-1);
2057 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
2060 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
2062 if (source
== Py_None
) {
2063 **obj
= wxGBSpan(-1,-1);
2066 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
2070 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2074 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2075 bool blocked
= wxPyBeginBlockThreads();
2076 PyObject
* tup
= PyTuple_New(2);
2077 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2078 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2079 wxPyEndBlockThreads(blocked
);
2082 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2083 self
->SetRowspan(rowspan
);
2084 self
->SetColspan(colspan
);
2086 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2087 bool blocked
= wxPyBeginBlockThreads();
2088 PyObject
* tup
= PyTuple_New(2);
2089 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2090 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2091 wxPyEndBlockThreads(blocked
);
2094 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2095 wxPyUserData
* data
= NULL
;
2097 bool blocked
= wxPyBeginBlockThreads();
2098 data
= new wxPyUserData(userData
);
2099 wxPyEndBlockThreads(blocked
);
2101 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2103 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2104 wxPyUserData
* data
= NULL
;
2106 bool blocked
= wxPyBeginBlockThreads();
2107 data
= new wxPyUserData(userData
);
2108 wxPyEndBlockThreads(blocked
);
2110 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2112 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2113 wxPyUserData
* data
= NULL
;
2115 bool blocked
= wxPyBeginBlockThreads();
2116 data
= new wxPyUserData(userData
);
2117 wxPyEndBlockThreads(blocked
);
2119 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2121 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2123 self
->GetEndPos(row
, col
);
2124 return wxGBPosition(row
, col
);
2126 wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2128 wxPyUserData
* data
= NULL
;
2129 bool blocked
= wxPyBeginBlockThreads();
2130 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2131 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2132 data
= new wxPyUserData(userData
);
2133 wxPyEndBlockThreads(blocked
);
2135 // Now call the real Add method if a valid item type was found
2137 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2138 else if ( info
.sizer
)
2139 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2140 else if (info
.gotSize
)
2141 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2142 pos
, span
, flag
, border
, data
);
2150 static int _wrap_EmptyString_set(PyObject
*) {
2151 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2156 static PyObject
*_wrap_EmptyString_get() {
2161 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2163 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2170 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2172 wxObject
*arg1
= (wxObject
*) 0 ;
2174 PyObject
* obj0
= 0 ;
2176 (char *) "self", NULL
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 result
= wxObject_GetClassName(arg1
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2202 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxObject
*arg1
= (wxObject
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2207 (char *) "self", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 wxObject_Destroy(arg1
);
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2220 Py_INCREF(Py_None
); resultobj
= Py_None
;
2227 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2230 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2232 return Py_BuildValue((char *)"");
2234 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxSize
*arg1
= (wxSize
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2239 PyObject
* obj1
= 0 ;
2241 (char *) "self",(char *) "x", NULL
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2247 arg2
= (int)SWIG_As_int(obj1
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2249 if (arg1
) (arg1
)->x
= arg2
;
2251 Py_INCREF(Py_None
); resultobj
= Py_None
;
2258 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
*resultobj
;
2260 wxSize
*arg1
= (wxSize
*) 0 ;
2262 PyObject
* obj0
= 0 ;
2264 (char *) "self", NULL
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2270 result
= (int) ((arg1
)->x
);
2272 resultobj
= SWIG_From_int((int)result
);
2279 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxSize
*arg1
= (wxSize
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2284 PyObject
* obj1
= 0 ;
2286 (char *) "self",(char *) "y", NULL
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 arg2
= (int)SWIG_As_int(obj1
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2294 if (arg1
) (arg1
)->y
= arg2
;
2296 Py_INCREF(Py_None
); resultobj
= Py_None
;
2303 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
*resultobj
;
2305 wxSize
*arg1
= (wxSize
*) 0 ;
2307 PyObject
* obj0
= 0 ;
2309 (char *) "self", NULL
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2315 result
= (int) ((arg1
)->y
);
2317 resultobj
= SWIG_From_int((int)result
);
2324 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2326 int arg1
= (int) 0 ;
2327 int arg2
= (int) 0 ;
2329 PyObject
* obj0
= 0 ;
2330 PyObject
* obj1
= 0 ;
2332 (char *) "w",(char *) "h", NULL
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2337 arg1
= (int)SWIG_As_int(obj0
);
2338 if (PyErr_Occurred()) SWIG_fail
;
2341 arg2
= (int)SWIG_As_int(obj1
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2346 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2348 wxPyEndAllowThreads(__tstate
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2358 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
*resultobj
;
2360 wxSize
*arg1
= (wxSize
*) 0 ;
2361 PyObject
* obj0
= 0 ;
2363 (char *) "self", NULL
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2376 Py_INCREF(Py_None
); resultobj
= Py_None
;
2383 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2385 wxSize
*arg1
= (wxSize
*) 0 ;
2389 PyObject
* obj0
= 0 ;
2390 PyObject
* obj1
= 0 ;
2392 (char *) "self",(char *) "sz", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2418 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxSize
*arg1
= (wxSize
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2425 PyObject
* obj1
= 0 ;
2427 (char *) "self",(char *) "sz", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2435 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2453 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2455 wxSize
*arg1
= (wxSize
*) 0 ;
2459 PyObject
* obj0
= 0 ;
2460 PyObject
* obj1
= 0 ;
2462 (char *) "self",(char *) "sz", NULL
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2481 resultptr
= new wxSize((wxSize
&) result
);
2482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2490 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2492 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___sub__",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 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2518 resultptr
= new wxSize((wxSize
&) result
);
2519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2527 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxSize
*arg1
= (wxSize
*) 0 ;
2532 PyObject
* obj0
= 0 ;
2533 PyObject
* obj1
= 0 ;
2535 (char *) "self",(char *) "sz", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2543 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 (arg1
)->IncTo((wxSize
const &)*arg2
);
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2552 Py_INCREF(Py_None
); resultobj
= Py_None
;
2559 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
*resultobj
;
2561 wxSize
*arg1
= (wxSize
*) 0 ;
2564 PyObject
* obj0
= 0 ;
2565 PyObject
* obj1
= 0 ;
2567 (char *) "self",(char *) "sz", NULL
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2575 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 (arg1
)->DecTo((wxSize
const &)*arg2
);
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2584 Py_INCREF(Py_None
); resultobj
= Py_None
;
2591 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
*resultobj
;
2593 wxSize
*arg1
= (wxSize
*) 0 ;
2596 PyObject
* obj0
= 0 ;
2597 PyObject
* obj1
= 0 ;
2598 PyObject
* obj2
= 0 ;
2600 (char *) "self",(char *) "w",(char *) "h", NULL
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2606 arg2
= (int)SWIG_As_int(obj1
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2608 arg3
= (int)SWIG_As_int(obj2
);
2609 if (PyErr_Occurred()) SWIG_fail
;
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 (arg1
)->Set(arg2
,arg3
);
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2617 Py_INCREF(Py_None
); resultobj
= Py_None
;
2624 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
*resultobj
;
2626 wxSize
*arg1
= (wxSize
*) 0 ;
2628 PyObject
* obj0
= 0 ;
2629 PyObject
* obj1
= 0 ;
2631 (char *) "self",(char *) "w", NULL
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2637 arg2
= (int)SWIG_As_int(obj1
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 (arg1
)->SetWidth(arg2
);
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2646 Py_INCREF(Py_None
); resultobj
= Py_None
;
2653 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
*resultobj
;
2655 wxSize
*arg1
= (wxSize
*) 0 ;
2657 PyObject
* obj0
= 0 ;
2658 PyObject
* obj1
= 0 ;
2660 (char *) "self",(char *) "h", NULL
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2666 arg2
= (int)SWIG_As_int(obj1
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2670 (arg1
)->SetHeight(arg2
);
2672 wxPyEndAllowThreads(__tstate
);
2673 if (PyErr_Occurred()) SWIG_fail
;
2675 Py_INCREF(Py_None
); resultobj
= Py_None
;
2682 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
*resultobj
;
2684 wxSize
*arg1
= (wxSize
*) 0 ;
2686 PyObject
* obj0
= 0 ;
2688 (char *) "self", NULL
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2701 resultobj
= SWIG_From_int((int)result
);
2708 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 wxSize
*arg1
= (wxSize
*) 0 ;
2712 PyObject
* obj0
= 0 ;
2714 (char *) "self", NULL
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= SWIG_From_int((int)result
);
2734 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2736 wxSize
*arg1
= (wxSize
*) 0 ;
2738 PyObject
* obj0
= 0 ;
2740 (char *) "self", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2762 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
*resultobj
;
2764 wxSize
*arg1
= (wxSize
*) 0 ;
2767 PyObject
* obj0
= 0 ;
2768 PyObject
* obj1
= 0 ;
2770 (char *) "self",(char *) "size", NULL
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2778 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2787 Py_INCREF(Py_None
); resultobj
= Py_None
;
2794 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2796 wxSize
*arg1
= (wxSize
*) 0 ;
2798 PyObject
* obj0
= 0 ;
2800 (char *) "self", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 result
= (PyObject
*)wxSize_Get(arg1
);
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2820 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2823 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2825 return Py_BuildValue((char *)"");
2827 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
*resultobj
;
2829 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2831 PyObject
* obj0
= 0 ;
2832 PyObject
* obj1
= 0 ;
2834 (char *) "self",(char *) "x", NULL
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2840 arg2
= (double)SWIG_As_double(obj1
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2842 if (arg1
) (arg1
)->x
= arg2
;
2844 Py_INCREF(Py_None
); resultobj
= Py_None
;
2851 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2853 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2855 PyObject
* obj0
= 0 ;
2857 (char *) "self", NULL
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2863 result
= (double) ((arg1
)->x
);
2865 resultobj
= SWIG_From_double((double)result
);
2872 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2876 PyObject
* obj0
= 0 ;
2877 PyObject
* obj1
= 0 ;
2879 (char *) "self",(char *) "y", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 arg2
= (double)SWIG_As_double(obj1
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2887 if (arg1
) (arg1
)->y
= arg2
;
2889 Py_INCREF(Py_None
); resultobj
= Py_None
;
2896 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2900 PyObject
* obj0
= 0 ;
2902 (char *) "self", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2908 result
= (double) ((arg1
)->y
);
2910 resultobj
= SWIG_From_double((double)result
);
2917 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2919 double arg1
= (double) 0.0 ;
2920 double arg2
= (double) 0.0 ;
2921 wxRealPoint
*result
;
2922 PyObject
* obj0
= 0 ;
2923 PyObject
* obj1
= 0 ;
2925 (char *) "x",(char *) "y", NULL
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2930 arg1
= (double)SWIG_As_double(obj0
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2934 arg2
= (double)SWIG_As_double(obj1
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2951 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2954 PyObject
* obj0
= 0 ;
2956 (char *) "self", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2969 Py_INCREF(Py_None
); resultobj
= Py_None
;
2976 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2979 wxRealPoint
*arg2
= 0 ;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2985 (char *) "self",(char *) "pt", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2993 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3011 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
*resultobj
;
3013 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3014 wxRealPoint
*arg2
= 0 ;
3017 PyObject
* obj0
= 0 ;
3018 PyObject
* obj1
= 0 ;
3020 (char *) "self",(char *) "pt", NULL
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3028 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3046 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
*resultobj
;
3048 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3049 wxRealPoint
*arg2
= 0 ;
3052 PyObject
* obj0
= 0 ;
3053 PyObject
* obj1
= 0 ;
3055 (char *) "self",(char *) "pt", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3063 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3073 wxRealPoint
* resultptr
;
3074 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3083 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3086 wxRealPoint
*arg2
= 0 ;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3092 (char *) "self",(char *) "pt", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3100 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3110 wxRealPoint
* resultptr
;
3111 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3120 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
*resultobj
;
3122 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3125 PyObject
* obj0
= 0 ;
3126 PyObject
* obj1
= 0 ;
3127 PyObject
* obj2
= 0 ;
3129 (char *) "self",(char *) "x",(char *) "y", NULL
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3135 arg2
= (double)SWIG_As_double(obj1
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3137 arg3
= (double)SWIG_As_double(obj2
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 wxRealPoint_Set(arg1
,arg2
,arg3
);
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3146 Py_INCREF(Py_None
); resultobj
= Py_None
;
3153 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3155 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3157 PyObject
* obj0
= 0 ;
3159 (char *) "self", NULL
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3179 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3182 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3184 return Py_BuildValue((char *)"");
3186 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3188 wxPoint
*arg1
= (wxPoint
*) 0 ;
3190 PyObject
* obj0
= 0 ;
3191 PyObject
* obj1
= 0 ;
3193 (char *) "self",(char *) "x", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3199 arg2
= (int)SWIG_As_int(obj1
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3201 if (arg1
) (arg1
)->x
= arg2
;
3203 Py_INCREF(Py_None
); resultobj
= Py_None
;
3210 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
*resultobj
;
3212 wxPoint
*arg1
= (wxPoint
*) 0 ;
3214 PyObject
* obj0
= 0 ;
3216 (char *) "self", NULL
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3222 result
= (int) ((arg1
)->x
);
3224 resultobj
= SWIG_From_int((int)result
);
3231 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxPoint
*arg1
= (wxPoint
*) 0 ;
3235 PyObject
* obj0
= 0 ;
3236 PyObject
* obj1
= 0 ;
3238 (char *) "self",(char *) "y", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3244 arg2
= (int)SWIG_As_int(obj1
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3246 if (arg1
) (arg1
)->y
= arg2
;
3248 Py_INCREF(Py_None
); resultobj
= Py_None
;
3255 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
*resultobj
;
3257 wxPoint
*arg1
= (wxPoint
*) 0 ;
3259 PyObject
* obj0
= 0 ;
3261 (char *) "self", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3267 result
= (int) ((arg1
)->y
);
3269 resultobj
= SWIG_From_int((int)result
);
3276 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
*resultobj
;
3278 int arg1
= (int) 0 ;
3279 int arg2
= (int) 0 ;
3281 PyObject
* obj0
= 0 ;
3282 PyObject
* obj1
= 0 ;
3284 (char *) "x",(char *) "y", NULL
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3289 arg1
= (int)SWIG_As_int(obj0
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3293 arg2
= (int)SWIG_As_int(obj1
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3310 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxPoint
*arg1
= (wxPoint
*) 0 ;
3313 PyObject
* obj0
= 0 ;
3315 (char *) "self", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 Py_INCREF(Py_None
); resultobj
= Py_None
;
3335 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxPoint
*arg1
= (wxPoint
*) 0 ;
3341 PyObject
* obj0
= 0 ;
3342 PyObject
* obj1
= 0 ;
3344 (char *) "self",(char *) "pt", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3352 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3370 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxPoint
*arg1
= (wxPoint
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3379 (char *) "self",(char *) "pt", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3405 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxPoint
*arg1
= (wxPoint
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3412 PyObject
* obj1
= 0 ;
3414 (char *) "self",(char *) "pt", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3422 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3432 wxPoint
* resultptr
;
3433 resultptr
= new wxPoint((wxPoint
&) result
);
3434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3442 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxPoint
*arg1
= (wxPoint
*) 0 ;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3451 (char *) "self",(char *) "pt", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3469 wxPoint
* resultptr
;
3470 resultptr
= new wxPoint((wxPoint
&) result
);
3471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3479 static PyObject
*_wrap_Point___iadd__(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___iadd__",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___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxPoint
*arg1
= (wxPoint
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3524 (char *) "self",(char *) "pt", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3529 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3538 result
= (wxPoint
*) &_result_ref
;
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3551 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxPoint
*arg1
= (wxPoint
*) 0 ;
3556 PyObject
* obj0
= 0 ;
3557 PyObject
* obj1
= 0 ;
3558 PyObject
* obj2
= 0 ;
3560 (char *) "self",(char *) "x",(char *) "y", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3566 arg2
= (long)SWIG_As_long(obj1
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3568 arg3
= (long)SWIG_As_long(obj2
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 wxPoint_Set(arg1
,arg2
,arg3
);
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 Py_INCREF(Py_None
); resultobj
= Py_None
;
3584 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxPoint
*arg1
= (wxPoint
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3590 (char *) "self", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 result
= (PyObject
*)wxPoint_Get(arg1
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3610 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3613 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3615 return Py_BuildValue((char *)"");
3617 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 int arg1
= (int) 0 ;
3620 int arg2
= (int) 0 ;
3621 int arg3
= (int) 0 ;
3622 int arg4
= (int) 0 ;
3624 PyObject
* obj0
= 0 ;
3625 PyObject
* obj1
= 0 ;
3626 PyObject
* obj2
= 0 ;
3627 PyObject
* obj3
= 0 ;
3629 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3634 arg1
= (int)SWIG_As_int(obj0
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3638 arg2
= (int)SWIG_As_int(obj1
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 arg3
= (int)SWIG_As_int(obj2
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3646 arg4
= (int)SWIG_As_int(obj3
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3663 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3670 PyObject
* obj0
= 0 ;
3671 PyObject
* obj1
= 0 ;
3673 (char *) "topLeft",(char *) "bottomRight", NULL
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3679 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
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_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3706 PyObject
* obj0
= 0 ;
3707 PyObject
* obj1
= 0 ;
3709 (char *) "pos",(char *) "size", NULL
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3715 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3735 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3740 PyObject
* obj0
= 0 ;
3742 (char *) "size", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
3748 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3764 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxRect
*arg1
= (wxRect
*) 0 ;
3767 PyObject
* obj0
= 0 ;
3769 (char *) "self", NULL
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 Py_INCREF(Py_None
); resultobj
= Py_None
;
3789 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
;
3791 wxRect
*arg1
= (wxRect
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3795 (char *) "self", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= (int)((wxRect
const *)arg1
)->GetX();
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3808 resultobj
= SWIG_From_int((int)result
);
3815 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 wxRect
*arg1
= (wxRect
*) 0 ;
3819 PyObject
* obj0
= 0 ;
3820 PyObject
* obj1
= 0 ;
3822 (char *) "self",(char *) "x", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3828 arg2
= (int)SWIG_As_int(obj1
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 Py_INCREF(Py_None
); resultobj
= Py_None
;
3844 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxRect
*arg1
= (wxRect
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3850 (char *) "self", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (int)(arg1
)->GetY();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_From_int((int)result
);
3870 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxRect
*arg1
= (wxRect
*) 0 ;
3874 PyObject
* obj0
= 0 ;
3875 PyObject
* obj1
= 0 ;
3877 (char *) "self",(char *) "y", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3883 arg2
= (int)SWIG_As_int(obj1
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 Py_INCREF(Py_None
); resultobj
= Py_None
;
3899 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxRect
*arg1
= (wxRect
*) 0 ;
3903 PyObject
* obj0
= 0 ;
3905 (char *) "self", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= SWIG_From_int((int)result
);
3925 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxRect
*arg1
= (wxRect
*) 0 ;
3929 PyObject
* obj0
= 0 ;
3930 PyObject
* obj1
= 0 ;
3932 (char *) "self",(char *) "w", NULL
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3938 arg2
= (int)SWIG_As_int(obj1
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 (arg1
)->SetWidth(arg2
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3947 Py_INCREF(Py_None
); resultobj
= Py_None
;
3954 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
*resultobj
;
3956 wxRect
*arg1
= (wxRect
*) 0 ;
3958 PyObject
* obj0
= 0 ;
3960 (char *) "self", NULL
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3973 resultobj
= SWIG_From_int((int)result
);
3980 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
;
3982 wxRect
*arg1
= (wxRect
*) 0 ;
3984 PyObject
* obj0
= 0 ;
3985 PyObject
* obj1
= 0 ;
3987 (char *) "self",(char *) "h", NULL
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3993 arg2
= (int)SWIG_As_int(obj1
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 (arg1
)->SetHeight(arg2
);
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4002 Py_INCREF(Py_None
); resultobj
= Py_None
;
4009 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
;
4011 wxRect
*arg1
= (wxRect
*) 0 ;
4013 PyObject
* obj0
= 0 ;
4015 (char *) "self", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
4019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= ((wxRect
const *)arg1
)->GetPosition();
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4029 wxPoint
* resultptr
;
4030 resultptr
= new wxPoint((wxPoint
&) result
);
4031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4039 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
;
4041 wxRect
*arg1
= (wxRect
*) 0 ;
4044 PyObject
* obj0
= 0 ;
4045 PyObject
* obj1
= 0 ;
4047 (char *) "self",(char *) "p", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 Py_INCREF(Py_None
); resultobj
= Py_None
;
4071 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4073 wxRect
*arg1
= (wxRect
*) 0 ;
4075 PyObject
* obj0
= 0 ;
4077 (char *) "self", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= ((wxRect
const *)arg1
)->GetSize();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4092 resultptr
= new wxSize((wxSize
&) result
);
4093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4101 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxRect
*arg1
= (wxRect
*) 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 (char *) "self",(char *) "s", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 (arg1
)->SetSize((wxSize
const &)*arg2
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxRect
*arg1
= (wxRect
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4139 (char *) "self", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4153 wxPoint
* resultptr
;
4154 resultptr
= new wxPoint((wxPoint
&) result
);
4155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4163 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
;
4165 wxRect
*arg1
= (wxRect
*) 0 ;
4168 PyObject
* obj0
= 0 ;
4169 PyObject
* obj1
= 0 ;
4171 (char *) "self",(char *) "p", NULL
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4179 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 Py_INCREF(Py_None
); resultobj
= Py_None
;
4195 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4197 wxRect
*arg1
= (wxRect
*) 0 ;
4199 PyObject
* obj0
= 0 ;
4201 (char *) "self", NULL
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4215 wxPoint
* resultptr
;
4216 resultptr
= new wxPoint((wxPoint
&) result
);
4217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4225 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxRect
*arg1
= (wxRect
*) 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4233 (char *) "self",(char *) "p", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4241 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 Py_INCREF(Py_None
); resultobj
= Py_None
;
4257 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 wxRect
*arg1
= (wxRect
*) 0 ;
4261 PyObject
* obj0
= 0 ;
4263 (char *) "self", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 resultobj
= SWIG_From_int((int)result
);
4283 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxRect
*arg1
= (wxRect
*) 0 ;
4287 PyObject
* obj0
= 0 ;
4289 (char *) "self", NULL
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (int)((wxRect
const *)arg1
)->GetTop();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= SWIG_From_int((int)result
);
4309 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxRect
*arg1
= (wxRect
*) 0 ;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "self", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= SWIG_From_int((int)result
);
4335 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxRect
*arg1
= (wxRect
*) 0 ;
4339 PyObject
* obj0
= 0 ;
4341 (char *) "self", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (int)((wxRect
const *)arg1
)->GetRight();
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= SWIG_From_int((int)result
);
4361 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxRect
*arg1
= (wxRect
*) 0 ;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4368 (char *) "self",(char *) "left", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4374 arg2
= (int)SWIG_As_int(obj1
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 (arg1
)->SetLeft(arg2
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 Py_INCREF(Py_None
); resultobj
= Py_None
;
4390 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxRect
*arg1
= (wxRect
*) 0 ;
4394 PyObject
* obj0
= 0 ;
4395 PyObject
* obj1
= 0 ;
4397 (char *) "self",(char *) "right", NULL
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4403 arg2
= (int)SWIG_As_int(obj1
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 (arg1
)->SetRight(arg2
);
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4412 Py_INCREF(Py_None
); resultobj
= Py_None
;
4419 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxRect
*arg1
= (wxRect
*) 0 ;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4426 (char *) "self",(char *) "top", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4432 arg2
= (int)SWIG_As_int(obj1
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 (arg1
)->SetTop(arg2
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 Py_INCREF(Py_None
); resultobj
= Py_None
;
4448 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
*resultobj
;
4450 wxRect
*arg1
= (wxRect
*) 0 ;
4452 PyObject
* obj0
= 0 ;
4453 PyObject
* obj1
= 0 ;
4455 (char *) "self",(char *) "bottom", NULL
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4461 arg2
= (int)SWIG_As_int(obj1
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 (arg1
)->SetBottom(arg2
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 Py_INCREF(Py_None
); resultobj
= Py_None
;
4477 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxRect
*arg1
= (wxRect
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 PyObject
* obj2
= 0 ;
4487 (char *) "self",(char *) "dx",(char *) "dy", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4493 arg2
= (int)SWIG_As_int(obj1
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4495 arg3
= (int)SWIG_As_int(obj2
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4501 result
= (wxRect
*) &_result_ref
;
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4514 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4516 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_Deflate",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();
4537 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4538 result
= (wxRect
*) &_result_ref
;
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4551 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxRect
*arg1
= (wxRect
*) 0 ;
4556 PyObject
* obj0
= 0 ;
4557 PyObject
* obj1
= 0 ;
4558 PyObject
* obj2
= 0 ;
4560 (char *) "self",(char *) "dx",(char *) "dy", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4566 arg2
= (int)SWIG_As_int(obj1
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4568 arg3
= (int)SWIG_As_int(obj2
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 (arg1
)->Offset(arg2
,arg3
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4577 Py_INCREF(Py_None
); resultobj
= Py_None
;
4584 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxRect
*arg1
= (wxRect
*) 0 ;
4589 PyObject
* obj0
= 0 ;
4590 PyObject
* obj1
= 0 ;
4592 (char *) "self",(char *) "pt", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 (arg1
)->Offset((wxPoint
const &)*arg2
);
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4609 Py_INCREF(Py_None
); resultobj
= Py_None
;
4616 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxRect
*arg1
= (wxRect
*) 0 ;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4625 (char *) "self",(char *) "rect", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4633 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4644 resultptr
= new wxRect((wxRect
&) result
);
4645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4653 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
;
4655 wxRect
*arg1
= (wxRect
*) 0 ;
4659 PyObject
* obj0
= 0 ;
4660 PyObject
* obj1
= 0 ;
4662 (char *) "self",(char *) "rect", NULL
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4670 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 result
= (arg1
)->Union((wxRect
const &)*arg2
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4681 resultptr
= new wxRect((wxRect
&) result
);
4682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4690 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4692 wxRect
*arg1
= (wxRect
*) 0 ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4699 (char *) "self",(char *) "rect", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4707 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4718 resultptr
= new wxRect((wxRect
&) result
);
4719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4727 static PyObject
*_wrap_Rect___iadd__(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___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4741 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4744 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4750 result
= (wxRect
*) &_result_ref
;
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4763 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxRect
*arg1
= (wxRect
*) 0 ;
4769 PyObject
* obj0
= 0 ;
4770 PyObject
* obj1
= 0 ;
4772 (char *) "self",(char *) "rect", NULL
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4780 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4798 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxRect
*arg1
= (wxRect
*) 0 ;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4807 (char *) "self",(char *) "rect", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4815 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4833 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4835 wxRect
*arg1
= (wxRect
*) 0 ;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4841 PyObject
* obj2
= 0 ;
4843 (char *) "self",(char *) "x",(char *) "y", NULL
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4849 arg2
= (int)SWIG_As_int(obj1
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4851 arg3
= (int)SWIG_As_int(obj2
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4869 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
;
4871 wxRect
*arg1
= (wxRect
*) 0 ;
4875 PyObject
* obj0
= 0 ;
4876 PyObject
* obj1
= 0 ;
4878 (char *) "self",(char *) "pt", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4904 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxRect
*arg1
= (wxRect
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4913 (char *) "self",(char *) "rect", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4921 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4939 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxRect
*arg1
= (wxRect
*) 0 ;
4943 PyObject
* obj0
= 0 ;
4944 PyObject
* obj1
= 0 ;
4946 (char *) "self",(char *) "x", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4952 arg2
= (int)SWIG_As_int(obj1
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4954 if (arg1
) (arg1
)->x
= arg2
;
4956 Py_INCREF(Py_None
); resultobj
= Py_None
;
4963 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxRect
*arg1
= (wxRect
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4969 (char *) "self", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4975 result
= (int) ((arg1
)->x
);
4977 resultobj
= SWIG_From_int((int)result
);
4984 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxRect
*arg1
= (wxRect
*) 0 ;
4988 PyObject
* obj0
= 0 ;
4989 PyObject
* obj1
= 0 ;
4991 (char *) "self",(char *) "y", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4997 arg2
= (int)SWIG_As_int(obj1
);
4998 if (PyErr_Occurred()) SWIG_fail
;
4999 if (arg1
) (arg1
)->y
= arg2
;
5001 Py_INCREF(Py_None
); resultobj
= Py_None
;
5008 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxRect
*arg1
= (wxRect
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5014 (char *) "self", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
5018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5020 result
= (int) ((arg1
)->y
);
5022 resultobj
= SWIG_From_int((int)result
);
5029 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxRect
*arg1
= (wxRect
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5034 PyObject
* obj1
= 0 ;
5036 (char *) "self",(char *) "width", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 arg2
= (int)SWIG_As_int(obj1
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5044 if (arg1
) (arg1
)->width
= arg2
;
5046 Py_INCREF(Py_None
); resultobj
= Py_None
;
5053 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxRect
*arg1
= (wxRect
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5059 (char *) "self", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5065 result
= (int) ((arg1
)->width
);
5067 resultobj
= SWIG_From_int((int)result
);
5074 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxRect
*arg1
= (wxRect
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5081 (char *) "self",(char *) "height", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5087 arg2
= (int)SWIG_As_int(obj1
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5089 if (arg1
) (arg1
)->height
= arg2
;
5091 Py_INCREF(Py_None
); resultobj
= Py_None
;
5098 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
*resultobj
;
5100 wxRect
*arg1
= (wxRect
*) 0 ;
5102 PyObject
* obj0
= 0 ;
5104 (char *) "self", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
5108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5110 result
= (int) ((arg1
)->height
);
5112 resultobj
= SWIG_From_int((int)result
);
5119 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
;
5121 wxRect
*arg1
= (wxRect
*) 0 ;
5122 int arg2
= (int) 0 ;
5123 int arg3
= (int) 0 ;
5124 int arg4
= (int) 0 ;
5125 int arg5
= (int) 0 ;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5128 PyObject
* obj2
= 0 ;
5129 PyObject
* obj3
= 0 ;
5130 PyObject
* obj4
= 0 ;
5132 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5139 arg2
= (int)SWIG_As_int(obj1
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5143 arg3
= (int)SWIG_As_int(obj2
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5147 arg4
= (int)SWIG_As_int(obj3
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5151 arg5
= (int)SWIG_As_int(obj4
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 Py_INCREF(Py_None
); resultobj
= Py_None
;
5168 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
;
5170 wxRect
*arg1
= (wxRect
*) 0 ;
5172 PyObject
* obj0
= 0 ;
5174 (char *) "self", NULL
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= (PyObject
*)wxRect_Get(arg1
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5194 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5197 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5199 return Py_BuildValue((char *)"");
5201 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxRect
*arg1
= (wxRect
*) 0 ;
5204 wxRect
*arg2
= (wxRect
*) 0 ;
5206 PyObject
* obj0
= 0 ;
5207 PyObject
* obj1
= 0 ;
5209 (char *) "r1",(char *) "r2", NULL
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 if (!wxPyCheckForApp()) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5232 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 double arg1
= (double) 0.0 ;
5235 double arg2
= (double) 0.0 ;
5237 PyObject
* obj0
= 0 ;
5238 PyObject
* obj1
= 0 ;
5240 (char *) "x",(char *) "y", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5245 arg1
= (double)SWIG_As_double(obj0
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5249 arg2
= (double)SWIG_As_double(obj1
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5266 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
;
5268 wxPoint2D
*arg1
= 0 ;
5271 PyObject
* obj0
= 0 ;
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5279 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5295 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5300 PyObject
* obj0
= 0 ;
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5308 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5324 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5327 int *arg2
= (int *) 0 ;
5328 int *arg3
= (int *) 0 ;
5333 PyObject
* obj0
= 0 ;
5335 (char *) "self", NULL
5338 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5339 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 Py_INCREF(Py_None
); resultobj
= Py_None
;
5351 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5352 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5353 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5354 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5361 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5364 int *arg2
= (int *) 0 ;
5365 int *arg3
= (int *) 0 ;
5370 PyObject
* obj0
= 0 ;
5372 (char *) "self", NULL
5375 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5376 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 Py_INCREF(Py_None
); resultobj
= Py_None
;
5388 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5389 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5390 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5391 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5398 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
;
5400 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5402 PyObject
* obj0
= 0 ;
5404 (char *) "self", NULL
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_From_double((double)result
);
5424 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
;
5426 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5428 PyObject
* obj0
= 0 ;
5430 (char *) "self", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_From_double((double)result
);
5450 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5457 (char *) "self",(char *) "length", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5463 arg2
= (double)SWIG_As_double(obj1
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 (arg1
)->SetVectorLength(arg2
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 Py_INCREF(Py_None
); resultobj
= Py_None
;
5479 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
*resultobj
;
5481 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5486 (char *) "self",(char *) "degrees", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5492 arg2
= (double)SWIG_As_double(obj1
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 (arg1
)->SetVectorAngle(arg2
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 Py_INCREF(Py_None
); resultobj
= Py_None
;
5508 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5511 wxPoint2D
*arg2
= 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5517 (char *) "self",(char *) "pt", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= SWIG_From_double((double)result
);
5541 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5544 wxPoint2D
*arg2
= 0 ;
5547 PyObject
* obj0
= 0 ;
5548 PyObject
* obj1
= 0 ;
5550 (char *) "self",(char *) "pt", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 resultobj
= SWIG_From_double((double)result
);
5574 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5576 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5577 wxPoint2D
*arg2
= 0 ;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5583 (char *) "self",(char *) "vec", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5591 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= SWIG_From_double((double)result
);
5607 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5610 wxPoint2D
*arg2
= 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5616 (char *) "self",(char *) "vec", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5624 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= SWIG_From_double((double)result
);
5640 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5644 PyObject
* obj0
= 0 ;
5646 (char *) "self", NULL
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (arg1
)->operator -();
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5660 wxPoint2D
* resultptr
;
5661 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5670 static PyObject
*_wrap_Point2D___iadd__(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___iadd__",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___isub__(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___isub__",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___imul__(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___imul__",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___idiv__(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___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5792 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5795 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5801 result
= (wxPoint2D
*) &_result_ref
;
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5814 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5817 wxPoint2D
*arg2
= 0 ;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5823 (char *) "self",(char *) "pt", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5849 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5852 wxPoint2D
*arg2
= 0 ;
5855 PyObject
* obj0
= 0 ;
5856 PyObject
* obj1
= 0 ;
5858 (char *) "self",(char *) "pt", NULL
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5866 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5884 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5891 (char *) "self",(char *) "m_x", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5897 arg2
= (double)SWIG_As_double(obj1
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5899 if (arg1
) (arg1
)->m_x
= arg2
;
5901 Py_INCREF(Py_None
); resultobj
= Py_None
;
5908 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5912 PyObject
* obj0
= 0 ;
5914 (char *) "self", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5920 result
= (double) ((arg1
)->m_x
);
5922 resultobj
= SWIG_From_double((double)result
);
5929 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5931 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5934 PyObject
* obj1
= 0 ;
5936 (char *) "self",(char *) "m_y", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5942 arg2
= (double)SWIG_As_double(obj1
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5944 if (arg1
) (arg1
)->m_y
= arg2
;
5946 Py_INCREF(Py_None
); resultobj
= Py_None
;
5953 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5957 PyObject
* obj0
= 0 ;
5959 (char *) "self", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5965 result
= (double) ((arg1
)->m_y
);
5967 resultobj
= SWIG_From_double((double)result
);
5974 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5977 double arg2
= (double) 0 ;
5978 double arg3
= (double) 0 ;
5979 PyObject
* obj0
= 0 ;
5980 PyObject
* obj1
= 0 ;
5981 PyObject
* obj2
= 0 ;
5983 (char *) "self",(char *) "x",(char *) "y", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 arg2
= (double)SWIG_As_double(obj1
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5994 arg3
= (double)SWIG_As_double(obj2
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 wxPoint2D_Set(arg1
,arg2
,arg3
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 Py_INCREF(Py_None
); resultobj
= Py_None
;
6011 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6017 (char *) "self", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
6022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (PyObject
*)wxPoint2D_Get(arg1
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6037 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
6039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6040 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
6042 return Py_BuildValue((char *)"");
6044 static int _wrap_DefaultPosition_set(PyObject
*) {
6045 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
6050 static PyObject
*_wrap_DefaultPosition_get() {
6053 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
6058 static int _wrap_DefaultSize_set(PyObject
*) {
6059 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
6064 static PyObject
*_wrap_DefaultSize_get() {
6067 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
6072 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 PyObject
*arg1
= (PyObject
*) 0 ;
6075 wxPyInputStream
*result
;
6076 PyObject
* obj0
= 0 ;
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
6097 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6100 PyObject
* obj0
= 0 ;
6102 (char *) "self", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6115 Py_INCREF(Py_None
); resultobj
= Py_None
;
6122 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6125 PyObject
* obj0
= 0 ;
6127 (char *) "self", NULL
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
6131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 Py_INCREF(Py_None
); resultobj
= Py_None
;
6147 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6150 PyObject
* obj0
= 0 ;
6152 (char *) "self", NULL
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
6156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 wxPyEndAllowThreads(__tstate
);
6163 if (PyErr_Occurred()) SWIG_fail
;
6165 Py_INCREF(Py_None
); resultobj
= Py_None
;
6172 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6176 PyObject
* obj0
= 0 ;
6178 (char *) "self", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 result
= (bool)(arg1
)->eof();
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6200 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6203 int arg2
= (int) -1 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6208 (char *) "self",(char *) "size", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6215 arg2
= (int)SWIG_As_int(obj1
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (PyObject
*)(arg1
)->read(arg2
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6232 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6234 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6235 int arg2
= (int) -1 ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6240 (char *) "self",(char *) "size", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6247 arg2
= (int)SWIG_As_int(obj1
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (PyObject
*)(arg1
)->readline(arg2
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6264 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6267 int arg2
= (int) -1 ;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6272 (char *) "self",(char *) "sizehint", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 arg2
= (int)SWIG_As_int(obj1
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6296 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6298 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6300 int arg3
= (int) 0 ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6303 PyObject
* obj2
= 0 ;
6305 (char *) "self",(char *) "offset",(char *) "whence", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 arg2
= (int)SWIG_As_int(obj1
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 arg3
= (int)SWIG_As_int(obj2
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 (arg1
)->seek(arg2
,arg3
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 Py_INCREF(Py_None
); resultobj
= Py_None
;
6331 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "self", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (int)(arg1
)->tell();
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= SWIG_From_int((int)result
);
6357 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6361 PyObject
* obj0
= 0 ;
6363 (char *) "self", NULL
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 result
= (char)(arg1
)->Peek();
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= SWIG_From_char((char)result
);
6383 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
;
6385 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6389 (char *) "self", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 result
= (char)(arg1
)->GetC();
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= SWIG_From_char((char)result
);
6409 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
;
6411 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6413 PyObject
* obj0
= 0 ;
6415 (char *) "self", NULL
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (size_t)(arg1
)->LastRead();
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6428 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6435 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6439 PyObject
* obj0
= 0 ;
6441 (char *) "self", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 result
= (bool)(arg1
)->CanRead();
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6463 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6469 (char *) "self", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (bool)(arg1
)->Eof();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6491 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6496 PyObject
* obj0
= 0 ;
6497 PyObject
* obj1
= 0 ;
6499 (char *) "self",(char *) "c", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6505 arg2
= (char)SWIG_As_char(obj1
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 result
= (bool)(arg1
)->Ungetch(arg2
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6523 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
;
6525 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6527 int arg3
= (int) wxFromStart
;
6529 PyObject
* obj0
= 0 ;
6530 PyObject
* obj1
= 0 ;
6531 PyObject
* obj2
= 0 ;
6533 (char *) "self",(char *) "pos",(char *) "mode", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6539 arg2
= (long)SWIG_As_long(obj1
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 arg3
= (int)SWIG_As_int(obj2
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_From_long((long)result
);
6559 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6565 (char *) "self", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (long)(arg1
)->TellI();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_From_long((long)result
);
6585 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6588 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6590 return Py_BuildValue((char *)"");
6592 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6595 PyObject
*arg2
= (PyObject
*) 0 ;
6596 PyObject
* obj0
= 0 ;
6597 PyObject
* obj1
= 0 ;
6599 (char *) "self",(char *) "obj", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 wxOutputStream_write(arg1
,arg2
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6623 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6625 return Py_BuildValue((char *)"");
6627 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
;
6629 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6630 wxString
*arg2
= 0 ;
6631 wxString
*arg3
= 0 ;
6632 wxString
*arg4
= 0 ;
6635 wxPyInputStream
*temp1
;
6637 bool temp2
= false ;
6638 bool temp3
= false ;
6639 bool temp4
= false ;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 PyObject
* obj2
= 0 ;
6644 PyObject
* obj3
= 0 ;
6645 PyObject
* obj4
= 0 ;
6647 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6652 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6653 arg1
= temp1
->m_wxis
;
6656 PyErr_Clear(); // clear the failure of the wxPyConvert above
6657 arg1
= wxPyCBInputStream_create(obj0
, false);
6659 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6666 arg2
= wxString_in_helper(obj1
);
6667 if (arg2
== NULL
) SWIG_fail
;
6671 arg3
= wxString_in_helper(obj2
);
6672 if (arg3
== NULL
) SWIG_fail
;
6676 arg4
= wxString_in_helper(obj3
);
6677 if (arg4
== NULL
) SWIG_fail
;
6680 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6681 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6691 resultobj
= wxPyMake_wxObject(result
, 1);
6731 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
;
6733 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6734 PyObject
* obj0
= 0 ;
6736 (char *) "self", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6749 Py_INCREF(Py_None
); resultobj
= Py_None
;
6756 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6759 wxInputStream
*result
;
6760 PyObject
* obj0
= 0 ;
6762 (char *) "self", NULL
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (wxInputStream
*)(arg1
)->GetStream();
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6776 wxPyInputStream
* _ptr
= NULL
;
6779 _ptr
= new wxPyInputStream(result
);
6781 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
6789 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6795 (char *) "self", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6805 result
= (wxString
*) &_result_ref
;
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6815 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6824 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6828 PyObject
* obj0
= 0 ;
6830 (char *) "self", NULL
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 wxString
const &_result_ref
= (arg1
)->GetLocation();
6840 result
= (wxString
*) &_result_ref
;
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6850 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6859 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6865 (char *) "self", NULL
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6875 result
= (wxString
*) &_result_ref
;
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6885 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6894 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6900 (char *) "self", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (arg1
)->GetModificationTime();
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6914 wxDateTime
* resultptr
;
6915 resultptr
= new wxDateTime((wxDateTime
&) result
);
6916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6924 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6927 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6929 return Py_BuildValue((char *)"");
6931 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6934 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6936 return Py_BuildValue((char *)"");
6938 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxPyFileSystemHandler
*result
;
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6960 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6963 PyObject
*arg2
= (PyObject
*) 0 ;
6964 PyObject
*arg3
= (PyObject
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6966 PyObject
* obj1
= 0 ;
6967 PyObject
* obj2
= 0 ;
6969 (char *) "self",(char *) "self",(char *) "_class", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 Py_INCREF(Py_None
); resultobj
= Py_None
;
6991 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6994 wxString
*arg2
= 0 ;
6996 bool temp2
= false ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
7000 (char *) "self",(char *) "location", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7007 arg2
= wxString_in_helper(obj1
);
7008 if (arg2
== NULL
) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7035 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7038 wxFileSystem
*arg2
= 0 ;
7039 wxString
*arg3
= 0 ;
7041 bool temp3
= false ;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj1
= 0 ;
7044 PyObject
* obj2
= 0 ;
7046 (char *) "self",(char *) "fs",(char *) "location", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7056 PyErr_SetString(PyExc_TypeError
,"null reference");
7060 arg3
= wxString_in_helper(obj2
);
7061 if (arg3
== NULL
) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= wxPyMake_wxObject(result
, 1);
7088 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7091 wxString
*arg2
= 0 ;
7092 int arg3
= (int) 0 ;
7094 bool temp2
= false ;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7097 PyObject
* obj2
= 0 ;
7099 (char *) "self",(char *) "spec",(char *) "flags", NULL
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7106 arg2
= wxString_in_helper(obj1
);
7107 if (arg2
== NULL
) SWIG_fail
;
7111 arg3
= (int)SWIG_As_int(obj2
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7142 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7148 (char *) "self", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= (arg1
)->FindNext();
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7174 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7177 wxString
*arg2
= 0 ;
7179 bool temp2
= false ;
7180 PyObject
* obj0
= 0 ;
7181 PyObject
* obj1
= 0 ;
7183 (char *) "self",(char *) "location", NULL
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7190 arg2
= wxString_in_helper(obj1
);
7191 if (arg2
== NULL
) SWIG_fail
;
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7222 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7225 wxString
*arg2
= 0 ;
7227 bool temp2
= false ;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7231 (char *) "self",(char *) "location", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7238 arg2
= wxString_in_helper(obj1
);
7239 if (arg2
== NULL
) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7270 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7272 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7273 wxString
*arg2
= 0 ;
7275 bool temp2
= false ;
7276 PyObject
* obj0
= 0 ;
7277 PyObject
* obj1
= 0 ;
7279 (char *) "self",(char *) "location", NULL
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7286 arg2
= wxString_in_helper(obj1
);
7287 if (arg2
== NULL
) SWIG_fail
;
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7318 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7321 wxString
*arg2
= 0 ;
7323 bool temp2
= false ;
7324 PyObject
* obj0
= 0 ;
7325 PyObject
* obj1
= 0 ;
7327 (char *) "self",(char *) "location", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7334 arg2
= wxString_in_helper(obj1
);
7335 if (arg2
== NULL
) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7366 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7368 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7369 wxString
*arg2
= 0 ;
7371 bool temp2
= false ;
7372 PyObject
* obj0
= 0 ;
7373 PyObject
* obj1
= 0 ;
7375 (char *) "self",(char *) "location", NULL
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7382 arg2
= wxString_in_helper(obj1
);
7383 if (arg2
== NULL
) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7414 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7417 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7419 return Py_BuildValue((char *)"");
7421 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxFileSystem
*result
;
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 result
= (wxFileSystem
*)new wxFileSystem();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= wxPyMake_wxObject(result
, 1);
7445 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7450 (char *) "self", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 Py_INCREF(Py_None
); resultobj
= Py_None
;
7470 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7473 wxString
*arg2
= 0 ;
7474 bool arg3
= (bool) false ;
7475 bool temp2
= false ;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7478 PyObject
* obj2
= 0 ;
7480 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7487 arg2
= wxString_in_helper(obj1
);
7488 if (arg2
== NULL
) SWIG_fail
;
7492 arg3
= (bool)SWIG_As_bool(obj2
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 Py_INCREF(Py_None
); resultobj
= Py_None
;
7517 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7521 PyObject
* obj0
= 0 ;
7523 (char *) "self", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (arg1
)->GetPath();
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7549 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7552 wxString
*arg2
= 0 ;
7554 bool temp2
= false ;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7558 (char *) "self",(char *) "location", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 arg2
= wxString_in_helper(obj1
);
7566 if (arg2
== NULL
) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= wxPyMake_wxObject(result
, 1);
7593 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7596 wxString
*arg2
= 0 ;
7597 int arg3
= (int) 0 ;
7599 bool temp2
= false ;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7602 PyObject
* obj2
= 0 ;
7604 (char *) "self",(char *) "spec",(char *) "flags", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 arg2
= wxString_in_helper(obj1
);
7612 if (arg2
== NULL
) SWIG_fail
;
7616 arg3
= (int)SWIG_As_int(obj2
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7647 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7653 (char *) "self", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (arg1
)->FindNext();
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7679 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7684 (char *) "handler", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 wxFileSystem::AddHandler(arg1
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 Py_INCREF(Py_None
); resultobj
= Py_None
;
7704 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 wxFileSystem::CleanUpHandlers();
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 Py_INCREF(Py_None
); resultobj
= Py_None
;
7725 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxString
*arg1
= 0 ;
7729 bool temp1
= false ;
7730 PyObject
* obj0
= 0 ;
7732 (char *) "filename", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7737 arg1
= wxString_in_helper(obj0
);
7738 if (arg1
== NULL
) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7769 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxString
*arg1
= 0 ;
7773 bool temp1
= false ;
7774 PyObject
* obj0
= 0 ;
7776 (char *) "url", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7781 arg1
= wxString_in_helper(obj0
);
7782 if (arg1
== NULL
) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7813 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7816 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7818 return Py_BuildValue((char *)"");
7820 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxInternetFSHandler
*result
;
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7842 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7845 wxString
*arg2
= 0 ;
7847 bool temp2
= false ;
7848 PyObject
* obj0
= 0 ;
7849 PyObject
* obj1
= 0 ;
7851 (char *) "self",(char *) "location", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 arg2
= wxString_in_helper(obj1
);
7859 if (arg2
== NULL
) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7886 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7889 wxFileSystem
*arg2
= 0 ;
7890 wxString
*arg3
= 0 ;
7892 bool temp3
= false ;
7893 PyObject
* obj0
= 0 ;
7894 PyObject
* obj1
= 0 ;
7895 PyObject
* obj2
= 0 ;
7897 (char *) "self",(char *) "fs",(char *) "location", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7907 PyErr_SetString(PyExc_TypeError
,"null reference");
7911 arg3
= wxString_in_helper(obj2
);
7912 if (arg3
== NULL
) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= wxPyMake_wxObject(result
, 1);
7939 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7942 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7944 return Py_BuildValue((char *)"");
7946 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxZipFSHandler
*result
;
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7968 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
;
7970 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7971 wxString
*arg2
= 0 ;
7973 bool temp2
= false ;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7977 (char *) "self",(char *) "location", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7984 arg2
= wxString_in_helper(obj1
);
7985 if (arg2
== NULL
) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8012 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8015 wxFileSystem
*arg2
= 0 ;
8016 wxString
*arg3
= 0 ;
8018 bool temp3
= false ;
8019 PyObject
* obj0
= 0 ;
8020 PyObject
* obj1
= 0 ;
8021 PyObject
* obj2
= 0 ;
8023 (char *) "self",(char *) "fs",(char *) "location", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8033 PyErr_SetString(PyExc_TypeError
,"null reference");
8037 arg3
= wxString_in_helper(obj2
);
8038 if (arg3
== NULL
) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= wxPyMake_wxObject(result
, 1);
8065 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8068 wxString
*arg2
= 0 ;
8069 int arg3
= (int) 0 ;
8071 bool temp2
= false ;
8072 PyObject
* obj0
= 0 ;
8073 PyObject
* obj1
= 0 ;
8074 PyObject
* obj2
= 0 ;
8076 (char *) "self",(char *) "spec",(char *) "flags", NULL
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8083 arg2
= wxString_in_helper(obj1
);
8084 if (arg2
== NULL
) SWIG_fail
;
8088 arg3
= (int)SWIG_As_int(obj2
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8119 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8125 (char *) "self", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (arg1
)->FindNext();
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8151 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8154 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
8156 return Py_BuildValue((char *)"");
8158 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxString
*arg1
= 0 ;
8163 bool temp1
= false ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8166 PyObject
* obj2
= 0 ;
8168 (char *) "filename",(char *) "image",(char *) "type", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8173 arg1
= wxString_in_helper(obj0
);
8174 if (arg1
== NULL
) SWIG_fail
;
8177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8181 PyErr_SetString(PyExc_TypeError
,"null reference");
8184 arg3
= (long)SWIG_As_long(obj2
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 Py_INCREF(Py_None
); resultobj
= Py_None
;
8208 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxString
*arg1
= 0 ;
8211 wxBitmap
*arg2
= 0 ;
8213 bool temp1
= false ;
8214 PyObject
* obj0
= 0 ;
8215 PyObject
* obj1
= 0 ;
8216 PyObject
* obj2
= 0 ;
8218 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8223 arg1
= wxString_in_helper(obj0
);
8224 if (arg1
== NULL
) SWIG_fail
;
8227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8231 PyErr_SetString(PyExc_TypeError
,"null reference");
8234 arg3
= (long)SWIG_As_long(obj2
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8243 Py_INCREF(Py_None
); resultobj
= Py_None
;
8258 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxString
*arg1
= 0 ;
8261 PyObject
*arg2
= (PyObject
*) 0 ;
8262 bool temp1
= false ;
8263 PyObject
* obj0
= 0 ;
8264 PyObject
* obj1
= 0 ;
8266 (char *) "filename",(char *) "data", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8271 arg1
= wxString_in_helper(obj0
);
8272 if (arg1
== NULL
) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 Py_INCREF(Py_None
); resultobj
= Py_None
;
8298 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxMemoryFSHandler
*result
;
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8320 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxString
*arg1
= 0 ;
8323 bool temp1
= false ;
8324 PyObject
* obj0
= 0 ;
8326 (char *) "filename", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8331 arg1
= wxString_in_helper(obj0
);
8332 if (arg1
== NULL
) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8357 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
;
8359 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8360 wxString
*arg2
= 0 ;
8362 bool temp2
= false ;
8363 PyObject
* obj0
= 0 ;
8364 PyObject
* obj1
= 0 ;
8366 (char *) "self",(char *) "location", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8373 arg2
= wxString_in_helper(obj1
);
8374 if (arg2
== NULL
) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8401 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8404 wxFileSystem
*arg2
= 0 ;
8405 wxString
*arg3
= 0 ;
8407 bool temp3
= false ;
8408 PyObject
* obj0
= 0 ;
8409 PyObject
* obj1
= 0 ;
8410 PyObject
* obj2
= 0 ;
8412 (char *) "self",(char *) "fs",(char *) "location", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8422 PyErr_SetString(PyExc_TypeError
,"null reference");
8426 arg3
= wxString_in_helper(obj2
);
8427 if (arg3
== NULL
) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= wxPyMake_wxObject(result
, 1);
8454 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8457 wxString
*arg2
= 0 ;
8458 int arg3
= (int) 0 ;
8460 bool temp2
= false ;
8461 PyObject
* obj0
= 0 ;
8462 PyObject
* obj1
= 0 ;
8463 PyObject
* obj2
= 0 ;
8465 (char *) "self",(char *) "spec",(char *) "flags", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8472 arg2
= wxString_in_helper(obj1
);
8473 if (arg2
== NULL
) SWIG_fail
;
8477 arg3
= (int)SWIG_As_int(obj2
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8508 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8514 (char *) "self", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 result
= (arg1
)->FindNext();
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8540 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8543 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8545 return Py_BuildValue((char *)"");
8547 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8551 PyObject
* obj0
= 0 ;
8553 (char *) "self", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (arg1
)->GetName();
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8579 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8583 PyObject
* obj0
= 0 ;
8585 (char *) "self", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (arg1
)->GetExtension();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8611 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8617 (char *) "self", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (long)(arg1
)->GetType();
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= SWIG_From_long((long)result
);
8637 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8641 PyObject
* obj0
= 0 ;
8643 (char *) "self", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (arg1
)->GetMimeType();
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8669 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8672 wxString
*arg2
= 0 ;
8674 bool temp2
= false ;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8678 (char *) "self",(char *) "name", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8685 arg2
= wxString_in_helper(obj1
);
8686 if (arg2
== NULL
) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8713 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
;
8715 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8716 wxString
*arg2
= 0 ;
8717 bool temp2
= false ;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8721 (char *) "self",(char *) "name", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8728 arg2
= wxString_in_helper(obj1
);
8729 if (arg2
== NULL
) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 (arg1
)->SetName((wxString
const &)*arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8754 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8757 wxString
*arg2
= 0 ;
8758 bool temp2
= false ;
8759 PyObject
* obj0
= 0 ;
8760 PyObject
* obj1
= 0 ;
8762 (char *) "self",(char *) "extension", NULL
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8769 arg2
= wxString_in_helper(obj1
);
8770 if (arg2
== NULL
) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 (arg1
)->SetExtension((wxString
const &)*arg2
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8795 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8802 (char *) "self",(char *) "type", NULL
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8808 arg2
= (long)SWIG_As_long(obj1
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 (arg1
)->SetType(arg2
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8824 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8827 wxString
*arg2
= 0 ;
8828 bool temp2
= false ;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8832 (char *) "self",(char *) "mimetype", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8839 arg2
= wxString_in_helper(obj1
);
8840 if (arg2
== NULL
) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8868 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8870 return Py_BuildValue((char *)"");
8872 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxImageHistogram
*result
;
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 result
= (wxImageHistogram
*)new wxImageHistogram();
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8894 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
;
8896 unsigned char arg1
;
8897 unsigned char arg2
;
8898 unsigned char arg3
;
8899 unsigned long result
;
8900 PyObject
* obj0
= 0 ;
8901 PyObject
* obj1
= 0 ;
8902 PyObject
* obj2
= 0 ;
8904 (char *) "r",(char *) "g",(char *) "b", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8908 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8910 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8912 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8928 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8931 unsigned char *arg2
= (unsigned char *) 0 ;
8932 unsigned char *arg3
= (unsigned char *) 0 ;
8933 unsigned char *arg4
= (unsigned char *) 0 ;
8934 unsigned char arg5
= (unsigned char) 1 ;
8935 unsigned char arg6
= (unsigned char) 0 ;
8936 unsigned char arg7
= (unsigned char) 0 ;
8938 unsigned char temp2
;
8940 unsigned char temp3
;
8942 unsigned char temp4
;
8944 PyObject
* obj0
= 0 ;
8945 PyObject
* obj1
= 0 ;
8946 PyObject
* obj2
= 0 ;
8947 PyObject
* obj3
= 0 ;
8949 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8952 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8953 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8954 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8959 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8963 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8967 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8980 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8981 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8982 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8983 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8984 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8985 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8992 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8995 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8997 return Py_BuildValue((char *)"");
8999 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxString
*arg1
= 0 ;
9002 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9003 int arg3
= (int) -1 ;
9005 bool temp1
= false ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9008 PyObject
* obj2
= 0 ;
9010 (char *) "name",(char *) "type",(char *) "index", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9015 arg1
= wxString_in_helper(obj0
);
9016 if (arg1
== NULL
) SWIG_fail
;
9020 arg2
= (long)SWIG_As_long(obj1
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9024 arg3
= (int)SWIG_As_int(obj2
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9049 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxImage
*arg1
= (wxImage
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9054 (char *) "self", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 Py_INCREF(Py_None
); resultobj
= Py_None
;
9074 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxString
*arg1
= 0 ;
9077 wxString
*arg2
= 0 ;
9078 int arg3
= (int) -1 ;
9080 bool temp1
= false ;
9081 bool temp2
= false ;
9082 PyObject
* obj0
= 0 ;
9083 PyObject
* obj1
= 0 ;
9084 PyObject
* obj2
= 0 ;
9086 (char *) "name",(char *) "mimetype",(char *) "index", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9091 arg1
= wxString_in_helper(obj0
);
9092 if (arg1
== NULL
) SWIG_fail
;
9096 arg2
= wxString_in_helper(obj1
);
9097 if (arg2
== NULL
) SWIG_fail
;
9101 arg3
= (int)SWIG_As_int(obj2
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9134 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxInputStream
*arg1
= 0 ;
9137 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9138 int arg3
= (int) -1 ;
9140 wxPyInputStream
*temp1
;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9144 PyObject
* obj2
= 0 ;
9146 (char *) "stream",(char *) "type",(char *) "index", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9151 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9152 arg1
= temp1
->m_wxis
;
9155 PyErr_Clear(); // clear the failure of the wxPyConvert above
9156 arg1
= wxPyCBInputStream_create(obj0
, false);
9158 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9165 arg2
= (long)SWIG_As_long(obj1
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9169 arg3
= (int)SWIG_As_int(obj2
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9194 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxInputStream
*arg1
= 0 ;
9197 wxString
*arg2
= 0 ;
9198 int arg3
= (int) -1 ;
9200 wxPyInputStream
*temp1
;
9202 bool temp2
= false ;
9203 PyObject
* obj0
= 0 ;
9204 PyObject
* obj1
= 0 ;
9205 PyObject
* obj2
= 0 ;
9207 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9212 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9213 arg1
= temp1
->m_wxis
;
9216 PyErr_Clear(); // clear the failure of the wxPyConvert above
9217 arg1
= wxPyCBInputStream_create(obj0
, false);
9219 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9226 arg2
= wxString_in_helper(obj1
);
9227 if (arg2
== NULL
) SWIG_fail
;
9231 arg3
= (int)SWIG_As_int(obj2
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9264 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 int arg1
= (int) 0 ;
9267 int arg2
= (int) 0 ;
9268 bool arg3
= (bool) true ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 PyObject
* obj2
= 0 ;
9274 (char *) "width",(char *) "height",(char *) "clear", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9279 arg1
= (int)SWIG_As_int(obj0
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9283 arg2
= (int)SWIG_As_int(obj1
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 arg3
= (bool)SWIG_As_bool(obj2
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9304 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxBitmap
*arg1
= 0 ;
9308 PyObject
* obj0
= 0 ;
9310 (char *) "bitmap", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9318 PyErr_SetString(PyExc_TypeError
,"null reference");
9322 if (!wxPyCheckForApp()) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9336 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9340 unsigned char *arg3
= (unsigned char *) 0 ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 PyObject
* obj2
= 0 ;
9346 (char *) "width",(char *) "height",(char *) "data", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9370 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9374 unsigned char *arg3
= (unsigned char *) 0 ;
9375 unsigned char *arg4
= (unsigned char *) 0 ;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9379 PyObject
* obj2
= 0 ;
9380 PyObject
* obj3
= 0 ;
9382 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9386 arg1
= (int)SWIG_As_int(obj0
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9388 arg2
= (int)SWIG_As_int(obj1
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9390 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9392 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
9393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9408 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9410 wxImage
*arg1
= (wxImage
*) 0 ;
9413 PyObject
* obj0
= 0 ;
9414 PyObject
* obj1
= 0 ;
9415 PyObject
* obj2
= 0 ;
9417 (char *) "self",(char *) "width",(char *) "height", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9423 arg2
= (int)SWIG_As_int(obj1
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9425 arg3
= (int)SWIG_As_int(obj2
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 (arg1
)->Create(arg2
,arg3
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 Py_INCREF(Py_None
); resultobj
= Py_None
;
9441 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxImage
*arg1
= (wxImage
*) 0 ;
9444 PyObject
* obj0
= 0 ;
9446 (char *) "self", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 Py_INCREF(Py_None
); resultobj
= Py_None
;
9466 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxImage
*arg1
= (wxImage
*) 0 ;
9471 SwigValueWrapper
< wxImage
> result
;
9472 PyObject
* obj0
= 0 ;
9473 PyObject
* obj1
= 0 ;
9474 PyObject
* obj2
= 0 ;
9476 (char *) "self",(char *) "width",(char *) "height", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 arg2
= (int)SWIG_As_int(obj1
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9484 arg3
= (int)SWIG_As_int(obj2
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (arg1
)->Scale(arg2
,arg3
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9494 wxImage
* resultptr
;
9495 resultptr
= new wxImage((wxImage
&) result
);
9496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9504 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxImage
*arg1
= (wxImage
*) 0 ;
9509 SwigValueWrapper
< wxImage
> result
;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9512 PyObject
* obj2
= 0 ;
9514 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 arg2
= (int)SWIG_As_int(obj1
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9522 arg3
= (int)SWIG_As_int(obj2
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 wxImage
* resultptr
;
9533 resultptr
= new wxImage((wxImage
&) result
);
9534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9542 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxImage
*arg1
= (wxImage
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9550 PyObject
* obj2
= 0 ;
9552 (char *) "self",(char *) "width",(char *) "height", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9558 arg2
= (int)SWIG_As_int(obj1
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9560 arg3
= (int)SWIG_As_int(obj2
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9566 result
= (wxImage
*) &_result_ref
;
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9579 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxImage
*arg1
= (wxImage
*) 0 ;
9584 unsigned char arg4
;
9585 unsigned char arg5
;
9586 unsigned char arg6
;
9587 PyObject
* obj0
= 0 ;
9588 PyObject
* obj1
= 0 ;
9589 PyObject
* obj2
= 0 ;
9590 PyObject
* obj3
= 0 ;
9591 PyObject
* obj4
= 0 ;
9592 PyObject
* obj5
= 0 ;
9594 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9600 arg2
= (int)SWIG_As_int(obj1
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9602 arg3
= (int)SWIG_As_int(obj2
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9604 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9606 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9608 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 Py_INCREF(Py_None
); resultobj
= Py_None
;
9624 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxImage
*arg1
= (wxImage
*) 0 ;
9629 unsigned char result
;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9632 PyObject
* obj2
= 0 ;
9634 (char *) "self",(char *) "x",(char *) "y", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9640 arg2
= (int)SWIG_As_int(obj1
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9642 arg3
= (int)SWIG_As_int(obj2
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9658 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxImage
*arg1
= (wxImage
*) 0 ;
9663 unsigned char result
;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9666 PyObject
* obj2
= 0 ;
9668 (char *) "self",(char *) "x",(char *) "y", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9674 arg2
= (int)SWIG_As_int(obj1
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9676 arg3
= (int)SWIG_As_int(obj2
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9692 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxImage
*arg1
= (wxImage
*) 0 ;
9697 unsigned char result
;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9700 PyObject
* obj2
= 0 ;
9702 (char *) "self",(char *) "x",(char *) "y", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9708 arg2
= (int)SWIG_As_int(obj1
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9710 arg3
= (int)SWIG_As_int(obj2
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9726 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9728 wxImage
*arg1
= (wxImage
*) 0 ;
9731 unsigned char arg4
;
9732 PyObject
* obj0
= 0 ;
9733 PyObject
* obj1
= 0 ;
9734 PyObject
* obj2
= 0 ;
9735 PyObject
* obj3
= 0 ;
9737 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
9747 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 Py_INCREF(Py_None
); resultobj
= Py_None
;
9763 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxImage
*arg1
= (wxImage
*) 0 ;
9768 unsigned char result
;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9771 PyObject
* obj2
= 0 ;
9773 (char *) "self",(char *) "x",(char *) "y", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9779 arg2
= (int)SWIG_As_int(obj1
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9781 arg3
= (int)SWIG_As_int(obj2
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9797 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxImage
*arg1
= (wxImage
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (bool)(arg1
)->HasAlpha();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9825 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxImage
*arg1
= (wxImage
*) 0 ;
9828 byte
*arg2
= (byte
*) 0 ;
9829 byte
*arg3
= (byte
*) 0 ;
9830 byte
*arg4
= (byte
*) 0 ;
9831 byte arg5
= (byte
) 0 ;
9832 byte arg6
= (byte
) 0 ;
9833 byte arg7
= (byte
) 0 ;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 PyObject
* obj2
= 0 ;
9844 PyObject
* obj3
= 0 ;
9846 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9849 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9850 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9851 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9856 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9860 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9864 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9877 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9878 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9879 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9880 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9881 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9882 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9889 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxImage
*arg1
= (wxImage
*) 0 ;
9892 byte arg2
= (byte
) 128 ;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj1
= 0 ;
9897 (char *) "self",(char *) "threshold", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9904 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9923 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxImage
*arg1
= (wxImage
*) 0 ;
9926 unsigned char arg2
;
9927 unsigned char arg3
;
9928 unsigned char arg4
;
9930 PyObject
* obj0
= 0 ;
9931 PyObject
* obj1
= 0 ;
9932 PyObject
* obj2
= 0 ;
9933 PyObject
* obj3
= 0 ;
9935 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9941 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9943 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9945 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9963 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxImage
*arg1
= (wxImage
*) 0 ;
9971 PyObject
* obj0
= 0 ;
9972 PyObject
* obj1
= 0 ;
9973 PyObject
* obj2
= 0 ;
9974 PyObject
* obj3
= 0 ;
9975 PyObject
* obj4
= 0 ;
9977 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9987 PyErr_SetString(PyExc_TypeError
,"null reference");
9990 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9992 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9994 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10012 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
;
10014 wxString
*arg1
= 0 ;
10016 bool temp1
= false ;
10017 PyObject
* obj0
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "name", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
10024 arg1
= wxString_in_helper(obj0
);
10025 if (arg1
== NULL
) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10052 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxString
*arg1
= 0 ;
10055 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10057 bool temp1
= false ;
10058 PyObject
* obj0
= 0 ;
10059 PyObject
* obj1
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "name",(char *) "type", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10066 arg1
= wxString_in_helper(obj0
);
10067 if (arg1
== NULL
) SWIG_fail
;
10071 arg2
= (long)SWIG_As_long(obj1
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_From_int((int)result
);
10096 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxImage
*arg1
= (wxImage
*) 0 ;
10099 wxString
*arg2
= 0 ;
10100 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10101 int arg4
= (int) -1 ;
10103 bool temp2
= false ;
10104 PyObject
* obj0
= 0 ;
10105 PyObject
* obj1
= 0 ;
10106 PyObject
* obj2
= 0 ;
10107 PyObject
* obj3
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10116 arg2
= wxString_in_helper(obj1
);
10117 if (arg2
== NULL
) SWIG_fail
;
10121 arg3
= (long)SWIG_As_long(obj2
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10125 arg4
= (int)SWIG_As_int(obj3
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10152 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxImage
*arg1
= (wxImage
*) 0 ;
10155 wxString
*arg2
= 0 ;
10156 wxString
*arg3
= 0 ;
10157 int arg4
= (int) -1 ;
10159 bool temp2
= false ;
10160 bool temp3
= false ;
10161 PyObject
* obj0
= 0 ;
10162 PyObject
* obj1
= 0 ;
10163 PyObject
* obj2
= 0 ;
10164 PyObject
* obj3
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10173 arg2
= wxString_in_helper(obj1
);
10174 if (arg2
== NULL
) SWIG_fail
;
10178 arg3
= wxString_in_helper(obj2
);
10179 if (arg3
== NULL
) SWIG_fail
;
10183 arg4
= (int)SWIG_As_int(obj3
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10218 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxImage
*arg1
= (wxImage
*) 0 ;
10221 wxString
*arg2
= 0 ;
10224 bool temp2
= false ;
10225 PyObject
* obj0
= 0 ;
10226 PyObject
* obj1
= 0 ;
10227 PyObject
* obj2
= 0 ;
10228 char *kwnames
[] = {
10229 (char *) "self",(char *) "name",(char *) "type", NULL
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10236 arg2
= wxString_in_helper(obj1
);
10237 if (arg2
== NULL
) SWIG_fail
;
10240 arg3
= (int)SWIG_As_int(obj2
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10266 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxImage
*arg1
= (wxImage
*) 0 ;
10269 wxString
*arg2
= 0 ;
10270 wxString
*arg3
= 0 ;
10272 bool temp2
= false ;
10273 bool temp3
= false ;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 PyObject
* obj2
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10285 arg2
= wxString_in_helper(obj1
);
10286 if (arg2
== NULL
) SWIG_fail
;
10290 arg3
= wxString_in_helper(obj2
);
10291 if (arg3
== NULL
) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10326 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxInputStream
*arg1
= 0 ;
10330 wxPyInputStream
*temp1
;
10332 PyObject
* obj0
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "stream", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10339 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10340 arg1
= temp1
->m_wxis
;
10343 PyErr_Clear(); // clear the failure of the wxPyConvert above
10344 arg1
= wxPyCBInputStream_create(obj0
, false);
10345 if (arg1
== NULL
) {
10346 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (bool)wxImage::CanRead(*arg1
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10376 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxImage
*arg1
= (wxImage
*) 0 ;
10379 wxInputStream
*arg2
= 0 ;
10380 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10381 int arg4
= (int) -1 ;
10383 wxPyInputStream
*temp2
;
10385 PyObject
* obj0
= 0 ;
10386 PyObject
* obj1
= 0 ;
10387 PyObject
* obj2
= 0 ;
10388 PyObject
* obj3
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10397 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10398 arg2
= temp2
->m_wxis
;
10401 PyErr_Clear(); // clear the failure of the wxPyConvert above
10402 arg2
= wxPyCBInputStream_create(obj1
, false);
10403 if (arg2
== NULL
) {
10404 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10411 arg3
= (long)SWIG_As_long(obj2
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10415 arg4
= (int)SWIG_As_int(obj3
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10442 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxImage
*arg1
= (wxImage
*) 0 ;
10445 wxInputStream
*arg2
= 0 ;
10446 wxString
*arg3
= 0 ;
10447 int arg4
= (int) -1 ;
10449 wxPyInputStream
*temp2
;
10451 bool temp3
= false ;
10452 PyObject
* obj0
= 0 ;
10453 PyObject
* obj1
= 0 ;
10454 PyObject
* obj2
= 0 ;
10455 PyObject
* obj3
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10465 arg2
= temp2
->m_wxis
;
10468 PyErr_Clear(); // clear the failure of the wxPyConvert above
10469 arg2
= wxPyCBInputStream_create(obj1
, false);
10470 if (arg2
== NULL
) {
10471 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10478 arg3
= wxString_in_helper(obj2
);
10479 if (arg3
== NULL
) SWIG_fail
;
10483 arg4
= (int)SWIG_As_int(obj3
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10518 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxImage
*arg1
= (wxImage
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (bool)(arg1
)->Ok();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10546 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
;
10548 wxImage
*arg1
= (wxImage
*) 0 ;
10550 PyObject
* obj0
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (int)(arg1
)->GetWidth();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_From_int((int)result
);
10572 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
;
10574 wxImage
*arg1
= (wxImage
*) 0 ;
10576 PyObject
* obj0
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (int)(arg1
)->GetHeight();
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= SWIG_From_int((int)result
);
10598 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 wxImage
*arg1
= (wxImage
*) 0 ;
10602 PyObject
* obj0
= 0 ;
10603 char *kwnames
[] = {
10604 (char *) "self", NULL
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 result
= wxImage_GetSize(arg1
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10618 wxSize
* resultptr
;
10619 resultptr
= new wxSize((wxSize
&) result
);
10620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10628 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxImage
*arg1
= (wxImage
*) 0 ;
10632 SwigValueWrapper
< wxImage
> result
;
10634 PyObject
* obj0
= 0 ;
10635 PyObject
* obj1
= 0 ;
10636 char *kwnames
[] = {
10637 (char *) "self",(char *) "rect", NULL
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10645 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10655 wxImage
* resultptr
;
10656 resultptr
= new wxImage((wxImage
&) result
);
10657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10665 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxImage
*arg1
= (wxImage
*) 0 ;
10668 SwigValueWrapper
< wxImage
> result
;
10669 PyObject
* obj0
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (arg1
)->Copy();
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10685 wxImage
* resultptr
;
10686 resultptr
= new wxImage((wxImage
&) result
);
10687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10695 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
;
10697 wxImage
*arg1
= (wxImage
*) 0 ;
10698 wxImage
*arg2
= 0 ;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 PyObject
* obj2
= 0 ;
10704 PyObject
* obj3
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10715 if (arg2
== NULL
) {
10716 PyErr_SetString(PyExc_TypeError
,"null reference");
10719 arg3
= (int)SWIG_As_int(obj2
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10721 arg4
= (int)SWIG_As_int(obj3
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 Py_INCREF(Py_None
); resultobj
= Py_None
;
10737 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxImage
*arg1
= (wxImage
*) 0 ;
10741 PyObject
* obj0
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= (PyObject
*)wxImage_GetData(arg1
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= result
;
10763 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxImage
*arg1
= (wxImage
*) 0 ;
10766 PyObject
*arg2
= (PyObject
*) 0 ;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "data", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 wxImage_SetData(arg1
,arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxImage
*arg1
= (wxImage
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= result
;
10817 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxImage
*arg1
= (wxImage
*) 0 ;
10820 PyObject
*arg2
= (PyObject
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self",(char *) "data", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 wxImage_SetDataBuffer(arg1
,arg2
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 Py_INCREF(Py_None
); resultobj
= Py_None
;
10845 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxImage
*arg1
= (wxImage
*) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= result
;
10871 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxImage
*arg1
= (wxImage
*) 0 ;
10874 PyObject
*arg2
= (PyObject
*) 0 ;
10875 PyObject
* obj0
= 0 ;
10876 PyObject
* obj1
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "self",(char *) "data", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 wxImage_SetAlphaData(arg1
,arg2
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 Py_INCREF(Py_None
); resultobj
= Py_None
;
10899 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxImage
*arg1
= (wxImage
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= result
;
10925 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxImage
*arg1
= (wxImage
*) 0 ;
10928 PyObject
*arg2
= (PyObject
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self",(char *) "data", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 wxImage_SetAlphaBuffer(arg1
,arg2
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 Py_INCREF(Py_None
); resultobj
= Py_None
;
10953 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxImage
*arg1
= (wxImage
*) 0 ;
10956 unsigned char arg2
;
10957 unsigned char arg3
;
10958 unsigned char arg4
;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 PyObject
* obj2
= 0 ;
10962 PyObject
* obj3
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10970 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10972 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10974 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 Py_INCREF(Py_None
); resultobj
= Py_None
;
10990 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxImage
*arg1
= (wxImage
*) 0 ;
10993 unsigned char result
;
10994 PyObject
* obj0
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
11000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (unsigned char)(arg1
)->GetMaskRed();
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
11016 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxImage
*arg1
= (wxImage
*) 0 ;
11019 unsigned char result
;
11020 PyObject
* obj0
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
11026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (unsigned char)(arg1
)->GetMaskGreen();
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
11042 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxImage
*arg1
= (wxImage
*) 0 ;
11045 unsigned char result
;
11046 PyObject
* obj0
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
11052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 result
= (unsigned char)(arg1
)->GetMaskBlue();
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
11068 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxImage
*arg1
= (wxImage
*) 0 ;
11071 bool arg2
= (bool) true ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "mask", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 arg2
= (bool)SWIG_As_bool(obj1
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 (arg1
)->SetMask(arg2
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 Py_INCREF(Py_None
); resultobj
= Py_None
;
11099 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
;
11101 wxImage
*arg1
= (wxImage
*) 0 ;
11103 PyObject
* obj0
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
11109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (bool)(arg1
)->HasMask();
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11127 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxImage
*arg1
= (wxImage
*) 0 ;
11131 wxPoint
*arg3
= 0 ;
11132 bool arg4
= (bool) true ;
11133 wxPoint
*arg5
= (wxPoint
*) NULL
;
11134 SwigValueWrapper
< wxImage
> result
;
11136 PyObject
* obj0
= 0 ;
11137 PyObject
* obj1
= 0 ;
11138 PyObject
* obj2
= 0 ;
11139 PyObject
* obj3
= 0 ;
11140 PyObject
* obj4
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11148 arg2
= (double)SWIG_As_double(obj1
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11155 arg4
= (bool)SWIG_As_bool(obj3
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11159 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
11160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
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_Rotate90(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 *) "clockwise", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",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
)->Rotate90(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_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxImage
*arg1
= (wxImage
*) 0 ;
11219 bool arg2
= (bool) true ;
11220 SwigValueWrapper
< wxImage
> result
;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self",(char *) "horizontally", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11231 arg2
= (bool)SWIG_As_bool(obj1
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (arg1
)->Mirror(arg2
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11242 wxImage
* resultptr
;
11243 resultptr
= new wxImage((wxImage
&) result
);
11244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11252 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxImage
*arg1
= (wxImage
*) 0 ;
11255 unsigned char arg2
;
11256 unsigned char arg3
;
11257 unsigned char arg4
;
11258 unsigned char arg5
;
11259 unsigned char arg6
;
11260 unsigned char arg7
;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 PyObject
* obj2
= 0 ;
11264 PyObject
* obj3
= 0 ;
11265 PyObject
* obj4
= 0 ;
11266 PyObject
* obj5
= 0 ;
11267 PyObject
* obj6
= 0 ;
11268 char *kwnames
[] = {
11269 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11275 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11277 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11279 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11281 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11283 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11285 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 Py_INCREF(Py_None
); resultobj
= Py_None
;
11301 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxImage
*arg1
= (wxImage
*) 0 ;
11304 unsigned char arg2
;
11305 unsigned char arg3
;
11306 unsigned char arg4
;
11307 SwigValueWrapper
< wxImage
> result
;
11308 PyObject
* obj0
= 0 ;
11309 PyObject
* obj1
= 0 ;
11310 PyObject
* obj2
= 0 ;
11311 PyObject
* obj3
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11319 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11321 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11323 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 wxImage
* resultptr
;
11334 resultptr
= new wxImage((wxImage
&) result
);
11335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11343 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxImage
*arg1
= (wxImage
*) 0 ;
11346 wxString
*arg2
= 0 ;
11347 wxString
*arg3
= 0 ;
11348 bool temp2
= false ;
11349 bool temp3
= false ;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 PyObject
* obj2
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self",(char *) "name",(char *) "value", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11361 arg2
= wxString_in_helper(obj1
);
11362 if (arg2
== NULL
) SWIG_fail
;
11366 arg3
= wxString_in_helper(obj2
);
11367 if (arg3
== NULL
) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 Py_INCREF(Py_None
); resultobj
= Py_None
;
11400 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxImage
*arg1
= (wxImage
*) 0 ;
11403 wxString
*arg2
= 0 ;
11405 bool temp2
= false ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 PyObject
* obj2
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "self",(char *) "name",(char *) "value", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11417 arg2
= wxString_in_helper(obj1
);
11418 if (arg2
== NULL
) SWIG_fail
;
11421 arg3
= (int)SWIG_As_int(obj2
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 Py_INCREF(Py_None
); resultobj
= Py_None
;
11445 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxImage
*arg1
= (wxImage
*) 0 ;
11448 wxString
*arg2
= 0 ;
11450 bool temp2
= false ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self",(char *) "name", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11461 arg2
= wxString_in_helper(obj1
);
11462 if (arg2
== NULL
) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11493 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
;
11495 wxImage
*arg1
= (wxImage
*) 0 ;
11496 wxString
*arg2
= 0 ;
11498 bool temp2
= false ;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self",(char *) "name", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11509 arg2
= wxString_in_helper(obj1
);
11510 if (arg2
== NULL
) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= SWIG_From_int((int)result
);
11535 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxImage
*arg1
= (wxImage
*) 0 ;
11538 wxString
*arg2
= 0 ;
11540 bool temp2
= false ;
11541 PyObject
* obj0
= 0 ;
11542 PyObject
* obj1
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "self",(char *) "name", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11551 arg2
= wxString_in_helper(obj1
);
11552 if (arg2
== NULL
) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11579 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 wxImage
*arg1
= (wxImage
*) 0 ;
11582 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11583 unsigned long result
;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self",(char *) "stopafter", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11594 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11611 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxImage
*arg1
= (wxImage
*) 0 ;
11614 wxImageHistogram
*arg2
= 0 ;
11615 unsigned long result
;
11616 PyObject
* obj0
= 0 ;
11617 PyObject
* obj1
= 0 ;
11618 char *kwnames
[] = {
11619 (char *) "self",(char *) "h", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11628 if (arg2
== NULL
) {
11629 PyErr_SetString(PyExc_TypeError
,"null reference");
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11646 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
*resultobj
;
11648 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11649 PyObject
* obj0
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "handler", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 wxImage::AddHandler(arg1
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 Py_INCREF(Py_None
); resultobj
= Py_None
;
11671 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11673 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11674 PyObject
* obj0
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "handler", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 wxImage::InsertHandler(arg1
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 Py_INCREF(Py_None
); resultobj
= Py_None
;
11696 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
;
11698 wxString
*arg1
= 0 ;
11700 bool temp1
= false ;
11701 PyObject
* obj0
= 0 ;
11702 char *kwnames
[] = {
11703 (char *) "name", NULL
11706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11708 arg1
= wxString_in_helper(obj0
);
11709 if (arg1
== NULL
) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11736 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
;
11739 char *kwnames
[] = {
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 result
= wxImage::GetImageExtWildcard();
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11764 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
*resultobj
;
11766 wxImage
*arg1
= (wxImage
*) 0 ;
11767 int arg2
= (int) -1 ;
11769 PyObject
* obj0
= 0 ;
11770 PyObject
* obj1
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self",(char *) "depth", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11779 arg2
= (int)SWIG_As_int(obj1
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11783 if (!wxPyCheckForApp()) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 wxBitmap
* resultptr
;
11792 resultptr
= new wxBitmap((wxBitmap
&) result
);
11793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11801 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxImage
*arg1
= (wxImage
*) 0 ;
11804 unsigned char arg2
;
11805 unsigned char arg3
;
11806 unsigned char arg4
;
11808 PyObject
* obj0
= 0 ;
11809 PyObject
* obj1
= 0 ;
11810 PyObject
* obj2
= 0 ;
11811 PyObject
* obj3
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11819 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11821 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11823 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 if (!wxPyCheckForApp()) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11834 wxBitmap
* resultptr
;
11835 resultptr
= new wxBitmap((wxBitmap
&) result
);
11836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11844 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11847 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11849 return Py_BuildValue((char *)"");
11851 static int _wrap_NullImage_set(PyObject
*) {
11852 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11857 static PyObject
*_wrap_NullImage_get() {
11860 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11865 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11866 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11871 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11876 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11878 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11885 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11886 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11891 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11896 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11898 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11905 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11906 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11911 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11916 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11918 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11925 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11926 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11931 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11936 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11938 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11945 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11946 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11951 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11956 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11958 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11965 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxBMPHandler
*result
;
11968 char *kwnames
[] = {
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (wxBMPHandler
*)new wxBMPHandler();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11987 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11990 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11992 return Py_BuildValue((char *)"");
11994 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxICOHandler
*result
;
11997 char *kwnames
[] = {
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= (wxICOHandler
*)new wxICOHandler();
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
12016 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
12018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12019 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
12021 return Py_BuildValue((char *)"");
12023 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxCURHandler
*result
;
12026 char *kwnames
[] = {
12030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (wxCURHandler
*)new wxCURHandler();
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
12045 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
12047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12048 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
12050 return Py_BuildValue((char *)"");
12052 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxANIHandler
*result
;
12055 char *kwnames
[] = {
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (wxANIHandler
*)new wxANIHandler();
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
12074 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
12076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12077 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
12079 return Py_BuildValue((char *)"");
12081 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
;
12083 wxPNGHandler
*result
;
12084 char *kwnames
[] = {
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 result
= (wxPNGHandler
*)new wxPNGHandler();
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
12103 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
12105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12106 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
12108 return Py_BuildValue((char *)"");
12110 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxGIFHandler
*result
;
12113 char *kwnames
[] = {
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (wxGIFHandler
*)new wxGIFHandler();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
12132 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
12134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12135 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
12137 return Py_BuildValue((char *)"");
12139 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxPCXHandler
*result
;
12142 char *kwnames
[] = {
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (wxPCXHandler
*)new wxPCXHandler();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
12161 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
12163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12164 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
12166 return Py_BuildValue((char *)"");
12168 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxJPEGHandler
*result
;
12171 char *kwnames
[] = {
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (wxJPEGHandler
*)new wxJPEGHandler();
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
12190 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
12192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12193 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
12195 return Py_BuildValue((char *)"");
12197 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxPNMHandler
*result
;
12200 char *kwnames
[] = {
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= (wxPNMHandler
*)new wxPNMHandler();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
12219 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
12221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12222 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
12224 return Py_BuildValue((char *)"");
12226 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxXPMHandler
*result
;
12229 char *kwnames
[] = {
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 result
= (wxXPMHandler
*)new wxXPMHandler();
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12248 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12251 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12253 return Py_BuildValue((char *)"");
12255 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxTIFFHandler
*result
;
12258 char *kwnames
[] = {
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12277 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12280 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12282 return Py_BuildValue((char *)"");
12284 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxImage
*arg1
= 0 ;
12287 wxImage
*arg2
= 0 ;
12288 int arg3
= (int) 236 ;
12289 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 PyObject
* obj2
= 0 ;
12294 PyObject
* obj3
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12303 if (arg1
== NULL
) {
12304 PyErr_SetString(PyExc_TypeError
,"null reference");
12307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12310 if (arg2
== NULL
) {
12311 PyErr_SetString(PyExc_TypeError
,"null reference");
12315 arg3
= (int)SWIG_As_int(obj2
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12319 arg4
= (int)SWIG_As_int(obj3
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12338 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12341 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12343 return Py_BuildValue((char *)"");
12345 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxEvtHandler
*result
;
12348 char *kwnames
[] = {
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (wxEvtHandler
*)new wxEvtHandler();
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12367 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12370 wxEvtHandler
*result
;
12371 PyObject
* obj0
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= wxPyMake_wxObject(result
, 0);
12395 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
;
12397 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12398 wxEvtHandler
*result
;
12399 PyObject
* obj0
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= wxPyMake_wxObject(result
, 0);
12423 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12426 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12427 PyObject
* obj0
= 0 ;
12428 PyObject
* obj1
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self",(char *) "handler", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 (arg1
)->SetNextHandler(arg2
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 Py_INCREF(Py_None
); resultobj
= Py_None
;
12452 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12455 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12456 PyObject
* obj0
= 0 ;
12457 PyObject
* obj1
= 0 ;
12458 char *kwnames
[] = {
12459 (char *) "self",(char *) "handler", NULL
12462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 (arg1
)->SetPreviousHandler(arg2
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 Py_INCREF(Py_None
); resultobj
= Py_None
;
12481 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12509 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 PyObject
* obj1
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self",(char *) "enabled", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12522 arg2
= (bool)SWIG_As_bool(obj1
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 (arg1
)->SetEvtHandlerEnabled(arg2
);
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 Py_INCREF(Py_None
); resultobj
= Py_None
;
12538 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12541 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_ProcessEvent",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 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12575 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
;
12577 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12578 wxEvent
*arg2
= 0 ;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self",(char *) "event", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12591 if (arg2
== NULL
) {
12592 PyErr_SetString(PyExc_TypeError
,"null reference");
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 (arg1
)->AddPendingEvent(*arg2
);
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 Py_INCREF(Py_None
); resultobj
= Py_None
;
12609 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
;
12611 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 (arg1
)->ProcessPendingEvents();
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 Py_INCREF(Py_None
); resultobj
= Py_None
;
12634 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12640 PyObject
*arg5
= (PyObject
*) 0 ;
12641 PyObject
* obj0
= 0 ;
12642 PyObject
* obj1
= 0 ;
12643 PyObject
* obj2
= 0 ;
12644 PyObject
* obj3
= 0 ;
12645 PyObject
* obj4
= 0 ;
12646 char *kwnames
[] = {
12647 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12653 arg2
= (int)SWIG_As_int(obj1
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12655 arg3
= (int)SWIG_As_int(obj2
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12657 arg4
= (int)SWIG_As_int(obj3
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 Py_INCREF(Py_None
); resultobj
= Py_None
;
12674 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12678 int arg3
= (int) -1 ;
12679 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12681 PyObject
* obj0
= 0 ;
12682 PyObject
* obj1
= 0 ;
12683 PyObject
* obj2
= 0 ;
12684 PyObject
* obj3
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12692 arg2
= (int)SWIG_As_int(obj1
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 arg3
= (int)SWIG_As_int(obj2
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12699 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12718 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12721 PyObject
*arg2
= (PyObject
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 PyObject
* obj1
= 0 ;
12724 char *kwnames
[] = {
12725 (char *) "self",(char *) "_self", NULL
12728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 wxEvtHandler__setOORInfo(arg1
,arg2
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 Py_INCREF(Py_None
); resultobj
= Py_None
;
12746 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12749 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12751 return Py_BuildValue((char *)"");
12753 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxEventType result
;
12756 char *kwnames
[] = {
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 result
= (wxEventType
)wxNewEventType();
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= SWIG_From_int((int)result
);
12775 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxEvent
*arg1
= (wxEvent
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 Py_INCREF(Py_None
); resultobj
= Py_None
;
12800 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
;
12802 wxEvent
*arg1
= (wxEvent
*) 0 ;
12804 PyObject
* obj0
= 0 ;
12805 PyObject
* obj1
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self",(char *) "typ", NULL
12810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12813 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->SetEventType(arg2
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 Py_INCREF(Py_None
); resultobj
= Py_None
;
12829 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
;
12831 wxEvent
*arg1
= (wxEvent
*) 0 ;
12832 wxEventType result
;
12833 PyObject
* obj0
= 0 ;
12834 char *kwnames
[] = {
12835 (char *) "self", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= SWIG_From_int((int)result
);
12855 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxEvent
*arg1
= (wxEvent
*) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= wxPyMake_wxObject(result
, 0);
12883 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxEvent
*arg1
= (wxEvent
*) 0 ;
12886 wxObject
*arg2
= (wxObject
*) 0 ;
12887 PyObject
* obj0
= 0 ;
12888 PyObject
* obj1
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self",(char *) "obj", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 (arg1
)->SetEventObject(arg2
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 Py_INCREF(Py_None
); resultobj
= Py_None
;
12912 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxEvent
*arg1
= (wxEvent
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= SWIG_From_long((long)result
);
12938 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxEvent
*arg1
= (wxEvent
*) 0 ;
12941 long arg2
= (long) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 PyObject
* obj1
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self",(char *) "ts", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12952 arg2
= (long)SWIG_As_long(obj1
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 (arg1
)->SetTimestamp(arg2
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 Py_INCREF(Py_None
); resultobj
= Py_None
;
12969 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxEvent
*arg1
= (wxEvent
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (int)((wxEvent
const *)arg1
)->GetId();
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= SWIG_From_int((int)result
);
12995 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxEvent
*arg1
= (wxEvent
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self",(char *) "Id", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13008 arg2
= (int)SWIG_As_int(obj1
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 (arg1
)->SetId(arg2
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 Py_INCREF(Py_None
); resultobj
= Py_None
;
13024 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxEvent
*arg1
= (wxEvent
*) 0 ;
13028 PyObject
* obj0
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13052 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxEvent
*arg1
= (wxEvent
*) 0 ;
13055 bool arg2
= (bool) true ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "skip", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13066 arg2
= (bool)SWIG_As_bool(obj1
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 (arg1
)->Skip(arg2
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 Py_INCREF(Py_None
); resultobj
= Py_None
;
13083 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxEvent
*arg1
= (wxEvent
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13111 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxEvent
*arg1
= (wxEvent
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13139 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxEvent
*arg1
= (wxEvent
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (int)(arg1
)->StopPropagation();
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= SWIG_From_int((int)result
);
13165 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxEvent
*arg1
= (wxEvent
*) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 PyObject
* obj1
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "self",(char *) "propagationLevel", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
13176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13178 arg2
= (int)SWIG_As_int(obj1
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 (arg1
)->ResumePropagation(arg2
);
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 Py_INCREF(Py_None
); resultobj
= Py_None
;
13194 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxEvent
*arg1
= (wxEvent
*) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (wxEvent
*)(arg1
)->Clone();
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13220 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
13222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13223 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
13225 return Py_BuildValue((char *)"");
13227 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxEvent
*arg1
= 0 ;
13230 wxPropagationDisabler
*result
;
13231 PyObject
* obj0
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "event", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13240 if (arg1
== NULL
) {
13241 PyErr_SetString(PyExc_TypeError
,"null reference");
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13258 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 char *kwnames
[] = {
13263 (char *) "self", NULL
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 Py_INCREF(Py_None
); resultobj
= Py_None
;
13283 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13286 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13288 return Py_BuildValue((char *)"");
13290 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
;
13292 wxEvent
*arg1
= 0 ;
13293 wxPropagateOnce
*result
;
13294 PyObject
* obj0
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "event", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13303 if (arg1
== NULL
) {
13304 PyErr_SetString(PyExc_TypeError
,"null reference");
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13321 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
;
13323 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 char *kwnames
[] = {
13326 (char *) "self", NULL
13329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 Py_INCREF(Py_None
); resultobj
= Py_None
;
13346 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13349 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13351 return Py_BuildValue((char *)"");
13353 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13356 int arg2
= (int) 0 ;
13357 wxCommandEvent
*result
;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "commandType",(char *) "winid", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13366 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13370 arg2
= (int)SWIG_As_int(obj1
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13387 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13391 PyObject
* obj0
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= SWIG_From_int((int)result
);
13413 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13416 wxString
*arg2
= 0 ;
13417 bool temp2
= false ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self",(char *) "s", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13428 arg2
= wxString_in_helper(obj1
);
13429 if (arg2
== NULL
) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 (arg1
)->SetString((wxString
const &)*arg2
);
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 Py_INCREF(Py_None
); resultobj
= Py_None
;
13454 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13458 PyObject
* obj0
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13486 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13490 PyObject
* obj0
= 0 ;
13491 char *kwnames
[] = {
13492 (char *) "self", NULL
13495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13514 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13542 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13546 PyObject
* obj0
= 0 ;
13547 PyObject
* obj1
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self",(char *) "extraLong", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13555 arg2
= (long)SWIG_As_long(obj1
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 (arg1
)->SetExtraLong(arg2
);
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 Py_INCREF(Py_None
); resultobj
= Py_None
;
13571 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13575 PyObject
* obj0
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "self", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= SWIG_From_long((long)result
);
13597 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13601 PyObject
* obj0
= 0 ;
13602 PyObject
* obj1
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "self",(char *) "i", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13610 arg2
= (int)SWIG_As_int(obj1
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 (arg1
)->SetInt(arg2
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 Py_INCREF(Py_None
); resultobj
= Py_None
;
13626 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13630 PyObject
* obj0
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_From_long((long)result
);
13652 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13678 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13681 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13683 return Py_BuildValue((char *)"");
13685 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13688 int arg2
= (int) 0 ;
13689 wxNotifyEvent
*result
;
13690 PyObject
* obj0
= 0 ;
13691 PyObject
* obj1
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "commandType",(char *) "winid", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13698 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13702 arg2
= (int)SWIG_As_int(obj1
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13719 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
;
13721 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13722 PyObject
* obj0
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "self", NULL
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13737 Py_INCREF(Py_None
); resultobj
= Py_None
;
13744 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13747 PyObject
* obj0
= 0 ;
13748 char *kwnames
[] = {
13749 (char *) "self", NULL
13752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 Py_INCREF(Py_None
); resultobj
= Py_None
;
13769 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
;
13771 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13773 PyObject
* obj0
= 0 ;
13774 char *kwnames
[] = {
13775 (char *) "self", NULL
13778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 result
= (bool)(arg1
)->IsAllowed();
13785 wxPyEndAllowThreads(__tstate
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13797 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13800 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13802 return Py_BuildValue((char *)"");
13804 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13807 int arg2
= (int) 0 ;
13808 int arg3
= (int) 0 ;
13809 int arg4
= (int) 0 ;
13810 wxScrollEvent
*result
;
13811 PyObject
* obj0
= 0 ;
13812 PyObject
* obj1
= 0 ;
13813 PyObject
* obj2
= 0 ;
13814 PyObject
* obj3
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13821 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13825 arg2
= (int)SWIG_As_int(obj1
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13829 arg3
= (int)SWIG_As_int(obj2
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13833 arg4
= (int)SWIG_As_int(obj3
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13850 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
;
13852 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13854 PyObject
* obj0
= 0 ;
13855 char *kwnames
[] = {
13856 (char *) "self", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= SWIG_From_int((int)result
);
13876 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13880 PyObject
* obj0
= 0 ;
13881 char *kwnames
[] = {
13882 (char *) "self", NULL
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= SWIG_From_int((int)result
);
13902 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13906 PyObject
* obj0
= 0 ;
13907 PyObject
* obj1
= 0 ;
13908 char *kwnames
[] = {
13909 (char *) "self",(char *) "orient", NULL
13912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13915 arg2
= (int)SWIG_As_int(obj1
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 (arg1
)->SetOrientation(arg2
);
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 Py_INCREF(Py_None
); resultobj
= Py_None
;
13931 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
;
13933 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13935 PyObject
* obj0
= 0 ;
13936 PyObject
* obj1
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self",(char *) "pos", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13944 arg2
= (int)SWIG_As_int(obj1
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 (arg1
)->SetPosition(arg2
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 Py_INCREF(Py_None
); resultobj
= Py_None
;
13960 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13963 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13965 return Py_BuildValue((char *)"");
13967 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13970 int arg2
= (int) 0 ;
13971 int arg3
= (int) 0 ;
13972 wxScrollWinEvent
*result
;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 PyObject
* obj2
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13982 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13986 arg2
= (int)SWIG_As_int(obj1
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 arg3
= (int)SWIG_As_int(obj2
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
14007 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14011 PyObject
* obj0
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_From_int((int)result
);
14033 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14037 PyObject
* obj0
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "self", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_From_int((int)result
);
14059 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
;
14061 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14063 PyObject
* obj0
= 0 ;
14064 PyObject
* obj1
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self",(char *) "orient", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
14070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14072 arg2
= (int)SWIG_As_int(obj1
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 (arg1
)->SetOrientation(arg2
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 Py_INCREF(Py_None
); resultobj
= Py_None
;
14088 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 PyObject
* obj1
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self",(char *) "pos", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14101 arg2
= (int)SWIG_As_int(obj1
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14105 (arg1
)->SetPosition(arg2
);
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 Py_INCREF(Py_None
); resultobj
= Py_None
;
14117 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
14119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14120 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
14122 return Py_BuildValue((char *)"");
14124 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14127 wxMouseEvent
*result
;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "mouseType", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
14135 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
14142 wxPyEndAllowThreads(__tstate
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= wxPyMake_wxObject(result
, 1);
14154 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "self", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14182 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
;
14184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14185 int arg2
= (int) wxMOUSE_BTN_ANY
;
14187 PyObject
* obj0
= 0 ;
14188 PyObject
* obj1
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self",(char *) "but", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14197 arg2
= (int)SWIG_As_int(obj1
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14216 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14219 int arg2
= (int) wxMOUSE_BTN_ANY
;
14221 PyObject
* obj0
= 0 ;
14222 PyObject
* obj1
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self",(char *) "but", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 arg2
= (int)SWIG_As_int(obj1
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14250 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14253 int arg2
= (int) wxMOUSE_BTN_ANY
;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self",(char *) "but", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14265 arg2
= (int)SWIG_As_int(obj1
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14284 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self",(char *) "but", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14298 arg2
= (int)SWIG_As_int(obj1
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14316 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "self",(char *) "but", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14330 arg2
= (int)SWIG_As_int(obj1
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14348 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
;
14350 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14352 PyObject
* obj0
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_From_int((int)result
);
14374 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14378 PyObject
* obj0
= 0 ;
14379 char *kwnames
[] = {
14380 (char *) "self", NULL
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14402 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14406 PyObject
* obj0
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14430 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14434 PyObject
* obj0
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "self", NULL
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14458 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14462 PyObject
* obj0
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "self", NULL
14467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14486 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14490 PyObject
* obj0
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "self", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14514 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14515 PyObject
*resultobj
;
14516 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14518 PyObject
* obj0
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14542 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14543 PyObject
*resultobj
;
14544 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14546 PyObject
* obj0
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14570 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14571 PyObject
*resultobj
;
14572 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14574 PyObject
* obj0
= 0 ;
14575 char *kwnames
[] = {
14576 (char *) "self", NULL
14579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14598 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "self", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14626 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14630 PyObject
* obj0
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14654 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
;
14656 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14658 PyObject
* obj0
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "self", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14682 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14710 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
;
14712 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14714 PyObject
* obj0
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14738 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
;
14740 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14742 PyObject
* obj0
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14766 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14770 PyObject
* obj0
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "self", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (bool)(arg1
)->LeftIsDown();
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14794 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
;
14796 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 result
= (bool)(arg1
)->MiddleIsDown();
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14822 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
;
14824 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14826 PyObject
* obj0
= 0 ;
14827 char *kwnames
[] = {
14828 (char *) "self", NULL
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (bool)(arg1
)->RightIsDown();
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14850 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14878 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14906 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14910 PyObject
* obj0
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14934 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
;
14936 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14962 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (arg1
)->GetPosition();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14982 wxPoint
* resultptr
;
14983 resultptr
= new wxPoint((wxPoint
&) result
);
14984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14992 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
;
14994 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14995 long *arg2
= (long *) 0 ;
14996 long *arg3
= (long *) 0 ;
15001 PyObject
* obj0
= 0 ;
15002 char *kwnames
[] = {
15003 (char *) "self", NULL
15006 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15007 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 (arg1
)->GetPosition(arg2
,arg3
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 Py_INCREF(Py_None
); resultobj
= Py_None
;
15019 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15020 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
15021 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15022 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15029 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15034 PyObject
* obj0
= 0 ;
15035 PyObject
* obj1
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self",(char *) "dc", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15046 if (arg2
== NULL
) {
15047 PyErr_SetString(PyExc_TypeError
,"null reference");
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15058 wxPoint
* resultptr
;
15059 resultptr
= new wxPoint((wxPoint
&) result
);
15060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15068 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
15078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= SWIG_From_int((int)result
);
15094 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self", NULL
15103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
15104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_From_int((int)result
);
15120 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_From_int((int)result
);
15146 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
15156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= SWIG_From_int((int)result
);
15172 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
15182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= SWIG_From_int((int)result
);
15198 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self", NULL
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
15208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15226 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 PyObject
* obj1
= 0 ;
15232 char *kwnames
[] = {
15233 (char *) "self",(char *) "m_x", NULL
15236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15239 arg2
= (int)SWIG_As_int(obj1
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15241 if (arg1
) (arg1
)->m_x
= arg2
;
15243 Py_INCREF(Py_None
); resultobj
= Py_None
;
15250 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15262 result
= (int) ((arg1
)->m_x
);
15264 resultobj
= SWIG_From_int((int)result
);
15271 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self",(char *) "m_y", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15284 arg2
= (int)SWIG_As_int(obj1
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15286 if (arg1
) (arg1
)->m_y
= arg2
;
15288 Py_INCREF(Py_None
); resultobj
= Py_None
;
15295 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
;
15297 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15299 PyObject
* obj0
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15307 result
= (int) ((arg1
)->m_y
);
15309 resultobj
= SWIG_From_int((int)result
);
15316 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15320 PyObject
* obj0
= 0 ;
15321 PyObject
* obj1
= 0 ;
15322 char *kwnames
[] = {
15323 (char *) "self",(char *) "m_leftDown", NULL
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15329 arg2
= (bool)SWIG_As_bool(obj1
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15331 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15333 Py_INCREF(Py_None
); resultobj
= Py_None
;
15340 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15344 PyObject
* obj0
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15352 result
= (bool) ((arg1
)->m_leftDown
);
15355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15363 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15367 PyObject
* obj0
= 0 ;
15368 PyObject
* obj1
= 0 ;
15369 char *kwnames
[] = {
15370 (char *) "self",(char *) "m_middleDown", NULL
15373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15376 arg2
= (bool)SWIG_As_bool(obj1
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15378 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15380 Py_INCREF(Py_None
); resultobj
= Py_None
;
15387 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15399 result
= (bool) ((arg1
)->m_middleDown
);
15402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15410 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 PyObject
* obj1
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self",(char *) "m_rightDown", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15423 arg2
= (bool)SWIG_As_bool(obj1
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15425 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15427 Py_INCREF(Py_None
); resultobj
= Py_None
;
15434 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15446 result
= (bool) ((arg1
)->m_rightDown
);
15449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15457 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "m_controlDown", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15470 arg2
= (bool)SWIG_As_bool(obj1
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15472 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15474 Py_INCREF(Py_None
); resultobj
= Py_None
;
15481 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15483 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 char *kwnames
[] = {
15487 (char *) "self", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15493 result
= (bool) ((arg1
)->m_controlDown
);
15496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15504 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15508 PyObject
* obj0
= 0 ;
15509 PyObject
* obj1
= 0 ;
15510 char *kwnames
[] = {
15511 (char *) "self",(char *) "m_shiftDown", NULL
15514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15517 arg2
= (bool)SWIG_As_bool(obj1
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15519 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15521 Py_INCREF(Py_None
); resultobj
= Py_None
;
15528 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15532 PyObject
* obj0
= 0 ;
15533 char *kwnames
[] = {
15534 (char *) "self", NULL
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15540 result
= (bool) ((arg1
)->m_shiftDown
);
15543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15551 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15555 PyObject
* obj0
= 0 ;
15556 PyObject
* obj1
= 0 ;
15557 char *kwnames
[] = {
15558 (char *) "self",(char *) "m_altDown", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15564 arg2
= (bool)SWIG_As_bool(obj1
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15566 if (arg1
) (arg1
)->m_altDown
= arg2
;
15568 Py_INCREF(Py_None
); resultobj
= Py_None
;
15575 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
;
15577 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15587 result
= (bool) ((arg1
)->m_altDown
);
15590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15598 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 PyObject
* obj1
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self",(char *) "m_metaDown", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15611 arg2
= (bool)SWIG_As_bool(obj1
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15613 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15615 Py_INCREF(Py_None
); resultobj
= Py_None
;
15622 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15626 PyObject
* obj0
= 0 ;
15627 char *kwnames
[] = {
15628 (char *) "self", NULL
15631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15634 result
= (bool) ((arg1
)->m_metaDown
);
15637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15645 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15649 PyObject
* obj0
= 0 ;
15650 PyObject
* obj1
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self",(char *) "m_wheelRotation", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15658 arg2
= (int)SWIG_As_int(obj1
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15660 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15662 Py_INCREF(Py_None
); resultobj
= Py_None
;
15669 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15673 PyObject
* obj0
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15681 result
= (int) ((arg1
)->m_wheelRotation
);
15683 resultobj
= SWIG_From_int((int)result
);
15690 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15694 PyObject
* obj0
= 0 ;
15695 PyObject
* obj1
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "self",(char *) "m_wheelDelta", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15703 arg2
= (int)SWIG_As_int(obj1
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15705 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15707 Py_INCREF(Py_None
); resultobj
= Py_None
;
15714 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15718 PyObject
* obj0
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15726 result
= (int) ((arg1
)->m_wheelDelta
);
15728 resultobj
= SWIG_From_int((int)result
);
15735 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15739 PyObject
* obj0
= 0 ;
15740 PyObject
* obj1
= 0 ;
15741 char *kwnames
[] = {
15742 (char *) "self",(char *) "m_linesPerAction", NULL
15745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 arg2
= (int)SWIG_As_int(obj1
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15750 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15752 Py_INCREF(Py_None
); resultobj
= Py_None
;
15759 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15763 PyObject
* obj0
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15771 result
= (int) ((arg1
)->m_linesPerAction
);
15773 resultobj
= SWIG_From_int((int)result
);
15780 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15783 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15785 return Py_BuildValue((char *)"");
15787 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 int arg1
= (int) 0 ;
15790 int arg2
= (int) 0 ;
15791 wxSetCursorEvent
*result
;
15792 PyObject
* obj0
= 0 ;
15793 PyObject
* obj1
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "x",(char *) "y", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15800 arg1
= (int)SWIG_As_int(obj0
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15804 arg2
= (int)SWIG_As_int(obj1
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15821 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= SWIG_From_int((int)result
);
15847 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
;
15849 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15851 PyObject
* obj0
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= SWIG_From_int((int)result
);
15873 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15876 wxCursor
*arg2
= 0 ;
15877 PyObject
* obj0
= 0 ;
15878 PyObject
* obj1
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self",(char *) "cursor", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15889 if (arg2
== NULL
) {
15890 PyErr_SetString(PyExc_TypeError
,"null reference");
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 Py_INCREF(Py_None
); resultobj
= Py_None
;
15907 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
;
15909 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "self", NULL
15916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15923 result
= (wxCursor
*) &_result_ref
;
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15930 wxCursor
* resultptr
= new wxCursor(*result
);
15931 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15939 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15967 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15970 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15972 return Py_BuildValue((char *)"");
15974 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15977 wxKeyEvent
*result
;
15978 PyObject
* obj0
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "keyType", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15985 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
16002 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16006 PyObject
* obj0
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16030 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16058 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16062 PyObject
* obj0
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16086 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
;
16088 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16090 PyObject
* obj0
= 0 ;
16091 char *kwnames
[] = {
16092 (char *) "self", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16114 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16142 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16170 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= SWIG_From_int((int)result
);
16196 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= SWIG_From_int((int)result
);
16222 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16225 unsigned int result
;
16226 PyObject
* obj0
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16248 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16251 unsigned int result
;
16252 PyObject
* obj0
= 0 ;
16253 char *kwnames
[] = {
16254 (char *) "self", NULL
16257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16274 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (arg1
)->GetPosition();
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16294 wxPoint
* resultptr
;
16295 resultptr
= new wxPoint((wxPoint
&) result
);
16296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16304 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16307 long *arg2
= (long *) 0 ;
16308 long *arg3
= (long *) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self", NULL
16318 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16319 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 (arg1
)->GetPosition(arg2
,arg3
);
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16330 Py_INCREF(Py_None
); resultobj
= Py_None
;
16331 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16332 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16333 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16334 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16341 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
;
16343 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16345 PyObject
* obj0
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16357 wxPyEndAllowThreads(__tstate
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= SWIG_From_int((int)result
);
16367 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= SWIG_From_int((int)result
);
16393 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16397 PyObject
* obj0
= 0 ;
16398 PyObject
* obj1
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self",(char *) "m_x", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16406 arg2
= (int)SWIG_As_int(obj1
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16408 if (arg1
) (arg1
)->m_x
= arg2
;
16410 Py_INCREF(Py_None
); resultobj
= Py_None
;
16417 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
;
16419 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16421 PyObject
* obj0
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "self", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16429 result
= (int) ((arg1
)->m_x
);
16431 resultobj
= SWIG_From_int((int)result
);
16438 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self",(char *) "m_y", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 arg2
= (int)SWIG_As_int(obj1
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16453 if (arg1
) (arg1
)->m_y
= arg2
;
16455 Py_INCREF(Py_None
); resultobj
= Py_None
;
16462 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16474 result
= (int) ((arg1
)->m_y
);
16476 resultobj
= SWIG_From_int((int)result
);
16483 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16487 PyObject
* obj0
= 0 ;
16488 PyObject
* obj1
= 0 ;
16489 char *kwnames
[] = {
16490 (char *) "self",(char *) "m_keyCode", NULL
16493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16496 arg2
= (long)SWIG_As_long(obj1
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16498 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16500 Py_INCREF(Py_None
); resultobj
= Py_None
;
16507 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16511 PyObject
* obj0
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "self", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16519 result
= (long) ((arg1
)->m_keyCode
);
16521 resultobj
= SWIG_From_long((long)result
);
16528 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16532 PyObject
* obj0
= 0 ;
16533 PyObject
* obj1
= 0 ;
16534 char *kwnames
[] = {
16535 (char *) "self",(char *) "m_controlDown", NULL
16538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16541 arg2
= (bool)SWIG_As_bool(obj1
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16543 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16545 Py_INCREF(Py_None
); resultobj
= Py_None
;
16552 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16556 PyObject
* obj0
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16564 result
= (bool) ((arg1
)->m_controlDown
);
16567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16575 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 PyObject
* obj1
= 0 ;
16581 char *kwnames
[] = {
16582 (char *) "self",(char *) "m_shiftDown", NULL
16585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16588 arg2
= (bool)SWIG_As_bool(obj1
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16590 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16592 Py_INCREF(Py_None
); resultobj
= Py_None
;
16599 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16603 PyObject
* obj0
= 0 ;
16604 char *kwnames
[] = {
16605 (char *) "self", NULL
16608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16611 result
= (bool) ((arg1
)->m_shiftDown
);
16614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16622 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16626 PyObject
* obj0
= 0 ;
16627 PyObject
* obj1
= 0 ;
16628 char *kwnames
[] = {
16629 (char *) "self",(char *) "m_altDown", NULL
16632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16635 arg2
= (bool)SWIG_As_bool(obj1
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16637 if (arg1
) (arg1
)->m_altDown
= arg2
;
16639 Py_INCREF(Py_None
); resultobj
= Py_None
;
16646 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
;
16648 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16658 result
= (bool) ((arg1
)->m_altDown
);
16661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16669 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
;
16671 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16673 PyObject
* obj0
= 0 ;
16674 PyObject
* obj1
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self",(char *) "m_metaDown", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16682 arg2
= (bool)SWIG_As_bool(obj1
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16684 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16686 Py_INCREF(Py_None
); resultobj
= Py_None
;
16693 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16705 result
= (bool) ((arg1
)->m_metaDown
);
16708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16716 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "m_scanCode", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 arg2
= (bool)SWIG_As_bool(obj1
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16731 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16733 Py_INCREF(Py_None
); resultobj
= Py_None
;
16740 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16744 PyObject
* obj0
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16752 result
= (bool) ((arg1
)->m_scanCode
);
16755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16763 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16764 PyObject
*resultobj
;
16765 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16766 unsigned int arg2
;
16767 PyObject
* obj0
= 0 ;
16768 PyObject
* obj1
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "self",(char *) "m_rawCode", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16776 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16778 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16780 Py_INCREF(Py_None
); resultobj
= Py_None
;
16787 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
;
16789 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16790 unsigned int result
;
16791 PyObject
* obj0
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16799 result
= (unsigned int) ((arg1
)->m_rawCode
);
16801 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16808 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16811 unsigned int arg2
;
16812 PyObject
* obj0
= 0 ;
16813 PyObject
* obj1
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self",(char *) "m_rawFlags", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16821 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16823 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16825 Py_INCREF(Py_None
); resultobj
= Py_None
;
16832 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16835 unsigned int result
;
16836 PyObject
* obj0
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16844 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16846 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16853 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16856 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16858 return Py_BuildValue((char *)"");
16860 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
;
16862 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16863 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16864 int arg2
= (int) 0 ;
16865 wxSizeEvent
*result
;
16867 PyObject
* obj0
= 0 ;
16868 PyObject
* obj1
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "sz",(char *) "winid", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16877 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16881 arg2
= (int)SWIG_As_int(obj1
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16898 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16902 PyObject
* obj0
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 wxSize
* resultptr
;
16919 resultptr
= new wxSize((wxSize
&) result
);
16920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16928 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16932 PyObject
* obj0
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "self", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16948 wxRect
* resultptr
;
16949 resultptr
= new wxRect((wxRect
&) result
);
16950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16958 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16963 PyObject
* obj0
= 0 ;
16964 PyObject
* obj1
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "self",(char *) "rect", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16972 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16973 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 (arg1
)->SetRect(arg2
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 Py_INCREF(Py_None
); resultobj
= Py_None
;
16989 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16990 PyObject
*resultobj
;
16991 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16994 PyObject
* obj0
= 0 ;
16995 PyObject
* obj1
= 0 ;
16996 char *kwnames
[] = {
16997 (char *) "self",(char *) "size", NULL
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17003 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
17004 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 wxSizeEvent_SetSize(arg1
,arg2
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 Py_INCREF(Py_None
); resultobj
= Py_None
;
17020 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17023 wxSize
*arg2
= (wxSize
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 PyObject
* obj1
= 0 ;
17026 char *kwnames
[] = {
17027 (char *) "self",(char *) "m_size", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
17034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17035 if (arg1
) (arg1
)->m_size
= *arg2
;
17037 Py_INCREF(Py_None
); resultobj
= Py_None
;
17044 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17048 PyObject
* obj0
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "self", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
17054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17056 result
= (wxSize
*)& ((arg1
)->m_size
);
17058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17065 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17067 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17068 wxRect
*arg2
= (wxRect
*) 0 ;
17069 PyObject
* obj0
= 0 ;
17070 PyObject
* obj1
= 0 ;
17071 char *kwnames
[] = {
17072 (char *) "self",(char *) "m_rect", NULL
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17080 if (arg1
) (arg1
)->m_rect
= *arg2
;
17082 Py_INCREF(Py_None
); resultobj
= Py_None
;
17089 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17093 PyObject
* obj0
= 0 ;
17094 char *kwnames
[] = {
17095 (char *) "self", NULL
17098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17101 result
= (wxRect
*)& ((arg1
)->m_rect
);
17103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17110 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17113 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
17115 return Py_BuildValue((char *)"");
17117 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
17120 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
17121 int arg2
= (int) 0 ;
17122 wxMoveEvent
*result
;
17124 PyObject
* obj0
= 0 ;
17125 PyObject
* obj1
= 0 ;
17126 char *kwnames
[] = {
17127 (char *) "pos",(char *) "winid", NULL
17130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17134 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
17138 arg2
= (int)SWIG_As_int(obj1
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
17155 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17159 PyObject
* obj0
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17175 wxPoint
* resultptr
;
17176 resultptr
= new wxPoint((wxPoint
&) result
);
17177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17185 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17189 PyObject
* obj0
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "self", NULL
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
17195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17205 wxRect
* resultptr
;
17206 resultptr
= new wxRect((wxRect
&) result
);
17207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
17215 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17220 PyObject
* obj0
= 0 ;
17221 PyObject
* obj1
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self",(char *) "rect", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17229 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
17230 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17234 (arg1
)->SetRect(arg2
);
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17239 Py_INCREF(Py_None
); resultobj
= Py_None
;
17246 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17247 PyObject
*resultobj
;
17248 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 PyObject
* obj1
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self",(char *) "pos", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17260 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17261 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 wxMoveEvent_SetPosition(arg1
,arg2
);
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 Py_INCREF(Py_None
); resultobj
= Py_None
;
17277 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17280 wxPoint
*arg2
= (wxPoint
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "m_pos", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17292 if (arg1
) (arg1
)->m_pos
= *arg2
;
17294 Py_INCREF(Py_None
); resultobj
= Py_None
;
17301 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
;
17303 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17305 PyObject
* obj0
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self", NULL
17310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17313 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17322 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17324 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17325 wxRect
*arg2
= (wxRect
*) 0 ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self",(char *) "m_rect", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17337 if (arg1
) (arg1
)->m_rect
= *arg2
;
17339 Py_INCREF(Py_None
); resultobj
= Py_None
;
17346 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17350 PyObject
* obj0
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17358 result
= (wxRect
*)& ((arg1
)->m_rect
);
17360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17367 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17370 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17372 return Py_BuildValue((char *)"");
17374 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 int arg1
= (int) 0 ;
17377 wxPaintEvent
*result
;
17378 PyObject
* obj0
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "Id", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17385 arg1
= (int)SWIG_As_int(obj0
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17402 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17405 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17407 return Py_BuildValue((char *)"");
17409 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 int arg1
= (int) 0 ;
17412 wxNcPaintEvent
*result
;
17413 PyObject
* obj0
= 0 ;
17414 char *kwnames
[] = {
17415 (char *) "winid", NULL
17418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17420 arg1
= (int)SWIG_As_int(obj0
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17437 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17440 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17442 return Py_BuildValue((char *)"");
17444 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
;
17446 int arg1
= (int) 0 ;
17447 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17448 wxEraseEvent
*result
;
17449 PyObject
* obj0
= 0 ;
17450 PyObject
* obj1
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "Id",(char *) "dc", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17457 arg1
= (int)SWIG_As_int(obj0
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17478 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17482 PyObject
* obj0
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17498 resultobj
= wxPyMake_wxObject(result
, 0);
17506 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17509 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17511 return Py_BuildValue((char *)"");
17513 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17516 int arg2
= (int) 0 ;
17517 wxFocusEvent
*result
;
17518 PyObject
* obj0
= 0 ;
17519 PyObject
* obj1
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "type",(char *) "winid", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17526 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 arg2
= (int)SWIG_As_int(obj1
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17547 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17551 PyObject
* obj0
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "self", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= wxPyMake_wxObject(result
, 0);
17575 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17578 wxWindow
*arg2
= (wxWindow
*) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 PyObject
* obj1
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "self",(char *) "win", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 (arg1
)->SetWindow(arg2
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 Py_INCREF(Py_None
); resultobj
= Py_None
;
17604 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17607 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17609 return Py_BuildValue((char *)"");
17611 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17612 PyObject
*resultobj
;
17613 wxWindow
*arg1
= (wxWindow
*) NULL
;
17614 wxChildFocusEvent
*result
;
17615 PyObject
* obj0
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "win", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17639 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17641 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17643 PyObject
* obj0
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= wxPyMake_wxObject(result
, 0);
17667 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17670 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17672 return Py_BuildValue((char *)"");
17674 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17677 bool arg2
= (bool) true ;
17678 int arg3
= (int) 0 ;
17679 wxActivateEvent
*result
;
17680 PyObject
* obj0
= 0 ;
17681 PyObject
* obj1
= 0 ;
17682 PyObject
* obj2
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "type",(char *) "active",(char *) "Id", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17689 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17693 arg2
= (bool)SWIG_As_bool(obj1
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17697 arg3
= (int)SWIG_As_int(obj2
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17714 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17718 PyObject
* obj0
= 0 ;
17719 char *kwnames
[] = {
17720 (char *) "self", NULL
17723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17742 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17745 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17747 return Py_BuildValue((char *)"");
17749 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17750 PyObject
*resultobj
;
17751 int arg1
= (int) 0 ;
17752 wxInitDialogEvent
*result
;
17753 PyObject
* obj0
= 0 ;
17754 char *kwnames
[] = {
17755 (char *) "Id", NULL
17758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17760 arg1
= (int)SWIG_As_int(obj0
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17777 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17780 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17782 return Py_BuildValue((char *)"");
17784 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17787 int arg2
= (int) 0 ;
17788 wxMenu
*arg3
= (wxMenu
*) NULL
;
17789 wxMenuEvent
*result
;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 PyObject
* obj2
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "type",(char *) "winid",(char *) "menu", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17799 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17803 arg2
= (int)SWIG_As_int(obj1
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17807 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17824 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17828 PyObject
* obj0
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= SWIG_From_int((int)result
);
17850 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17878 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= wxPyMake_wxObject(result
, 0);
17906 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17909 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17911 return Py_BuildValue((char *)"");
17913 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17916 int arg2
= (int) 0 ;
17917 wxCloseEvent
*result
;
17918 PyObject
* obj0
= 0 ;
17919 PyObject
* obj1
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "type",(char *) "winid", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17926 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17930 arg2
= (int)SWIG_As_int(obj1
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17947 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self",(char *) "logOff", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17960 arg2
= (bool)SWIG_As_bool(obj1
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 (arg1
)->SetLoggingOff(arg2
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 Py_INCREF(Py_None
); resultobj
= Py_None
;
17976 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18004 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18007 bool arg2
= (bool) true ;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self",(char *) "veto", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18018 arg2
= (bool)SWIG_As_bool(obj1
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->Veto(arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 PyObject
* obj1
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "self",(char *) "canVeto", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
18046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18048 arg2
= (bool)SWIG_As_bool(obj1
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->SetCanVeto(arg2
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18064 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18068 PyObject
* obj0
= 0 ;
18069 char *kwnames
[] = {
18070 (char *) "self", NULL
18073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
18074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18092 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
;
18094 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18096 PyObject
* obj0
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "self", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
18102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18120 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
18122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18123 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
18125 return Py_BuildValue((char *)"");
18127 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 int arg1
= (int) 0 ;
18130 bool arg2
= (bool) false ;
18131 wxShowEvent
*result
;
18132 PyObject
* obj0
= 0 ;
18133 PyObject
* obj1
= 0 ;
18134 char *kwnames
[] = {
18135 (char *) "winid",(char *) "show", NULL
18138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18140 arg1
= (int)SWIG_As_int(obj0
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18144 arg2
= (bool)SWIG_As_bool(obj1
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
18161 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 PyObject
* obj1
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self",(char *) "show", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18174 arg2
= (bool)SWIG_As_bool(obj1
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 (arg1
)->SetShow(arg2
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 Py_INCREF(Py_None
); resultobj
= Py_None
;
18190 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 char *kwnames
[] = {
18196 (char *) "self", NULL
18199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
18200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18218 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
18220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18221 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
18223 return Py_BuildValue((char *)"");
18225 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 int arg1
= (int) 0 ;
18228 bool arg2
= (bool) true ;
18229 wxIconizeEvent
*result
;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "id",(char *) "iconized", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18238 arg1
= (int)SWIG_As_int(obj0
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 arg2
= (bool)SWIG_As_bool(obj1
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18259 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 result
= (bool)(arg1
)->Iconized();
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18287 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18290 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18292 return Py_BuildValue((char *)"");
18294 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 int arg1
= (int) 0 ;
18297 wxMaximizeEvent
*result
;
18298 PyObject
* obj0
= 0 ;
18299 char *kwnames
[] = {
18300 (char *) "id", NULL
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18305 arg1
= (int)SWIG_As_int(obj0
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18322 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18325 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18327 return Py_BuildValue((char *)"");
18329 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 result
= (arg1
)->GetPosition();
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18349 wxPoint
* resultptr
;
18350 resultptr
= new wxPoint((wxPoint
&) result
);
18351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18359 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (int)(arg1
)->GetNumberOfFiles();
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= SWIG_From_int((int)result
);
18385 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
;
18387 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18389 PyObject
* obj0
= 0 ;
18390 char *kwnames
[] = {
18391 (char *) "self", NULL
18394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= result
;
18411 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18414 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18416 return Py_BuildValue((char *)"");
18418 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 int arg1
= (int) 0 ;
18421 wxUpdateUIEvent
*result
;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "commandId", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18429 arg1
= (int)SWIG_As_int(obj0
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18446 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18474 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
;
18476 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18502 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18506 PyObject
* obj0
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18534 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18538 PyObject
* obj0
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18562 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18563 PyObject
*resultobj
;
18564 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18566 PyObject
* obj0
= 0 ;
18567 char *kwnames
[] = {
18568 (char *) "self", NULL
18571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18590 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
;
18592 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18594 PyObject
* obj0
= 0 ;
18595 char *kwnames
[] = {
18596 (char *) "self", NULL
18599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18618 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "self",(char *) "check", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18631 arg2
= (bool)SWIG_As_bool(obj1
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 (arg1
)->Check(arg2
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 Py_INCREF(Py_None
); resultobj
= Py_None
;
18647 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 PyObject
* obj1
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self",(char *) "enable", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18660 arg2
= (bool)SWIG_As_bool(obj1
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 (arg1
)->Enable(arg2
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 Py_INCREF(Py_None
); resultobj
= Py_None
;
18676 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18679 wxString
*arg2
= 0 ;
18680 bool temp2
= false ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self",(char *) "text", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18691 arg2
= wxString_in_helper(obj1
);
18692 if (arg2
== NULL
) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 (arg1
)->SetText((wxString
const &)*arg2
);
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 Py_INCREF(Py_None
); resultobj
= Py_None
;
18717 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18720 PyObject
* obj0
= 0 ;
18721 char *kwnames
[] = {
18722 (char *) "updateInterval", NULL
18725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18726 arg1
= (long)SWIG_As_long(obj0
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18732 wxPyEndAllowThreads(__tstate
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18735 Py_INCREF(Py_None
); resultobj
= Py_None
;
18742 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18743 PyObject
*resultobj
;
18745 char *kwnames
[] = {
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= SWIG_From_long((long)result
);
18764 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxWindow
*arg1
= (wxWindow
*) 0 ;
18768 PyObject
* obj0
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "win", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18792 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
;
18794 char *kwnames
[] = {
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 wxUpdateUIEvent::ResetUpdateTime();
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 Py_INCREF(Py_None
); resultobj
= Py_None
;
18813 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18816 PyObject
* obj0
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "mode", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18822 arg1
= (int)SWIG_As_int(obj0
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 Py_INCREF(Py_None
); resultobj
= Py_None
;
18838 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18841 char *kwnames
[] = {
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 result
= (int)wxUpdateUIEvent::GetMode();
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= SWIG_From_int((int)result
);
18860 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18863 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18865 return Py_BuildValue((char *)"");
18867 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxSysColourChangedEvent
*result
;
18870 char *kwnames
[] = {
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18889 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18892 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18894 return Py_BuildValue((char *)"");
18896 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 int arg1
= (int) 0 ;
18899 wxWindow
*arg2
= (wxWindow
*) NULL
;
18900 wxMouseCaptureChangedEvent
*result
;
18901 PyObject
* obj0
= 0 ;
18902 PyObject
* obj1
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "winid",(char *) "gainedCapture", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18909 arg1
= (int)SWIG_As_int(obj0
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18930 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18934 PyObject
* obj0
= 0 ;
18935 char *kwnames
[] = {
18936 (char *) "self", NULL
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18950 resultobj
= wxPyMake_wxObject(result
, 0);
18958 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18961 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18963 return Py_BuildValue((char *)"");
18965 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
;
18967 wxDisplayChangedEvent
*result
;
18968 char *kwnames
[] = {
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18977 wxPyEndAllowThreads(__tstate
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18987 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18990 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18992 return Py_BuildValue((char *)"");
18994 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 int arg1
= (int) 0 ;
18997 wxPaletteChangedEvent
*result
;
18998 PyObject
* obj0
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "id", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
19005 arg1
= (int)SWIG_As_int(obj0
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
19022 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
19025 wxWindow
*arg2
= (wxWindow
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 PyObject
* obj1
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "self",(char *) "win", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
19034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 (arg1
)->SetChangedWindow(arg2
);
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19044 Py_INCREF(Py_None
); resultobj
= Py_None
;
19051 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
19062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= wxPyMake_wxObject(result
, 0);
19079 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
19081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19082 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
19084 return Py_BuildValue((char *)"");
19086 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 int arg1
= (int) 0 ;
19089 wxQueryNewPaletteEvent
*result
;
19090 PyObject
* obj0
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "winid", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
19097 arg1
= (int)SWIG_As_int(obj0
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
19114 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 PyObject
* obj1
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "self",(char *) "realized", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
19125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19127 arg2
= (bool)SWIG_As_bool(obj1
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 (arg1
)->SetPaletteRealized(arg2
);
19133 wxPyEndAllowThreads(__tstate
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19136 Py_INCREF(Py_None
); resultobj
= Py_None
;
19143 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
;
19145 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19147 PyObject
* obj0
= 0 ;
19148 char *kwnames
[] = {
19149 (char *) "self", NULL
19152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
19153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19171 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
19173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19174 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
19176 return Py_BuildValue((char *)"");
19178 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxNavigationKeyEvent
*result
;
19181 char *kwnames
[] = {
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
19200 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
;
19202 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19204 PyObject
* obj0
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19228 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "forward", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19241 arg2
= (bool)SWIG_As_bool(obj1
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 (arg1
)->SetDirection(arg2
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 Py_INCREF(Py_None
); resultobj
= Py_None
;
19257 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19261 PyObject
* obj0
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19285 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 PyObject
* obj1
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self",(char *) "ischange", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19298 arg2
= (bool)SWIG_As_bool(obj1
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->SetWindowChange(arg2
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 Py_INCREF(Py_None
); resultobj
= Py_None
;
19314 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 PyObject
* obj1
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self",(char *) "flags", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19327 arg2
= (long)SWIG_As_long(obj1
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 (arg1
)->SetFlags(arg2
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 Py_INCREF(Py_None
); resultobj
= Py_None
;
19343 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
;
19345 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19347 PyObject
* obj0
= 0 ;
19348 char *kwnames
[] = {
19349 (char *) "self", NULL
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19363 resultobj
= wxPyMake_wxObject(result
, 0);
19371 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19374 wxWindow
*arg2
= (wxWindow
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 PyObject
* obj1
= 0 ;
19377 char *kwnames
[] = {
19378 (char *) "self",(char *) "win", NULL
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 (arg1
)->SetCurrentFocus(arg2
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 Py_INCREF(Py_None
); resultobj
= Py_None
;
19400 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19403 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19405 return Py_BuildValue((char *)"");
19407 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxWindow
*arg1
= (wxWindow
*) NULL
;
19410 wxWindowCreateEvent
*result
;
19411 PyObject
* obj0
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "win", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19435 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
;
19437 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19439 PyObject
* obj0
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= wxPyMake_wxObject(result
, 0);
19463 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19466 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19468 return Py_BuildValue((char *)"");
19470 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxWindow
*arg1
= (wxWindow
*) NULL
;
19473 wxWindowDestroyEvent
*result
;
19474 PyObject
* obj0
= 0 ;
19475 char *kwnames
[] = {
19476 (char *) "win", NULL
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19498 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
;
19500 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19502 PyObject
* obj0
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= wxPyMake_wxObject(result
, 0);
19526 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19529 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19531 return Py_BuildValue((char *)"");
19533 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19536 int arg2
= (int) 0 ;
19537 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19538 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19539 wxContextMenuEvent
*result
;
19541 PyObject
* obj0
= 0 ;
19542 PyObject
* obj1
= 0 ;
19543 PyObject
* obj2
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "type",(char *) "winid",(char *) "pt", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19550 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19554 arg2
= (int)SWIG_As_int(obj1
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19577 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
;
19579 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19581 PyObject
* obj0
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19593 result
= (wxPoint
*) &_result_ref
;
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19606 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
;
19608 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19609 wxPoint
*arg2
= 0 ;
19611 PyObject
* obj0
= 0 ;
19612 PyObject
* obj1
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self",(char *) "pos", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 Py_INCREF(Py_None
); resultobj
= Py_None
;
19638 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19641 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19643 return Py_BuildValue((char *)"");
19645 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxIdleEvent
*result
;
19648 char *kwnames
[] = {
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 result
= (wxIdleEvent
*)new wxIdleEvent();
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19667 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19670 bool arg2
= (bool) true ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "self",(char *) "needMore", NULL
19677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19681 arg2
= (bool)SWIG_As_bool(obj1
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 (arg1
)->RequestMore(arg2
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 Py_INCREF(Py_None
); resultobj
= Py_None
;
19698 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19702 PyObject
* obj0
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19726 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "mode", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19735 arg1
= (int)SWIG_As_int(obj0
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 Py_INCREF(Py_None
); resultobj
= Py_None
;
19751 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19754 char *kwnames
[] = {
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= (int)wxIdleEvent::GetMode();
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_From_int((int)result
);
19773 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxWindow
*arg1
= (wxWindow
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "win", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= (bool)wxIdleEvent::CanSend(arg1
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19801 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19804 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19806 return Py_BuildValue((char *)"");
19808 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 int arg1
= (int) 0 ;
19811 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 char *kwnames
[] = {
19816 (char *) "winid",(char *) "commandType", NULL
19819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19821 arg1
= (int)SWIG_As_int(obj0
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19825 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19842 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
;
19844 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 char *kwnames
[] = {
19847 (char *) "self", NULL
19850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 Py_INCREF(Py_None
); resultobj
= Py_None
;
19867 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
;
19869 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19870 PyObject
*arg2
= (PyObject
*) 0 ;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19873 char *kwnames
[] = {
19874 (char *) "self",(char *) "self", NULL
19877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 (arg1
)->SetSelf(arg2
);
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 Py_INCREF(Py_None
); resultobj
= Py_None
;
19895 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
;
19897 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19899 PyObject
* obj0
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 result
= (PyObject
*)(arg1
)->GetSelf();
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= result
;
19921 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19924 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19926 return Py_BuildValue((char *)"");
19928 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
;
19930 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19931 int arg2
= (int) 0 ;
19932 wxPyCommandEvent
*result
;
19933 PyObject
* obj0
= 0 ;
19934 PyObject
* obj1
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "commandType",(char *) "id", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19941 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19945 arg2
= (int)SWIG_As_int(obj1
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19962 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 Py_INCREF(Py_None
); resultobj
= Py_None
;
19987 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
;
19989 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19990 PyObject
*arg2
= (PyObject
*) 0 ;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 char *kwnames
[] = {
19994 (char *) "self",(char *) "self", NULL
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 (arg1
)->SetSelf(arg2
);
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 Py_INCREF(Py_None
); resultobj
= Py_None
;
20015 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
;
20017 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
20019 PyObject
* obj0
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "self", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
20025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
20026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 result
= (PyObject
*)(arg1
)->GetSelf();
20031 wxPyEndAllowThreads(__tstate
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20034 resultobj
= result
;
20041 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
20043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20044 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
20046 return Py_BuildValue((char *)"");
20048 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20051 char *kwnames
[] = {
20055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 result
= (wxPyApp
*)new_wxPyApp();
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
20070 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20073 PyObject
* obj0
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 Py_INCREF(Py_None
); resultobj
= Py_None
;
20095 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20098 PyObject
*arg2
= (PyObject
*) 0 ;
20099 PyObject
*arg3
= (PyObject
*) 0 ;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 PyObject
* obj2
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self",(char *) "self",(char *) "_class", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20119 Py_INCREF(Py_None
); resultobj
= Py_None
;
20126 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
;
20128 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20130 PyObject
* obj0
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "self", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
20136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 result
= ((wxPyApp
const *)arg1
)->GetAppName();
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20158 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20161 wxString
*arg2
= 0 ;
20162 bool temp2
= false ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "name", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20173 arg2
= wxString_in_helper(obj1
);
20174 if (arg2
== NULL
) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 (arg1
)->SetAppName((wxString
const &)*arg2
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 Py_INCREF(Py_None
); resultobj
= Py_None
;
20199 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
;
20201 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20203 PyObject
* obj0
= 0 ;
20204 char *kwnames
[] = {
20205 (char *) "self", NULL
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
20209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 result
= ((wxPyApp
const *)arg1
)->GetClassName();
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20231 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20234 wxString
*arg2
= 0 ;
20235 bool temp2
= false ;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self",(char *) "name", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 arg2
= wxString_in_helper(obj1
);
20247 if (arg2
== NULL
) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 (arg1
)->SetClassName((wxString
const &)*arg2
);
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20257 Py_INCREF(Py_None
); resultobj
= Py_None
;
20272 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20276 PyObject
* obj0
= 0 ;
20277 char *kwnames
[] = {
20278 (char *) "self", NULL
20281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20288 result
= (wxString
*) &_result_ref
;
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20298 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20307 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20310 wxString
*arg2
= 0 ;
20311 bool temp2
= false ;
20312 PyObject
* obj0
= 0 ;
20313 PyObject
* obj1
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self",(char *) "name", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20322 arg2
= wxString_in_helper(obj1
);
20323 if (arg2
== NULL
) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 Py_INCREF(Py_None
); resultobj
= Py_None
;
20348 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20351 wxAppTraits
*result
;
20352 PyObject
* obj0
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20374 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 (arg1
)->ProcessPendingEvents();
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 Py_INCREF(Py_None
); resultobj
= Py_None
;
20399 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20402 bool arg2
= (bool) false ;
20404 PyObject
* obj0
= 0 ;
20405 PyObject
* obj1
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self",(char *) "onlyIfNeeded", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20414 arg2
= (bool)SWIG_As_bool(obj1
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= (bool)(arg1
)->Yield(arg2
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20433 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "self", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 (arg1
)->WakeUpIdle();
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 Py_INCREF(Py_None
); resultobj
= Py_None
;
20458 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20461 char *kwnames
[] = {
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20468 result
= (bool)wxPyApp::IsMainLoopRunning();
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20482 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20483 PyObject
*resultobj
;
20484 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20486 PyObject
* obj0
= 0 ;
20487 char *kwnames
[] = {
20488 (char *) "self", NULL
20491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (int)(arg1
)->MainLoop();
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= SWIG_From_int((int)result
);
20508 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20510 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 char *kwnames
[] = {
20513 (char *) "self", NULL
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 Py_INCREF(Py_None
); resultobj
= Py_None
;
20533 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 (arg1
)->ExitMainLoop();
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 Py_INCREF(Py_None
); resultobj
= Py_None
;
20558 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
;
20560 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20562 PyObject
* obj0
= 0 ;
20563 char *kwnames
[] = {
20564 (char *) "self", NULL
20567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 result
= (bool)(arg1
)->Pending();
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20586 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
;
20588 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20590 PyObject
* obj0
= 0 ;
20591 char *kwnames
[] = {
20592 (char *) "self", NULL
20595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 result
= (bool)(arg1
)->Dispatch();
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20614 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20616 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20618 PyObject
* obj0
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 result
= (bool)(arg1
)->ProcessIdle();
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20642 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20645 wxWindow
*arg2
= (wxWindow
*) 0 ;
20646 wxIdleEvent
*arg3
= 0 ;
20648 PyObject
* obj0
= 0 ;
20649 PyObject
* obj1
= 0 ;
20650 PyObject
* obj2
= 0 ;
20651 char *kwnames
[] = {
20652 (char *) "self",(char *) "win",(char *) "event", NULL
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20660 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20663 if (arg3
== NULL
) {
20664 PyErr_SetString(PyExc_TypeError
,"null reference");
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20683 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
;
20685 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20687 PyObject
* obj0
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "self", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20711 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20712 PyObject
*resultobj
;
20713 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20714 wxWindow
*arg2
= (wxWindow
*) 0 ;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20717 char *kwnames
[] = {
20718 (char *) "self",(char *) "win", NULL
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 (arg1
)->SetTopWindow(arg2
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 Py_INCREF(Py_None
); resultobj
= Py_None
;
20740 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
;
20742 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20744 PyObject
* obj0
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20760 resultobj
= wxPyMake_wxObject(result
, 0);
20768 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20772 PyObject
* obj0
= 0 ;
20773 PyObject
* obj1
= 0 ;
20774 char *kwnames
[] = {
20775 (char *) "self",(char *) "flag", NULL
20778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20781 arg2
= (bool)SWIG_As_bool(obj1
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 (arg1
)->SetExitOnFrameDelete(arg2
);
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 Py_INCREF(Py_None
); resultobj
= Py_None
;
20797 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20798 PyObject
*resultobj
;
20799 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20801 PyObject
* obj0
= 0 ;
20802 char *kwnames
[] = {
20803 (char *) "self", NULL
20806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20825 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
;
20827 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20829 PyObject
* obj0
= 0 ;
20830 PyObject
* obj1
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self",(char *) "flag", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20838 arg2
= (bool)SWIG_As_bool(obj1
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 (arg1
)->SetUseBestVisual(arg2
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 Py_INCREF(Py_None
); resultobj
= Py_None
;
20854 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20882 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20886 PyObject
* obj0
= 0 ;
20887 PyObject
* obj1
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "self",(char *) "mode", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20895 arg2
= (int)SWIG_As_int(obj1
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 (arg1
)->SetPrintMode(arg2
);
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 Py_INCREF(Py_None
); resultobj
= Py_None
;
20911 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20915 PyObject
* obj0
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_From_int((int)result
);
20937 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
;
20939 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20941 PyObject
* obj0
= 0 ;
20942 PyObject
* obj1
= 0 ;
20943 char *kwnames
[] = {
20944 (char *) "self",(char *) "mode", NULL
20947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20950 arg2
= (int)SWIG_As_int(obj1
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 (arg1
)->SetAssertMode(arg2
);
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 Py_INCREF(Py_None
); resultobj
= Py_None
;
20966 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20968 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20970 PyObject
* obj0
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (int)(arg1
)->GetAssertMode();
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= SWIG_From_int((int)result
);
20992 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20995 char *kwnames
[] = {
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21016 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21019 char *kwnames
[] = {
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 result
= (long)wxPyApp::GetMacAboutMenuItemId();
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= SWIG_From_long((long)result
);
21038 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
;
21041 char *kwnames
[] = {
21045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
21047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21053 resultobj
= SWIG_From_long((long)result
);
21060 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21063 char *kwnames
[] = {
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (long)wxPyApp::GetMacExitMenuItemId();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_From_long((long)result
);
21082 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21085 char *kwnames
[] = {
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= wxPyApp::GetMacHelpMenuTitleName();
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21110 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21113 PyObject
* obj0
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "val", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
21119 arg1
= (bool)SWIG_As_bool(obj0
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 Py_INCREF(Py_None
); resultobj
= Py_None
;
21135 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "val", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
21144 arg1
= (long)SWIG_As_long(obj0
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 wxPyApp::SetMacAboutMenuItemId(arg1
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 Py_INCREF(Py_None
); resultobj
= Py_None
;
21160 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21163 PyObject
* obj0
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "val", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
21169 arg1
= (long)SWIG_As_long(obj0
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 Py_INCREF(Py_None
); resultobj
= Py_None
;
21185 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21188 PyObject
* obj0
= 0 ;
21189 char *kwnames
[] = {
21190 (char *) "val", NULL
21193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
21194 arg1
= (long)SWIG_As_long(obj0
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 wxPyApp::SetMacExitMenuItemId(arg1
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 Py_INCREF(Py_None
); resultobj
= Py_None
;
21210 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
;
21212 wxString
*arg1
= 0 ;
21213 bool temp1
= false ;
21214 PyObject
* obj0
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "val", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
21221 arg1
= wxString_in_helper(obj0
);
21222 if (arg1
== NULL
) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 Py_INCREF(Py_None
); resultobj
= Py_None
;
21247 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21249 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21250 PyObject
* obj0
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 (arg1
)->_BootstrapApp();
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 Py_INCREF(Py_None
); resultobj
= Py_None
;
21272 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21275 char *kwnames
[] = {
21279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 result
= (int)wxPyApp::GetComCtl32Version();
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 resultobj
= SWIG_From_int((int)result
);
21294 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21297 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21299 return Py_BuildValue((char *)"");
21301 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 char *kwnames
[] = {
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 Py_INCREF(Py_None
); resultobj
= Py_None
;
21322 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21325 char *kwnames
[] = {
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= (bool)wxYield();
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21346 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21349 char *kwnames
[] = {
21353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (bool)wxYieldIfNeeded();
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21370 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 wxWindow
*arg1
= (wxWindow
*) NULL
;
21373 bool arg2
= (bool) false ;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "win",(char *) "onlyIfNeeded", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21387 arg2
= (bool)SWIG_As_bool(obj1
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= (bool)wxSafeYield(arg1
,arg2
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21406 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 char *kwnames
[] = {
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 Py_INCREF(Py_None
); resultobj
= Py_None
;
21427 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21430 wxEvent
*arg2
= 0 ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "dest",(char *) "event", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21443 if (arg2
== NULL
) {
21444 PyErr_SetString(PyExc_TypeError
,"null reference");
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 wxPostEvent(arg1
,*arg2
);
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 Py_INCREF(Py_None
); resultobj
= Py_None
;
21461 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 char *kwnames
[] = {
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 Py_INCREF(Py_None
); resultobj
= Py_None
;
21482 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21485 char *kwnames
[] = {
21489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 result
= (wxPyApp
*)wxPyGetApp();
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= wxPyMake_wxObject(result
, 0);
21506 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21509 PyObject
* obj0
= 0 ;
21510 char *kwnames
[] = {
21511 (char *) "encoding", NULL
21514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
21515 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 wxSetDefaultPyEncoding((char const *)arg1
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 Py_INCREF(Py_None
); resultobj
= Py_None
;
21530 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21533 char *kwnames
[] = {
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (char *)wxGetDefaultPyEncoding();
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 resultobj
= SWIG_FromCharPtr(result
);
21552 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
;
21554 wxEventLoop
*result
;
21555 char *kwnames
[] = {
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 result
= (wxEventLoop
*)new wxEventLoop();
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21574 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 Py_INCREF(Py_None
); resultobj
= Py_None
;
21599 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (int)(arg1
)->Run();
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21618 resultobj
= SWIG_From_int((int)result
);
21625 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21628 int arg2
= (int) 0 ;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 char *kwnames
[] = {
21632 (char *) "self",(char *) "rc", NULL
21635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21639 arg2
= (int)SWIG_As_int(obj1
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 (arg1
)->Exit(arg2
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 Py_INCREF(Py_None
); resultobj
= Py_None
;
21656 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21684 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21686 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 char *kwnames
[] = {
21690 (char *) "self", NULL
21693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= (bool)(arg1
)->Dispatch();
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21712 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21716 PyObject
* obj0
= 0 ;
21717 char *kwnames
[] = {
21718 (char *) "self", NULL
21721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21740 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxEventLoop
*result
;
21743 char *kwnames
[] = {
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21762 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
;
21764 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21765 PyObject
* obj0
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "loop", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 wxEventLoop::SetActive(arg1
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 Py_INCREF(Py_None
); resultobj
= Py_None
;
21787 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21790 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21792 return Py_BuildValue((char *)"");
21794 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
;
21796 int arg1
= (int) 0 ;
21797 int arg2
= (int) 0 ;
21798 int arg3
= (int) 0 ;
21799 wxAcceleratorEntry
*result
;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 PyObject
* obj2
= 0 ;
21803 char *kwnames
[] = {
21804 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21809 arg1
= (int)SWIG_As_int(obj0
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21813 arg2
= (int)SWIG_As_int(obj1
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21817 arg3
= (int)SWIG_As_int(obj2
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21834 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21837 PyObject
* obj0
= 0 ;
21838 char *kwnames
[] = {
21839 (char *) "self", NULL
21842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 Py_INCREF(Py_None
); resultobj
= Py_None
;
21859 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21861 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21865 PyObject
* obj0
= 0 ;
21866 PyObject
* obj1
= 0 ;
21867 PyObject
* obj2
= 0 ;
21868 PyObject
* obj3
= 0 ;
21869 char *kwnames
[] = {
21870 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21876 arg2
= (int)SWIG_As_int(obj1
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21878 arg3
= (int)SWIG_As_int(obj2
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21880 arg4
= (int)SWIG_As_int(obj3
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 (arg1
)->Set(arg2
,arg3
,arg4
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 Py_INCREF(Py_None
); resultobj
= Py_None
;
21896 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
;
21898 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21900 PyObject
* obj0
= 0 ;
21901 char *kwnames
[] = {
21902 (char *) "self", NULL
21905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (int)(arg1
)->GetFlags();
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= SWIG_From_int((int)result
);
21922 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
;
21924 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21926 PyObject
* obj0
= 0 ;
21927 char *kwnames
[] = {
21928 (char *) "self", NULL
21931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (int)(arg1
)->GetKeyCode();
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_From_int((int)result
);
21948 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21952 PyObject
* obj0
= 0 ;
21953 char *kwnames
[] = {
21954 (char *) "self", NULL
21957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (int)(arg1
)->GetCommand();
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= SWIG_From_int((int)result
);
21974 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21977 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21979 return Py_BuildValue((char *)"");
21981 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
;
21984 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21985 wxAcceleratorTable
*result
;
21986 PyObject
* obj0
= 0 ;
21987 char *kwnames
[] = {
21991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21993 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21994 if (arg2
) arg1
= PyList_Size(obj0
);
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
22017 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22019 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
22026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
22027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 Py_INCREF(Py_None
); resultobj
= Py_None
;
22042 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
22046 PyObject
* obj0
= 0 ;
22047 char *kwnames
[] = {
22048 (char *) "self", NULL
22051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
22052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
22053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22070 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
22072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22073 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
22075 return Py_BuildValue((char *)"");
22077 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
22078 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
22083 static PyObject
*_wrap_NullAcceleratorTable_get() {
22086 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
22091 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
;
22093 wxString
*arg1
= 0 ;
22094 wxAcceleratorEntry
*result
;
22095 bool temp1
= false ;
22096 PyObject
* obj0
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "label", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
22103 arg1
= wxString_in_helper(obj0
);
22104 if (arg1
== NULL
) SWIG_fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
22129 static int _wrap_PanelNameStr_set(PyObject
*) {
22130 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
22135 static PyObject
*_wrap_PanelNameStr_get() {
22140 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22142 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22149 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxVisualAttributes
*result
;
22152 char *kwnames
[] = {
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
22171 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
;
22173 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22174 PyObject
* obj0
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 delete_wxVisualAttributes(arg1
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 Py_INCREF(Py_None
); resultobj
= Py_None
;
22196 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22197 PyObject
*resultobj
;
22198 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22199 wxFont
*arg2
= (wxFont
*) 0 ;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self",(char *) "font", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
22210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22211 if (arg1
) (arg1
)->font
= *arg2
;
22213 Py_INCREF(Py_None
); resultobj
= Py_None
;
22220 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22224 PyObject
* obj0
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
22230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22232 result
= (wxFont
*)& ((arg1
)->font
);
22234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
22241 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
;
22243 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22244 wxColour
*arg2
= (wxColour
*) 0 ;
22245 PyObject
* obj0
= 0 ;
22246 PyObject
* obj1
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self",(char *) "colFg", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22256 if (arg1
) (arg1
)->colFg
= *arg2
;
22258 Py_INCREF(Py_None
); resultobj
= Py_None
;
22265 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22269 PyObject
* obj0
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22277 result
= (wxColour
*)& ((arg1
)->colFg
);
22279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22286 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22289 wxColour
*arg2
= (wxColour
*) 0 ;
22290 PyObject
* obj0
= 0 ;
22291 PyObject
* obj1
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self",(char *) "colBg", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22301 if (arg1
) (arg1
)->colBg
= *arg2
;
22303 Py_INCREF(Py_None
); resultobj
= Py_None
;
22310 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22311 PyObject
*resultobj
;
22312 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22314 PyObject
* obj0
= 0 ;
22315 char *kwnames
[] = {
22316 (char *) "self", NULL
22319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22322 result
= (wxColour
*)& ((arg1
)->colBg
);
22324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22331 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22334 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22336 return Py_BuildValue((char *)"");
22338 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxWindow
*arg1
= (wxWindow
*) 0 ;
22341 int arg2
= (int) (int)-1 ;
22342 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22343 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22344 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22345 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22346 long arg5
= (long) 0 ;
22347 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22348 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22352 bool temp6
= false ;
22353 PyObject
* obj0
= 0 ;
22354 PyObject
* obj1
= 0 ;
22355 PyObject
* obj2
= 0 ;
22356 PyObject
* obj3
= 0 ;
22357 PyObject
* obj4
= 0 ;
22358 PyObject
* obj5
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 arg2
= (int)SWIG_As_int(obj1
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22373 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22379 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22383 arg5
= (long)SWIG_As_long(obj4
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22388 arg6
= wxString_in_helper(obj5
);
22389 if (arg6
== NULL
) SWIG_fail
;
22394 if (!wxPyCheckForApp()) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22416 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22419 char *kwnames
[] = {
22423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22425 if (!wxPyCheckForApp()) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= (wxWindow
*)new wxWindow();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22439 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxWindow
*arg1
= (wxWindow
*) 0 ;
22442 wxWindow
*arg2
= (wxWindow
*) 0 ;
22443 int arg3
= (int) (int)-1 ;
22444 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22445 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22446 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22447 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22448 long arg6
= (long) 0 ;
22449 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22450 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22454 bool temp7
= false ;
22455 PyObject
* obj0
= 0 ;
22456 PyObject
* obj1
= 0 ;
22457 PyObject
* obj2
= 0 ;
22458 PyObject
* obj3
= 0 ;
22459 PyObject
* obj4
= 0 ;
22460 PyObject
* obj5
= 0 ;
22461 PyObject
* obj6
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22472 arg3
= (int)SWIG_As_int(obj2
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22478 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22484 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22488 arg6
= (long)SWIG_As_long(obj5
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22493 arg7
= wxString_in_helper(obj6
);
22494 if (arg7
== NULL
) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22522 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxWindow
*arg1
= (wxWindow
*) 0 ;
22525 bool arg2
= (bool) false ;
22527 PyObject
* obj0
= 0 ;
22528 PyObject
* obj1
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self",(char *) "force", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22537 arg2
= (bool)SWIG_As_bool(obj1
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (bool)(arg1
)->Close(arg2
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22556 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxWindow
*arg1
= (wxWindow
*) 0 ;
22560 PyObject
* obj0
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 result
= (bool)(arg1
)->Destroy();
22572 wxPyEndAllowThreads(__tstate
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22584 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxWindow
*arg1
= (wxWindow
*) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 char *kwnames
[] = {
22590 (char *) "self", NULL
22593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 result
= (bool)(arg1
)->DestroyChildren();
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22612 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxWindow
*arg1
= (wxWindow
*) 0 ;
22616 PyObject
* obj0
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22640 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxWindow
*arg1
= (wxWindow
*) 0 ;
22643 wxString
*arg2
= 0 ;
22644 bool temp2
= false ;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self",(char *) "title", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22655 arg2
= wxString_in_helper(obj1
);
22656 if (arg2
== NULL
) SWIG_fail
;
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 (arg1
)->SetTitle((wxString
const &)*arg2
);
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 Py_INCREF(Py_None
); resultobj
= Py_None
;
22681 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22683 wxWindow
*arg1
= (wxWindow
*) 0 ;
22685 PyObject
* obj0
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "self", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= ((wxWindow
const *)arg1
)->GetTitle();
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22713 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
;
22715 wxWindow
*arg1
= (wxWindow
*) 0 ;
22716 wxString
*arg2
= 0 ;
22717 bool temp2
= false ;
22718 PyObject
* obj0
= 0 ;
22719 PyObject
* obj1
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self",(char *) "label", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22728 arg2
= wxString_in_helper(obj1
);
22729 if (arg2
== NULL
) SWIG_fail
;
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22734 (arg1
)->SetLabel((wxString
const &)*arg2
);
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 Py_INCREF(Py_None
); resultobj
= Py_None
;
22754 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22755 PyObject
*resultobj
;
22756 wxWindow
*arg1
= (wxWindow
*) 0 ;
22758 PyObject
* obj0
= 0 ;
22759 char *kwnames
[] = {
22760 (char *) "self", NULL
22763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 result
= ((wxWindow
const *)arg1
)->GetLabel();
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22786 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
;
22788 wxWindow
*arg1
= (wxWindow
*) 0 ;
22789 wxString
*arg2
= 0 ;
22790 bool temp2
= false ;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self",(char *) "name", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22801 arg2
= wxString_in_helper(obj1
);
22802 if (arg2
== NULL
) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 (arg1
)->SetName((wxString
const &)*arg2
);
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 Py_INCREF(Py_None
); resultobj
= Py_None
;
22827 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
;
22829 wxWindow
*arg1
= (wxWindow
*) 0 ;
22831 PyObject
* obj0
= 0 ;
22832 char *kwnames
[] = {
22833 (char *) "self", NULL
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 result
= ((wxWindow
const *)arg1
)->GetName();
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22859 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
;
22861 wxWindow
*arg1
= (wxWindow
*) 0 ;
22863 PyObject
* obj0
= 0 ;
22864 PyObject
* obj1
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self",(char *) "variant", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22872 arg2
= (int)SWIG_As_int(obj1
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 Py_INCREF(Py_None
); resultobj
= Py_None
;
22888 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
;
22890 wxWindow
*arg1
= (wxWindow
*) 0 ;
22892 PyObject
* obj0
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= SWIG_From_int((int)result
);
22914 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxWindow
*arg1
= (wxWindow
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self",(char *) "winid", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22927 arg2
= (int)SWIG_As_int(obj1
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 (arg1
)->SetId(arg2
);
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 Py_INCREF(Py_None
); resultobj
= Py_None
;
22943 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
;
22945 wxWindow
*arg1
= (wxWindow
*) 0 ;
22947 PyObject
* obj0
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "self", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 result
= (int)((wxWindow
const *)arg1
)->GetId();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_From_int((int)result
);
22969 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22972 char *kwnames
[] = {
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 result
= (int)wxWindow::NewControlId();
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 resultobj
= SWIG_From_int((int)result
);
22991 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22995 PyObject
* obj0
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "winid", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
23001 arg1
= (int)SWIG_As_int(obj0
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (int)wxWindow::NextControlId(arg1
);
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_From_int((int)result
);
23017 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23018 PyObject
*resultobj
;
23021 PyObject
* obj0
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "winid", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
23027 arg1
= (int)SWIG_As_int(obj0
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (int)wxWindow::PrevControlId(arg1
);
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_From_int((int)result
);
23043 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxWindow
*arg1
= (wxWindow
*) 0 ;
23048 PyObject
* obj0
= 0 ;
23049 PyObject
* obj1
= 0 ;
23050 char *kwnames
[] = {
23051 (char *) "self",(char *) "size", NULL
23054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23059 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 (arg1
)->SetSize((wxSize
const &)*arg2
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 Py_INCREF(Py_None
); resultobj
= Py_None
;
23075 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23077 wxWindow
*arg1
= (wxWindow
*) 0 ;
23082 int arg6
= (int) wxSIZE_AUTO
;
23083 PyObject
* obj0
= 0 ;
23084 PyObject
* obj1
= 0 ;
23085 PyObject
* obj2
= 0 ;
23086 PyObject
* obj3
= 0 ;
23087 PyObject
* obj4
= 0 ;
23088 PyObject
* obj5
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23096 arg2
= (int)SWIG_As_int(obj1
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23098 arg3
= (int)SWIG_As_int(obj2
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23100 arg4
= (int)SWIG_As_int(obj3
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23102 arg5
= (int)SWIG_As_int(obj4
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 arg6
= (int)SWIG_As_int(obj5
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 Py_INCREF(Py_None
); resultobj
= Py_None
;
23122 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxWindow
*arg1
= (wxWindow
*) 0 ;
23126 int arg3
= (int) wxSIZE_AUTO
;
23128 PyObject
* obj0
= 0 ;
23129 PyObject
* obj1
= 0 ;
23130 PyObject
* obj2
= 0 ;
23131 char *kwnames
[] = {
23132 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
23135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23140 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23143 arg3
= (int)SWIG_As_int(obj2
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 Py_INCREF(Py_None
); resultobj
= Py_None
;
23160 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23162 wxWindow
*arg1
= (wxWindow
*) 0 ;
23165 PyObject
* obj0
= 0 ;
23166 PyObject
* obj1
= 0 ;
23167 PyObject
* obj2
= 0 ;
23168 char *kwnames
[] = {
23169 (char *) "self",(char *) "width",(char *) "height", NULL
23172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23175 arg2
= (int)SWIG_As_int(obj1
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23177 arg3
= (int)SWIG_As_int(obj2
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 (arg1
)->SetSize(arg2
,arg3
);
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23186 Py_INCREF(Py_None
); resultobj
= Py_None
;
23193 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
;
23195 wxWindow
*arg1
= (wxWindow
*) 0 ;
23196 wxPoint
*arg2
= 0 ;
23197 int arg3
= (int) wxSIZE_USE_EXISTING
;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 PyObject
* obj2
= 0 ;
23202 char *kwnames
[] = {
23203 (char *) "self",(char *) "pt",(char *) "flags", NULL
23206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23211 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23214 arg3
= (int)SWIG_As_int(obj2
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23224 Py_INCREF(Py_None
); resultobj
= Py_None
;
23231 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
;
23233 wxWindow
*arg1
= (wxWindow
*) 0 ;
23236 int arg4
= (int) wxSIZE_USE_EXISTING
;
23237 PyObject
* obj0
= 0 ;
23238 PyObject
* obj1
= 0 ;
23239 PyObject
* obj2
= 0 ;
23240 PyObject
* obj3
= 0 ;
23241 char *kwnames
[] = {
23242 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23248 arg2
= (int)SWIG_As_int(obj1
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23250 arg3
= (int)SWIG_As_int(obj2
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 arg4
= (int)SWIG_As_int(obj3
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 (arg1
)->Move(arg2
,arg3
,arg4
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 Py_INCREF(Py_None
); resultobj
= Py_None
;
23270 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
;
23272 wxWindow
*arg1
= (wxWindow
*) 0 ;
23273 wxSize
const &arg2_defvalue
= wxDefaultSize
;
23274 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
23276 PyObject
* obj0
= 0 ;
23277 PyObject
* obj1
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "self",(char *) "size", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23288 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 (arg1
)->SetBestFittingSize((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_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxWindow
*arg1
= (wxWindow
*) 0 ;
23308 PyObject
* obj0
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 Py_INCREF(Py_None
); resultobj
= Py_None
;
23330 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxWindow
*arg1
= (wxWindow
*) 0 ;
23333 PyObject
* obj0
= 0 ;
23334 char *kwnames
[] = {
23335 (char *) "self", NULL
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 Py_INCREF(Py_None
); resultobj
= Py_None
;
23355 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxWindow
*arg1
= (wxWindow
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self",(char *) "size", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23371 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 Py_INCREF(Py_None
); resultobj
= Py_None
;
23387 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
;
23389 wxWindow
*arg1
= (wxWindow
*) 0 ;
23392 PyObject
* obj0
= 0 ;
23393 PyObject
* obj1
= 0 ;
23394 PyObject
* obj2
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self",(char *) "width",(char *) "height", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23402 arg2
= (int)SWIG_As_int(obj1
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23404 arg3
= (int)SWIG_As_int(obj2
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 (arg1
)->SetClientSize(arg2
,arg3
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 Py_INCREF(Py_None
); resultobj
= Py_None
;
23420 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
;
23422 wxWindow
*arg1
= (wxWindow
*) 0 ;
23425 PyObject
* obj0
= 0 ;
23426 PyObject
* obj1
= 0 ;
23427 char *kwnames
[] = {
23428 (char *) "self",(char *) "rect", NULL
23431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23436 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 Py_INCREF(Py_None
); resultobj
= Py_None
;
23452 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23453 PyObject
*resultobj
;
23454 wxWindow
*arg1
= (wxWindow
*) 0 ;
23456 PyObject
* obj0
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (arg1
)->GetPosition();
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23472 wxPoint
* resultptr
;
23473 resultptr
= new wxPoint((wxPoint
&) result
);
23474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23482 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
;
23484 wxWindow
*arg1
= (wxWindow
*) 0 ;
23485 int *arg2
= (int *) 0 ;
23486 int *arg3
= (int *) 0 ;
23491 PyObject
* obj0
= 0 ;
23492 char *kwnames
[] = {
23493 (char *) "self", NULL
23496 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23497 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 (arg1
)->GetPosition(arg2
,arg3
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 Py_INCREF(Py_None
); resultobj
= Py_None
;
23509 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23510 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23511 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23512 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23519 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxWindow
*arg1
= (wxWindow
*) 0 ;
23523 PyObject
* obj0
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= ((wxWindow
const *)arg1
)->GetSize();
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23539 wxSize
* resultptr
;
23540 resultptr
= new wxSize((wxSize
&) result
);
23541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23549 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxWindow
*arg1
= (wxWindow
*) 0 ;
23552 int *arg2
= (int *) 0 ;
23553 int *arg3
= (int *) 0 ;
23558 PyObject
* obj0
= 0 ;
23559 char *kwnames
[] = {
23560 (char *) "self", NULL
23563 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23564 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 Py_INCREF(Py_None
); resultobj
= Py_None
;
23576 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23577 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23578 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23579 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23586 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxWindow
*arg1
= (wxWindow
*) 0 ;
23590 PyObject
* obj0
= 0 ;
23591 char *kwnames
[] = {
23592 (char *) "self", NULL
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= ((wxWindow
const *)arg1
)->GetRect();
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23606 wxRect
* resultptr
;
23607 resultptr
= new wxRect((wxRect
&) result
);
23608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23616 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
;
23618 wxWindow
*arg1
= (wxWindow
*) 0 ;
23620 PyObject
* obj0
= 0 ;
23621 char *kwnames
[] = {
23622 (char *) "self", NULL
23625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23636 wxSize
* resultptr
;
23637 resultptr
= new wxSize((wxSize
&) result
);
23638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23646 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
;
23648 wxWindow
*arg1
= (wxWindow
*) 0 ;
23649 int *arg2
= (int *) 0 ;
23650 int *arg3
= (int *) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self", NULL
23660 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23661 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 Py_INCREF(Py_None
); resultobj
= Py_None
;
23673 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23674 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23675 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23676 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23683 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 wxWindow
*arg1
= (wxWindow
*) 0 ;
23687 PyObject
* obj0
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23703 wxPoint
* resultptr
;
23704 resultptr
= new wxPoint((wxPoint
&) result
);
23705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23713 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxWindow
*arg1
= (wxWindow
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23733 wxRect
* resultptr
;
23734 resultptr
= new wxRect((wxRect
&) result
);
23735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23743 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxWindow
*arg1
= (wxWindow
*) 0 ;
23747 PyObject
* obj0
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "self", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23763 wxSize
* resultptr
;
23764 resultptr
= new wxSize((wxSize
&) result
);
23765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23773 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxWindow
*arg1
= (wxWindow
*) 0 ;
23776 int *arg2
= (int *) 0 ;
23777 int *arg3
= (int *) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self", NULL
23787 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23788 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 Py_INCREF(Py_None
); resultobj
= Py_None
;
23800 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23801 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23802 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23803 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23810 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
;
23812 wxWindow
*arg1
= (wxWindow
*) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 (arg1
)->InvalidateBestSize();
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 Py_INCREF(Py_None
); resultobj
= Py_None
;
23835 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxWindow
*arg1
= (wxWindow
*) 0 ;
23839 PyObject
* obj0
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "self", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23855 wxSize
* resultptr
;
23856 resultptr
= new wxSize((wxSize
&) result
);
23857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23865 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
;
23867 wxWindow
*arg1
= (wxWindow
*) 0 ;
23869 PyObject
* obj0
= 0 ;
23870 char *kwnames
[] = {
23871 (char *) "self", NULL
23874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23885 wxSize
* resultptr
;
23886 resultptr
= new wxSize((wxSize
&) result
);
23887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23895 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
;
23897 wxWindow
*arg1
= (wxWindow
*) 0 ;
23898 int arg2
= (int) wxBOTH
;
23899 PyObject
* obj0
= 0 ;
23900 PyObject
* obj1
= 0 ;
23901 char *kwnames
[] = {
23902 (char *) "self",(char *) "direction", NULL
23905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23909 arg2
= (int)SWIG_As_int(obj1
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 (arg1
)->Center(arg2
);
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 Py_INCREF(Py_None
); resultobj
= Py_None
;
23926 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxWindow
*arg1
= (wxWindow
*) 0 ;
23929 int arg2
= (int) wxBOTH
;
23930 PyObject
* obj0
= 0 ;
23931 PyObject
* obj1
= 0 ;
23932 char *kwnames
[] = {
23933 (char *) "self",(char *) "dir", NULL
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23940 arg2
= (int)SWIG_As_int(obj1
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 (arg1
)->CenterOnScreen(arg2
);
23947 wxPyEndAllowThreads(__tstate
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23950 Py_INCREF(Py_None
); resultobj
= Py_None
;
23957 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23958 PyObject
*resultobj
;
23959 wxWindow
*arg1
= (wxWindow
*) 0 ;
23960 int arg2
= (int) wxBOTH
;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self",(char *) "dir", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23971 arg2
= (int)SWIG_As_int(obj1
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 (arg1
)->CenterOnParent(arg2
);
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 Py_INCREF(Py_None
); resultobj
= Py_None
;
23988 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
;
23990 wxWindow
*arg1
= (wxWindow
*) 0 ;
23991 PyObject
* obj0
= 0 ;
23992 char *kwnames
[] = {
23993 (char *) "self", NULL
23996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 Py_INCREF(Py_None
); resultobj
= Py_None
;
24013 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
;
24015 wxWindow
*arg1
= (wxWindow
*) 0 ;
24016 PyObject
* obj0
= 0 ;
24017 char *kwnames
[] = {
24018 (char *) "self", NULL
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
24022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 (arg1
)->FitInside();
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24031 Py_INCREF(Py_None
); resultobj
= Py_None
;
24038 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
;
24040 wxWindow
*arg1
= (wxWindow
*) 0 ;
24043 int arg4
= (int) -1 ;
24044 int arg5
= (int) -1 ;
24045 int arg6
= (int) -1 ;
24046 int arg7
= (int) -1 ;
24047 PyObject
* obj0
= 0 ;
24048 PyObject
* obj1
= 0 ;
24049 PyObject
* obj2
= 0 ;
24050 PyObject
* obj3
= 0 ;
24051 PyObject
* obj4
= 0 ;
24052 PyObject
* obj5
= 0 ;
24053 PyObject
* obj6
= 0 ;
24054 char *kwnames
[] = {
24055 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
24058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24061 arg2
= (int)SWIG_As_int(obj1
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24063 arg3
= (int)SWIG_As_int(obj2
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24066 arg4
= (int)SWIG_As_int(obj3
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24070 arg5
= (int)SWIG_As_int(obj4
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24074 arg6
= (int)SWIG_As_int(obj5
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24078 arg7
= (int)SWIG_As_int(obj6
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 Py_INCREF(Py_None
); resultobj
= Py_None
;
24095 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxWindow
*arg1
= (wxWindow
*) 0 ;
24099 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24100 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24101 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24102 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24106 PyObject
* obj0
= 0 ;
24107 PyObject
* obj1
= 0 ;
24108 PyObject
* obj2
= 0 ;
24109 PyObject
* obj3
= 0 ;
24110 char *kwnames
[] = {
24111 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
24114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24119 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24124 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24130 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 Py_INCREF(Py_None
); resultobj
= Py_None
;
24147 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxWindow
*arg1
= (wxWindow
*) 0 ;
24152 int arg4
= (int) -1 ;
24153 int arg5
= (int) -1 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 PyObject
* obj2
= 0 ;
24157 PyObject
* obj3
= 0 ;
24158 PyObject
* obj4
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 arg2
= (int)SWIG_As_int(obj1
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24168 arg3
= (int)SWIG_As_int(obj2
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 arg4
= (int)SWIG_As_int(obj3
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24175 arg5
= (int)SWIG_As_int(obj4
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24185 Py_INCREF(Py_None
); resultobj
= Py_None
;
24192 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
;
24194 wxWindow
*arg1
= (wxWindow
*) 0 ;
24196 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24197 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 PyObject
* obj2
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24212 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24217 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 Py_INCREF(Py_None
); resultobj
= Py_None
;
24234 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxWindow
*arg1
= (wxWindow
*) 0 ;
24238 PyObject
* obj0
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24254 wxSize
* resultptr
;
24255 resultptr
= new wxSize((wxSize
&) result
);
24256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24264 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxWindow
*arg1
= (wxWindow
*) 0 ;
24268 PyObject
* obj0
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
24274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= ((wxWindow
const *)arg1
)->GetMinSize();
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24284 wxSize
* resultptr
;
24285 resultptr
= new wxSize((wxSize
&) result
);
24286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24294 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
;
24296 wxWindow
*arg1
= (wxWindow
*) 0 ;
24299 PyObject
* obj0
= 0 ;
24300 PyObject
* obj1
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self",(char *) "minSize", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24310 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24319 Py_INCREF(Py_None
); resultobj
= Py_None
;
24326 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24327 PyObject
*resultobj
;
24328 wxWindow
*arg1
= (wxWindow
*) 0 ;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self",(char *) "maxSize", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24342 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24351 Py_INCREF(Py_None
); resultobj
= Py_None
;
24358 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
;
24360 wxWindow
*arg1
= (wxWindow
*) 0 ;
24362 PyObject
* obj0
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24372 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= SWIG_From_int((int)result
);
24384 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24385 PyObject
*resultobj
;
24386 wxWindow
*arg1
= (wxWindow
*) 0 ;
24388 PyObject
* obj0
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "self", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24403 resultobj
= SWIG_From_int((int)result
);
24410 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
;
24412 wxWindow
*arg1
= (wxWindow
*) 0 ;
24414 PyObject
* obj0
= 0 ;
24415 char *kwnames
[] = {
24416 (char *) "self", NULL
24419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_From_int((int)result
);
24436 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
;
24438 wxWindow
*arg1
= (wxWindow
*) 0 ;
24440 PyObject
* obj0
= 0 ;
24441 char *kwnames
[] = {
24442 (char *) "self", NULL
24445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 resultobj
= SWIG_From_int((int)result
);
24462 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxWindow
*arg1
= (wxWindow
*) 0 ;
24467 PyObject
* obj0
= 0 ;
24468 PyObject
* obj1
= 0 ;
24469 char *kwnames
[] = {
24470 (char *) "self",(char *) "size", NULL
24473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24478 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24482 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24487 Py_INCREF(Py_None
); resultobj
= Py_None
;
24494 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24495 PyObject
*resultobj
;
24496 wxWindow
*arg1
= (wxWindow
*) 0 ;
24499 PyObject
* obj0
= 0 ;
24500 PyObject
* obj1
= 0 ;
24501 PyObject
* obj2
= 0 ;
24502 char *kwnames
[] = {
24503 (char *) "self",(char *) "w",(char *) "h", NULL
24506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24509 arg2
= (int)SWIG_As_int(obj1
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24511 arg3
= (int)SWIG_As_int(obj2
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 (arg1
)->SetVirtualSize(arg2
,arg3
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 Py_INCREF(Py_None
); resultobj
= Py_None
;
24527 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxWindow
*arg1
= (wxWindow
*) 0 ;
24531 PyObject
* obj0
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24547 wxSize
* resultptr
;
24548 resultptr
= new wxSize((wxSize
&) result
);
24549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24557 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24559 wxWindow
*arg1
= (wxWindow
*) 0 ;
24560 int *arg2
= (int *) 0 ;
24561 int *arg3
= (int *) 0 ;
24566 PyObject
* obj0
= 0 ;
24567 char *kwnames
[] = {
24568 (char *) "self", NULL
24571 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24572 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 Py_INCREF(Py_None
); resultobj
= Py_None
;
24584 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24585 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24586 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24587 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24594 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
;
24596 wxWindow
*arg1
= (wxWindow
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 char *kwnames
[] = {
24600 (char *) "self", NULL
24603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24614 wxSize
* resultptr
;
24615 resultptr
= new wxSize((wxSize
&) result
);
24616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24624 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
;
24626 wxWindow
*arg1
= (wxWindow
*) 0 ;
24627 bool arg2
= (bool) true ;
24629 PyObject
* obj0
= 0 ;
24630 PyObject
* obj1
= 0 ;
24631 char *kwnames
[] = {
24632 (char *) "self",(char *) "show", NULL
24635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24639 arg2
= (bool)SWIG_As_bool(obj1
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (bool)(arg1
)->Show(arg2
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24658 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxWindow
*arg1
= (wxWindow
*) 0 ;
24662 PyObject
* obj0
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "self", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (bool)(arg1
)->Hide();
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24686 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxWindow
*arg1
= (wxWindow
*) 0 ;
24689 bool arg2
= (bool) true ;
24691 PyObject
* obj0
= 0 ;
24692 PyObject
* obj1
= 0 ;
24693 char *kwnames
[] = {
24694 (char *) "self",(char *) "enable", NULL
24697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24701 arg2
= (bool)SWIG_As_bool(obj1
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 result
= (bool)(arg1
)->Enable(arg2
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24720 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxWindow
*arg1
= (wxWindow
*) 0 ;
24724 PyObject
* obj0
= 0 ;
24725 char *kwnames
[] = {
24726 (char *) "self", NULL
24729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 result
= (bool)(arg1
)->Disable();
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24748 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
;
24750 wxWindow
*arg1
= (wxWindow
*) 0 ;
24752 PyObject
* obj0
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "self", NULL
24757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24764 wxPyEndAllowThreads(__tstate
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24776 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxWindow
*arg1
= (wxWindow
*) 0 ;
24780 PyObject
* obj0
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24804 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxWindow
*arg1
= (wxWindow
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 PyObject
* obj1
= 0 ;
24810 char *kwnames
[] = {
24811 (char *) "self",(char *) "style", NULL
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 arg2
= (long)SWIG_As_long(obj1
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 (arg1
)->SetWindowStyleFlag(arg2
);
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 Py_INCREF(Py_None
); resultobj
= Py_None
;
24833 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxWindow
*arg1
= (wxWindow
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_From_long((long)result
);
24859 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxWindow
*arg1
= (wxWindow
*) 0 ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "flag", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24873 arg2
= (int)SWIG_As_int(obj1
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24891 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxWindow
*arg1
= (wxWindow
*) 0 ;
24895 PyObject
* obj0
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24919 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
;
24921 wxWindow
*arg1
= (wxWindow
*) 0 ;
24923 PyObject
* obj0
= 0 ;
24924 PyObject
* obj1
= 0 ;
24925 char *kwnames
[] = {
24926 (char *) "self",(char *) "exStyle", NULL
24929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24932 arg2
= (long)SWIG_As_long(obj1
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 (arg1
)->SetExtraStyle(arg2
);
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 Py_INCREF(Py_None
); resultobj
= Py_None
;
24948 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
;
24950 wxWindow
*arg1
= (wxWindow
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 char *kwnames
[] = {
24954 (char *) "self", NULL
24957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= SWIG_From_long((long)result
);
24974 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
;
24976 wxWindow
*arg1
= (wxWindow
*) 0 ;
24977 bool arg2
= (bool) true ;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 char *kwnames
[] = {
24981 (char *) "self",(char *) "modal", NULL
24984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24988 arg2
= (bool)SWIG_As_bool(obj1
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 (arg1
)->MakeModal(arg2
);
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 Py_INCREF(Py_None
); resultobj
= Py_None
;
25005 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxWindow
*arg1
= (wxWindow
*) 0 ;
25009 PyObject
* obj0
= 0 ;
25010 PyObject
* obj1
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self",(char *) "enableTheme", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
25016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25018 arg2
= (bool)SWIG_As_bool(obj1
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 (arg1
)->SetThemeEnabled(arg2
);
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25027 Py_INCREF(Py_None
); resultobj
= Py_None
;
25034 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
;
25036 wxWindow
*arg1
= (wxWindow
*) 0 ;
25038 PyObject
* obj0
= 0 ;
25039 char *kwnames
[] = {
25040 (char *) "self", NULL
25043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
25044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25062 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25063 PyObject
*resultobj
;
25064 wxWindow
*arg1
= (wxWindow
*) 0 ;
25065 PyObject
* obj0
= 0 ;
25066 char *kwnames
[] = {
25067 (char *) "self", NULL
25070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
25071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 (arg1
)->SetFocus();
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 Py_INCREF(Py_None
); resultobj
= Py_None
;
25087 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxWindow
*arg1
= (wxWindow
*) 0 ;
25090 PyObject
* obj0
= 0 ;
25091 char *kwnames
[] = {
25092 (char *) "self", NULL
25095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
25096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 (arg1
)->SetFocusFromKbd();
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 Py_INCREF(Py_None
); resultobj
= Py_None
;
25112 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25115 char *kwnames
[] = {
25119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
25121 if (!wxPyCheckForApp()) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (wxWindow
*)wxWindow::FindFocus();
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= wxPyMake_wxObject(result
, 0);
25137 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
;
25139 wxWindow
*arg1
= (wxWindow
*) 0 ;
25141 PyObject
* obj0
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "self", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25165 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxWindow
*arg1
= (wxWindow
*) 0 ;
25169 PyObject
* obj0
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25193 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxWindow
*arg1
= (wxWindow
*) 0 ;
25197 PyObject
* obj0
= 0 ;
25198 char *kwnames
[] = {
25199 (char *) "self", NULL
25202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
25203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25207 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
25209 wxPyEndAllowThreads(__tstate
);
25210 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= wxPyMake_wxObject(result
, 0);
25221 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25222 PyObject
*resultobj
;
25223 wxWindow
*arg1
= (wxWindow
*) 0 ;
25224 wxWindow
*arg2
= (wxWindow
*) 0 ;
25226 PyObject
* obj0
= 0 ;
25227 PyObject
* obj1
= 0 ;
25228 char *kwnames
[] = {
25229 (char *) "self",(char *) "child", NULL
25232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25245 resultobj
= wxPyMake_wxObject(result
, 0);
25253 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25254 PyObject
*resultobj
;
25255 wxWindow
*arg1
= (wxWindow
*) 0 ;
25256 wxWindow
*arg2
= (wxWindow
*) 0 ;
25257 PyObject
* obj0
= 0 ;
25258 PyObject
* obj1
= 0 ;
25259 char *kwnames
[] = {
25260 (char *) "self",(char *) "win", NULL
25263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 (arg1
)->SetTmpDefaultItem(arg2
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 Py_INCREF(Py_None
); resultobj
= Py_None
;
25282 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxWindow
*arg1
= (wxWindow
*) 0 ;
25285 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
25287 PyObject
* obj0
= 0 ;
25288 PyObject
* obj1
= 0 ;
25289 char *kwnames
[] = {
25290 (char *) "self",(char *) "flags", NULL
25293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25297 arg2
= (int)SWIG_As_int(obj1
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 result
= (bool)(arg1
)->Navigate(arg2
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25316 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
;
25318 wxWindow
*arg1
= (wxWindow
*) 0 ;
25319 wxWindow
*arg2
= (wxWindow
*) 0 ;
25320 PyObject
* obj0
= 0 ;
25321 PyObject
* obj1
= 0 ;
25322 char *kwnames
[] = {
25323 (char *) "self",(char *) "win", NULL
25326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 (arg1
)->MoveAfterInTabOrder(arg2
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25338 Py_INCREF(Py_None
); resultobj
= Py_None
;
25345 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
;
25347 wxWindow
*arg1
= (wxWindow
*) 0 ;
25348 wxWindow
*arg2
= (wxWindow
*) 0 ;
25349 PyObject
* obj0
= 0 ;
25350 PyObject
* obj1
= 0 ;
25351 char *kwnames
[] = {
25352 (char *) "self",(char *) "win", NULL
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 (arg1
)->MoveBeforeInTabOrder(arg2
);
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25367 Py_INCREF(Py_None
); resultobj
= Py_None
;
25374 static PyObject
*_wrap_Window_GetChildren(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_GetChildren",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
= (PyObject
*)wxWindow_GetChildren(arg1
);
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= result
;
25400 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
;
25402 wxWindow
*arg1
= (wxWindow
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 char *kwnames
[] = {
25406 (char *) "self", NULL
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25416 wxPyEndAllowThreads(__tstate
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= wxPyMake_wxObject(result
, 0);
25428 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
;
25430 wxWindow
*arg1
= (wxWindow
*) 0 ;
25432 PyObject
* obj0
= 0 ;
25433 char *kwnames
[] = {
25434 (char *) "self", NULL
25437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25448 resultobj
= wxPyMake_wxObject(result
, 0);
25456 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxWindow
*arg1
= (wxWindow
*) 0 ;
25460 PyObject
* obj0
= 0 ;
25461 char *kwnames
[] = {
25462 (char *) "self", NULL
25465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25484 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
;
25486 wxWindow
*arg1
= (wxWindow
*) 0 ;
25487 wxWindow
*arg2
= (wxWindow
*) 0 ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self",(char *) "newParent", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (bool)(arg1
)->Reparent(arg2
);
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25516 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
;
25518 wxWindow
*arg1
= (wxWindow
*) 0 ;
25519 wxWindow
*arg2
= (wxWindow
*) 0 ;
25520 PyObject
* obj0
= 0 ;
25521 PyObject
* obj1
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self",(char *) "child", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 (arg1
)->AddChild(arg2
);
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 Py_INCREF(Py_None
); resultobj
= Py_None
;
25545 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxWindow
*arg1
= (wxWindow
*) 0 ;
25548 wxWindow
*arg2
= (wxWindow
*) 0 ;
25549 PyObject
* obj0
= 0 ;
25550 PyObject
* obj1
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self",(char *) "child", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 (arg1
)->RemoveChild(arg2
);
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25567 Py_INCREF(Py_None
); resultobj
= Py_None
;
25574 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25575 PyObject
*resultobj
;
25576 wxWindow
*arg1
= (wxWindow
*) 0 ;
25579 PyObject
* obj0
= 0 ;
25580 PyObject
* obj1
= 0 ;
25581 char *kwnames
[] = {
25582 (char *) "self",(char *) "winid", NULL
25585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25588 arg2
= (long)SWIG_As_long(obj1
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= wxPyMake_wxObject(result
, 0);
25606 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxWindow
*arg1
= (wxWindow
*) 0 ;
25609 wxString
*arg2
= 0 ;
25611 bool temp2
= false ;
25612 PyObject
* obj0
= 0 ;
25613 PyObject
* obj1
= 0 ;
25614 char *kwnames
[] = {
25615 (char *) "self",(char *) "name", NULL
25618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25622 arg2
= wxString_in_helper(obj1
);
25623 if (arg2
== NULL
) SWIG_fail
;
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25634 resultobj
= wxPyMake_wxObject(result
, 0);
25650 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
;
25652 wxWindow
*arg1
= (wxWindow
*) 0 ;
25653 wxEvtHandler
*result
;
25654 PyObject
* obj0
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "self", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= wxPyMake_wxObject(result
, 0);
25678 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
;
25680 wxWindow
*arg1
= (wxWindow
*) 0 ;
25681 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25682 PyObject
* obj0
= 0 ;
25683 PyObject
* obj1
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self",(char *) "handler", NULL
25688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 (arg1
)->SetEventHandler(arg2
);
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 Py_INCREF(Py_None
); resultobj
= Py_None
;
25707 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25708 PyObject
*resultobj
;
25709 wxWindow
*arg1
= (wxWindow
*) 0 ;
25710 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self",(char *) "handler", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 (arg1
)->PushEventHandler(arg2
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 Py_INCREF(Py_None
); resultobj
= Py_None
;
25736 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxWindow
*arg1
= (wxWindow
*) 0 ;
25739 bool arg2
= (bool) false ;
25740 wxEvtHandler
*result
;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 char *kwnames
[] = {
25744 (char *) "self",(char *) "deleteHandler", NULL
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25751 arg2
= (bool)SWIG_As_bool(obj1
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25762 resultobj
= wxPyMake_wxObject(result
, 0);
25770 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25771 PyObject
*resultobj
;
25772 wxWindow
*arg1
= (wxWindow
*) 0 ;
25773 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25775 PyObject
* obj0
= 0 ;
25776 PyObject
* obj1
= 0 ;
25777 char *kwnames
[] = {
25778 (char *) "self",(char *) "handler", NULL
25781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25802 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
;
25804 wxWindow
*arg1
= (wxWindow
*) 0 ;
25805 wxValidator
*arg2
= 0 ;
25806 PyObject
* obj0
= 0 ;
25807 PyObject
* obj1
= 0 ;
25808 char *kwnames
[] = {
25809 (char *) "self",(char *) "validator", NULL
25812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25818 if (arg2
== NULL
) {
25819 PyErr_SetString(PyExc_TypeError
,"null reference");
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 Py_INCREF(Py_None
); resultobj
= Py_None
;
25836 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxWindow
*arg1
= (wxWindow
*) 0 ;
25839 wxValidator
*result
;
25840 PyObject
* obj0
= 0 ;
25841 char *kwnames
[] = {
25842 (char *) "self", NULL
25845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 result
= (wxValidator
*)(arg1
)->GetValidator();
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= wxPyMake_wxObject(result
, 0);
25864 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25865 PyObject
*resultobj
;
25866 wxWindow
*arg1
= (wxWindow
*) 0 ;
25868 PyObject
* obj0
= 0 ;
25869 char *kwnames
[] = {
25870 (char *) "self", NULL
25873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 result
= (bool)(arg1
)->Validate();
25880 wxPyEndAllowThreads(__tstate
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25892 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25893 PyObject
*resultobj
;
25894 wxWindow
*arg1
= (wxWindow
*) 0 ;
25896 PyObject
* obj0
= 0 ;
25897 char *kwnames
[] = {
25898 (char *) "self", NULL
25901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 result
= (bool)(arg1
)->TransferDataToWindow();
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25920 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25922 wxWindow
*arg1
= (wxWindow
*) 0 ;
25924 PyObject
* obj0
= 0 ;
25925 char *kwnames
[] = {
25926 (char *) "self", NULL
25929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 result
= (bool)(arg1
)->TransferDataFromWindow();
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25948 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25949 PyObject
*resultobj
;
25950 wxWindow
*arg1
= (wxWindow
*) 0 ;
25951 PyObject
* obj0
= 0 ;
25952 char *kwnames
[] = {
25953 (char *) "self", NULL
25956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 (arg1
)->InitDialog();
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 Py_INCREF(Py_None
); resultobj
= Py_None
;
25973 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxWindow
*arg1
= (wxWindow
*) 0 ;
25976 wxAcceleratorTable
*arg2
= 0 ;
25977 PyObject
* obj0
= 0 ;
25978 PyObject
* obj1
= 0 ;
25979 char *kwnames
[] = {
25980 (char *) "self",(char *) "accel", NULL
25983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25989 if (arg2
== NULL
) {
25990 PyErr_SetString(PyExc_TypeError
,"null reference");
25994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25995 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25997 wxPyEndAllowThreads(__tstate
);
25998 if (PyErr_Occurred()) SWIG_fail
;
26000 Py_INCREF(Py_None
); resultobj
= Py_None
;
26007 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
;
26009 wxWindow
*arg1
= (wxWindow
*) 0 ;
26010 wxAcceleratorTable
*result
;
26011 PyObject
* obj0
= 0 ;
26012 char *kwnames
[] = {
26013 (char *) "self", NULL
26016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
26017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
26033 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26034 PyObject
*resultobj
;
26035 wxWindow
*arg1
= (wxWindow
*) 0 ;
26040 PyObject
* obj0
= 0 ;
26041 PyObject
* obj1
= 0 ;
26042 PyObject
* obj2
= 0 ;
26043 PyObject
* obj3
= 0 ;
26044 char *kwnames
[] = {
26045 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
26048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26051 arg2
= (int)SWIG_As_int(obj1
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26053 arg3
= (int)SWIG_As_int(obj2
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26055 arg4
= (int)SWIG_As_int(obj3
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26073 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
;
26075 wxWindow
*arg1
= (wxWindow
*) 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 char *kwnames
[] = {
26081 (char *) "self",(char *) "hotkeyId", NULL
26084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
26085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26087 arg2
= (int)SWIG_As_int(obj1
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26105 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26107 wxWindow
*arg1
= (wxWindow
*) 0 ;
26108 wxPoint
*arg2
= 0 ;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self",(char *) "pt", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
26118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26132 wxPoint
* resultptr
;
26133 resultptr
= new wxPoint((wxPoint
&) result
);
26134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26142 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxWindow
*arg1
= (wxWindow
*) 0 ;
26148 PyObject
* obj0
= 0 ;
26149 PyObject
* obj1
= 0 ;
26150 char *kwnames
[] = {
26151 (char *) "self",(char *) "sz", NULL
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
26155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26159 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26169 wxSize
* resultptr
;
26170 resultptr
= new wxSize((wxSize
&) result
);
26171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26179 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26180 PyObject
*resultobj
;
26181 wxWindow
*arg1
= (wxWindow
*) 0 ;
26182 wxPoint
*arg2
= 0 ;
26185 PyObject
* obj0
= 0 ;
26186 PyObject
* obj1
= 0 ;
26187 char *kwnames
[] = {
26188 (char *) "self",(char *) "pt", NULL
26191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
26192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26196 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26206 wxPoint
* resultptr
;
26207 resultptr
= new wxPoint((wxPoint
&) result
);
26208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26216 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxWindow
*arg1
= (wxWindow
*) 0 ;
26222 PyObject
* obj0
= 0 ;
26223 PyObject
* obj1
= 0 ;
26224 char *kwnames
[] = {
26225 (char *) "self",(char *) "sz", NULL
26228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
26229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26233 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26243 wxSize
* resultptr
;
26244 resultptr
= new wxSize((wxSize
&) result
);
26245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26253 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
;
26255 wxWindow
*arg1
= (wxWindow
*) 0 ;
26256 wxPoint
*arg2
= 0 ;
26259 PyObject
* obj0
= 0 ;
26260 PyObject
* obj1
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "self",(char *) "pt", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26270 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26274 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
26276 wxPyEndAllowThreads(__tstate
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26280 wxPoint
* resultptr
;
26281 resultptr
= new wxPoint((wxPoint
&) result
);
26282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26290 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxWindow
*arg1
= (wxWindow
*) 0 ;
26296 PyObject
* obj0
= 0 ;
26297 PyObject
* obj1
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self",(char *) "sz", NULL
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26307 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26313 wxPyEndAllowThreads(__tstate
);
26314 if (PyErr_Occurred()) SWIG_fail
;
26317 wxSize
* resultptr
;
26318 resultptr
= new wxSize((wxSize
&) result
);
26319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26327 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
;
26329 wxWindow
*arg1
= (wxWindow
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 PyObject
* obj2
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self",(char *) "x",(char *) "y", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26342 arg2
= (int)SWIG_As_int(obj1
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26344 arg3
= (int)SWIG_As_int(obj2
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 (arg1
)->WarpPointer(arg2
,arg3
);
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 Py_INCREF(Py_None
); resultobj
= Py_None
;
26360 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxWindow
*arg1
= (wxWindow
*) 0 ;
26363 PyObject
* obj0
= 0 ;
26364 char *kwnames
[] = {
26365 (char *) "self", NULL
26368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 (arg1
)->CaptureMouse();
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 Py_INCREF(Py_None
); resultobj
= Py_None
;
26385 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
;
26387 wxWindow
*arg1
= (wxWindow
*) 0 ;
26388 PyObject
* obj0
= 0 ;
26389 char *kwnames
[] = {
26390 (char *) "self", NULL
26393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 (arg1
)->ReleaseMouse();
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 Py_INCREF(Py_None
); resultobj
= Py_None
;
26410 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26411 PyObject
*resultobj
;
26413 char *kwnames
[] = {
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26419 if (!wxPyCheckForApp()) SWIG_fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= (wxWindow
*)wxWindow::GetCapture();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= wxPyMake_wxObject(result
, 0);
26435 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxWindow
*arg1
= (wxWindow
*) 0 ;
26439 PyObject
* obj0
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26463 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxWindow
*arg1
= (wxWindow
*) 0 ;
26466 bool arg2
= (bool) true ;
26467 wxRect
*arg3
= (wxRect
*) NULL
;
26468 PyObject
* obj0
= 0 ;
26469 PyObject
* obj1
= 0 ;
26470 PyObject
* obj2
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26479 arg2
= (bool)SWIG_As_bool(obj1
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26483 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26488 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26490 wxPyEndAllowThreads(__tstate
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26493 Py_INCREF(Py_None
); resultobj
= Py_None
;
26500 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
;
26502 wxWindow
*arg1
= (wxWindow
*) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self",(char *) "rect", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26516 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 Py_INCREF(Py_None
); resultobj
= Py_None
;
26532 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
;
26534 wxWindow
*arg1
= (wxWindow
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 Py_INCREF(Py_None
); resultobj
= Py_None
;
26557 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
;
26559 wxWindow
*arg1
= (wxWindow
*) 0 ;
26560 PyObject
* obj0
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26570 (arg1
)->ClearBackground();
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26575 Py_INCREF(Py_None
); resultobj
= Py_None
;
26582 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
;
26584 wxWindow
*arg1
= (wxWindow
*) 0 ;
26585 PyObject
* obj0
= 0 ;
26586 char *kwnames
[] = {
26587 (char *) "self", NULL
26590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 Py_INCREF(Py_None
); resultobj
= Py_None
;
26607 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
;
26609 wxWindow
*arg1
= (wxWindow
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 char *kwnames
[] = {
26612 (char *) "self", NULL
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 Py_INCREF(Py_None
); resultobj
= Py_None
;
26632 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
;
26634 wxWindow
*arg1
= (wxWindow
*) 0 ;
26636 PyObject
* obj0
= 0 ;
26637 PyObject
* obj1
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "self",(char *) "dc", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26648 if (arg2
== NULL
) {
26649 PyErr_SetString(PyExc_TypeError
,"null reference");
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 (arg1
)->PrepareDC(*arg2
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 Py_INCREF(Py_None
); resultobj
= Py_None
;
26666 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
;
26668 wxWindow
*arg1
= (wxWindow
*) 0 ;
26670 PyObject
* obj0
= 0 ;
26671 char *kwnames
[] = {
26672 (char *) "self", NULL
26675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26682 result
= (wxRegion
*) &_result_ref
;
26685 wxPyEndAllowThreads(__tstate
);
26686 if (PyErr_Occurred()) SWIG_fail
;
26688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26695 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26696 PyObject
*resultobj
;
26697 wxWindow
*arg1
= (wxWindow
*) 0 ;
26699 PyObject
* obj0
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "self", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26715 wxRect
* resultptr
;
26716 resultptr
= new wxRect((wxRect
&) result
);
26717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26725 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
;
26727 wxWindow
*arg1
= (wxWindow
*) 0 ;
26730 int arg4
= (int) 1 ;
26731 int arg5
= (int) 1 ;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26735 PyObject
* obj2
= 0 ;
26736 PyObject
* obj3
= 0 ;
26737 PyObject
* obj4
= 0 ;
26738 char *kwnames
[] = {
26739 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26745 arg2
= (int)SWIG_As_int(obj1
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26747 arg3
= (int)SWIG_As_int(obj2
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26750 arg4
= (int)SWIG_As_int(obj3
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26754 arg5
= (int)SWIG_As_int(obj4
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26759 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26773 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26774 PyObject
*resultobj
;
26775 wxWindow
*arg1
= (wxWindow
*) 0 ;
26776 wxPoint
*arg2
= 0 ;
26779 PyObject
* obj0
= 0 ;
26780 PyObject
* obj1
= 0 ;
26781 char *kwnames
[] = {
26782 (char *) "self",(char *) "pt", NULL
26785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26794 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26808 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
;
26810 wxWindow
*arg1
= (wxWindow
*) 0 ;
26814 PyObject
* obj0
= 0 ;
26815 PyObject
* obj1
= 0 ;
26816 char *kwnames
[] = {
26817 (char *) "self",(char *) "rect", NULL
26820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26825 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26843 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
;
26845 wxWindow
*arg1
= (wxWindow
*) 0 ;
26846 wxVisualAttributes result
;
26847 PyObject
* obj0
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "self", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26863 wxVisualAttributes
* resultptr
;
26864 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26873 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
;
26875 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26876 wxVisualAttributes result
;
26877 PyObject
* obj0
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "variant", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26884 arg1
= (int)SWIG_As_int(obj0
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26888 if (!wxPyCheckForApp()) SWIG_fail
;
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26896 wxVisualAttributes
* resultptr
;
26897 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26906 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26907 PyObject
*resultobj
;
26908 wxWindow
*arg1
= (wxWindow
*) 0 ;
26909 wxColour
*arg2
= 0 ;
26912 PyObject
* obj0
= 0 ;
26913 PyObject
* obj1
= 0 ;
26914 char *kwnames
[] = {
26915 (char *) "self",(char *) "colour", NULL
26918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26923 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26941 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
;
26943 wxWindow
*arg1
= (wxWindow
*) 0 ;
26944 wxColour
*arg2
= 0 ;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 char *kwnames
[] = {
26949 (char *) "self",(char *) "colour", NULL
26952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26957 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26966 Py_INCREF(Py_None
); resultobj
= Py_None
;
26973 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
;
26975 wxWindow
*arg1
= (wxWindow
*) 0 ;
26976 wxColour
*arg2
= 0 ;
26979 PyObject
* obj0
= 0 ;
26980 PyObject
* obj1
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self",(char *) "colour", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26990 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27008 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
;
27010 wxWindow
*arg1
= (wxWindow
*) 0 ;
27011 wxColour
*arg2
= 0 ;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self",(char *) "colour", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 Py_INCREF(Py_None
); resultobj
= Py_None
;
27040 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
;
27042 wxWindow
*arg1
= (wxWindow
*) 0 ;
27044 PyObject
* obj0
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
27050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27060 wxColour
* resultptr
;
27061 resultptr
= new wxColour((wxColour
&) result
);
27062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27070 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
;
27072 wxWindow
*arg1
= (wxWindow
*) 0 ;
27074 PyObject
* obj0
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
27080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27090 wxColour
* resultptr
;
27091 resultptr
= new wxColour((wxColour
&) result
);
27092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27100 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27101 PyObject
*resultobj
;
27102 wxWindow
*arg1
= (wxWindow
*) 0 ;
27105 PyObject
* obj0
= 0 ;
27106 PyObject
* obj1
= 0 ;
27107 char *kwnames
[] = {
27108 (char *) "self",(char *) "style", NULL
27111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27114 arg2
= (int)SWIG_As_int(obj1
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27132 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
;
27134 wxWindow
*arg1
= (wxWindow
*) 0 ;
27136 PyObject
* obj0
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
27142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_From_int((int)result
);
27158 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
;
27160 wxWindow
*arg1
= (wxWindow
*) 0 ;
27161 wxCursor
*arg2
= 0 ;
27163 PyObject
* obj0
= 0 ;
27164 PyObject
* obj1
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self",(char *) "cursor", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
27170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
27173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27175 if (arg2
== NULL
) {
27176 PyErr_SetString(PyExc_TypeError
,"null reference");
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27195 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27196 PyObject
*resultobj
;
27197 wxWindow
*arg1
= (wxWindow
*) 0 ;
27199 PyObject
* obj0
= 0 ;
27200 char *kwnames
[] = {
27201 (char *) "self", NULL
27204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
27205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 result
= (arg1
)->GetCursor();
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27215 wxCursor
* resultptr
;
27216 resultptr
= new wxCursor((wxCursor
&) result
);
27217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
27225 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxWindow
*arg1
= (wxWindow
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 PyObject
* obj1
= 0 ;
27232 char *kwnames
[] = {
27233 (char *) "self",(char *) "font", NULL
27236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27242 if (arg2
== NULL
) {
27243 PyErr_SetString(PyExc_TypeError
,"null reference");
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27262 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
;
27264 wxWindow
*arg1
= (wxWindow
*) 0 ;
27266 PyObject
* obj0
= 0 ;
27267 PyObject
* obj1
= 0 ;
27268 char *kwnames
[] = {
27269 (char *) "self",(char *) "font", NULL
27272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27278 if (arg2
== NULL
) {
27279 PyErr_SetString(PyExc_TypeError
,"null reference");
27283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27284 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
27286 wxPyEndAllowThreads(__tstate
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27289 Py_INCREF(Py_None
); resultobj
= Py_None
;
27296 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27297 PyObject
*resultobj
;
27298 wxWindow
*arg1
= (wxWindow
*) 0 ;
27300 PyObject
* obj0
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 result
= (arg1
)->GetFont();
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27316 wxFont
* resultptr
;
27317 resultptr
= new wxFont((wxFont
&) result
);
27318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27326 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
;
27328 wxWindow
*arg1
= (wxWindow
*) 0 ;
27329 wxCaret
*arg2
= (wxCaret
*) 0 ;
27330 PyObject
* obj0
= 0 ;
27331 PyObject
* obj1
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self",(char *) "caret", NULL
27336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27343 (arg1
)->SetCaret(arg2
);
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27348 Py_INCREF(Py_None
); resultobj
= Py_None
;
27355 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxWindow
*arg1
= (wxWindow
*) 0 ;
27359 PyObject
* obj0
= 0 ;
27360 char *kwnames
[] = {
27361 (char *) "self", NULL
27364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27381 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27382 PyObject
*resultobj
;
27383 wxWindow
*arg1
= (wxWindow
*) 0 ;
27385 PyObject
* obj0
= 0 ;
27386 char *kwnames
[] = {
27387 (char *) "self", NULL
27390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27397 wxPyEndAllowThreads(__tstate
);
27398 if (PyErr_Occurred()) SWIG_fail
;
27400 resultobj
= SWIG_From_int((int)result
);
27407 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27408 PyObject
*resultobj
;
27409 wxWindow
*arg1
= (wxWindow
*) 0 ;
27411 PyObject
* obj0
= 0 ;
27412 char *kwnames
[] = {
27413 (char *) "self", NULL
27416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27423 wxPyEndAllowThreads(__tstate
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27426 resultobj
= SWIG_From_int((int)result
);
27433 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27434 PyObject
*resultobj
;
27435 wxWindow
*arg1
= (wxWindow
*) 0 ;
27436 wxString
*arg2
= 0 ;
27437 int *arg3
= (int *) 0 ;
27438 int *arg4
= (int *) 0 ;
27439 bool temp2
= false ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self",(char *) "string", NULL
27450 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27451 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27456 arg2
= wxString_in_helper(obj1
);
27457 if (arg2
== NULL
) SWIG_fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 Py_INCREF(Py_None
); resultobj
= Py_None
;
27468 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27469 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27470 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27471 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27486 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27487 PyObject
*resultobj
;
27488 wxWindow
*arg1
= (wxWindow
*) 0 ;
27489 wxString
*arg2
= 0 ;
27490 int *arg3
= (int *) 0 ;
27491 int *arg4
= (int *) 0 ;
27492 int *arg5
= (int *) 0 ;
27493 int *arg6
= (int *) 0 ;
27494 wxFont
*arg7
= (wxFont
*) NULL
;
27495 bool temp2
= false ;
27504 PyObject
* obj0
= 0 ;
27505 PyObject
* obj1
= 0 ;
27506 PyObject
* obj2
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self",(char *) "string",(char *) "font", NULL
27511 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27512 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27513 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27514 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27519 arg2
= wxString_in_helper(obj1
);
27520 if (arg2
== NULL
) SWIG_fail
;
27524 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27529 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27534 Py_INCREF(Py_None
); resultobj
= Py_None
;
27535 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27536 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27537 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27538 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27539 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27540 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27541 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27542 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27557 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27558 PyObject
*resultobj
;
27559 wxWindow
*arg1
= (wxWindow
*) 0 ;
27560 int *arg2
= (int *) 0 ;
27561 int *arg3
= (int *) 0 ;
27566 PyObject
* obj0
= 0 ;
27567 PyObject
* obj1
= 0 ;
27568 PyObject
* obj2
= 0 ;
27569 char *kwnames
[] = {
27570 (char *) "self",(char *) "x",(char *) "y", NULL
27573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27577 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27578 temp2
= SWIG_As_int(obj1
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27581 res2
= SWIG_NEWOBJ
;
27585 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27586 temp3
= SWIG_As_int(obj2
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 res3
= SWIG_NEWOBJ
;
27593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27599 Py_INCREF(Py_None
); resultobj
= Py_None
;
27600 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27601 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27602 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27603 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27610 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27611 PyObject
*resultobj
;
27612 wxWindow
*arg1
= (wxWindow
*) 0 ;
27613 int *arg2
= (int *) 0 ;
27614 int *arg3
= (int *) 0 ;
27619 PyObject
* obj0
= 0 ;
27620 PyObject
* obj1
= 0 ;
27621 PyObject
* obj2
= 0 ;
27622 char *kwnames
[] = {
27623 (char *) "self",(char *) "x",(char *) "y", NULL
27626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27630 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27631 temp2
= SWIG_As_int(obj1
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 res2
= SWIG_NEWOBJ
;
27638 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27639 temp3
= SWIG_As_int(obj2
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 res3
= SWIG_NEWOBJ
;
27646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27647 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27649 wxPyEndAllowThreads(__tstate
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 Py_INCREF(Py_None
); resultobj
= Py_None
;
27653 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27654 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27655 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27656 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27663 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
;
27665 wxWindow
*arg1
= (wxWindow
*) 0 ;
27666 wxPoint
*arg2
= 0 ;
27669 PyObject
* obj0
= 0 ;
27670 PyObject
* obj1
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self",(char *) "pt", NULL
27675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27684 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27686 wxPyEndAllowThreads(__tstate
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27690 wxPoint
* resultptr
;
27691 resultptr
= new wxPoint((wxPoint
&) result
);
27692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27700 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
;
27702 wxWindow
*arg1
= (wxWindow
*) 0 ;
27703 wxPoint
*arg2
= 0 ;
27706 PyObject
* obj0
= 0 ;
27707 PyObject
* obj1
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self",(char *) "pt", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27721 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27723 wxPyEndAllowThreads(__tstate
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27727 wxPoint
* resultptr
;
27728 resultptr
= new wxPoint((wxPoint
&) result
);
27729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27737 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
;
27739 wxWindow
*arg1
= (wxWindow
*) 0 ;
27743 PyObject
* obj0
= 0 ;
27744 PyObject
* obj1
= 0 ;
27745 PyObject
* obj2
= 0 ;
27746 char *kwnames
[] = {
27747 (char *) "self",(char *) "x",(char *) "y", NULL
27750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27753 arg2
= (int)SWIG_As_int(obj1
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27755 arg3
= (int)SWIG_As_int(obj2
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27764 resultobj
= SWIG_From_int((int)result
);
27771 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
;
27773 wxWindow
*arg1
= (wxWindow
*) 0 ;
27774 wxPoint
*arg2
= 0 ;
27777 PyObject
* obj0
= 0 ;
27778 PyObject
* obj1
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self",(char *) "pt", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 resultobj
= SWIG_From_int((int)result
);
27804 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27805 PyObject
*resultobj
;
27806 wxWindow
*arg1
= (wxWindow
*) 0 ;
27809 PyObject
* obj0
= 0 ;
27810 PyObject
* obj1
= 0 ;
27812 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27815 arg2
= (long)SWIG_As_long(obj1
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27819 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 resultobj
= SWIG_From_int((int)result
);
27831 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27832 PyObject
*resultobj
;
27833 wxWindow
*arg1
= (wxWindow
*) 0 ;
27835 PyObject
* obj0
= 0 ;
27837 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27842 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27844 wxPyEndAllowThreads(__tstate
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= SWIG_From_int((int)result
);
27854 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27859 argc
= PyObject_Length(args
);
27860 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27861 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27867 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27875 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27882 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27890 _v
= SWIG_Check_long(argv
[1]);
27892 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27897 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27902 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxWindow
*arg1
= (wxWindow
*) 0 ;
27905 long arg2
= (long) wxUPDATE_UI_NONE
;
27906 PyObject
* obj0
= 0 ;
27907 PyObject
* obj1
= 0 ;
27908 char *kwnames
[] = {
27909 (char *) "self",(char *) "flags", NULL
27912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27916 arg2
= (long)SWIG_As_long(obj1
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 (arg1
)->UpdateWindowUI(arg2
);
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27926 Py_INCREF(Py_None
); resultobj
= Py_None
;
27933 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27935 wxWindow
*arg1
= (wxWindow
*) 0 ;
27936 wxMenu
*arg2
= (wxMenu
*) 0 ;
27937 int arg3
= (int) -1 ;
27938 int arg4
= (int) -1 ;
27940 PyObject
* obj0
= 0 ;
27941 PyObject
* obj1
= 0 ;
27942 PyObject
* obj2
= 0 ;
27943 PyObject
* obj3
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27954 arg3
= (int)SWIG_As_int(obj2
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27958 arg4
= (int)SWIG_As_int(obj3
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27977 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxWindow
*arg1
= (wxWindow
*) 0 ;
27980 wxMenu
*arg2
= (wxMenu
*) 0 ;
27981 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27982 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27985 PyObject
* obj0
= 0 ;
27986 PyObject
* obj1
= 0 ;
27987 PyObject
* obj2
= 0 ;
27988 char *kwnames
[] = {
27989 (char *) "self",(char *) "menu",(char *) "pos", NULL
27992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28000 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28005 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
28007 wxPyEndAllowThreads(__tstate
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28019 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28020 PyObject
*resultobj
;
28021 wxWindow
*arg1
= (wxWindow
*) 0 ;
28023 PyObject
* obj0
= 0 ;
28024 char *kwnames
[] = {
28025 (char *) "self", NULL
28028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
28029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28033 result
= (long)wxWindow_GetHandle(arg1
);
28035 wxPyEndAllowThreads(__tstate
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28038 resultobj
= SWIG_From_long((long)result
);
28045 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
;
28047 wxWindow
*arg1
= (wxWindow
*) 0 ;
28049 PyObject
* obj0
= 0 ;
28050 PyObject
* obj1
= 0 ;
28051 char *kwnames
[] = {
28052 (char *) "self",(char *) "handle", NULL
28055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
28056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28058 arg2
= (long)SWIG_As_long(obj1
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28062 wxWindow_AssociateHandle(arg1
,arg2
);
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28067 Py_INCREF(Py_None
); resultobj
= Py_None
;
28074 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
;
28076 wxWindow
*arg1
= (wxWindow
*) 0 ;
28077 PyObject
* obj0
= 0 ;
28078 char *kwnames
[] = {
28079 (char *) "self", NULL
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
28083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28087 (arg1
)->DissociateHandle();
28089 wxPyEndAllowThreads(__tstate
);
28090 if (PyErr_Occurred()) SWIG_fail
;
28092 Py_INCREF(Py_None
); resultobj
= Py_None
;
28099 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
;
28101 wxWindow
*arg1
= (wxWindow
*) 0 ;
28102 wxPaintEvent
*arg2
= 0 ;
28103 PyObject
* obj0
= 0 ;
28104 PyObject
* obj1
= 0 ;
28105 char *kwnames
[] = {
28106 (char *) "self",(char *) "event", NULL
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
28110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
28113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28115 if (arg2
== NULL
) {
28116 PyErr_SetString(PyExc_TypeError
,"null reference");
28120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28121 (arg1
)->OnPaint(*arg2
);
28123 wxPyEndAllowThreads(__tstate
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28126 Py_INCREF(Py_None
); resultobj
= Py_None
;
28133 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28134 PyObject
*resultobj
;
28135 wxWindow
*arg1
= (wxWindow
*) 0 ;
28138 PyObject
* obj0
= 0 ;
28139 PyObject
* obj1
= 0 ;
28140 char *kwnames
[] = {
28141 (char *) "self",(char *) "orient", NULL
28144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) 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
;
28150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28151 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
28153 wxPyEndAllowThreads(__tstate
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28165 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28166 PyObject
*resultobj
;
28167 wxWindow
*arg1
= (wxWindow
*) 0 ;
28172 bool arg6
= (bool) true ;
28173 PyObject
* obj0
= 0 ;
28174 PyObject
* obj1
= 0 ;
28175 PyObject
* obj2
= 0 ;
28176 PyObject
* obj3
= 0 ;
28177 PyObject
* obj4
= 0 ;
28178 PyObject
* obj5
= 0 ;
28179 char *kwnames
[] = {
28180 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
28183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28186 arg2
= (int)SWIG_As_int(obj1
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28188 arg3
= (int)SWIG_As_int(obj2
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28190 arg4
= (int)SWIG_As_int(obj3
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28192 arg5
= (int)SWIG_As_int(obj4
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28195 arg6
= (bool)SWIG_As_bool(obj5
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28205 Py_INCREF(Py_None
); resultobj
= Py_None
;
28212 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxWindow
*arg1
= (wxWindow
*) 0 ;
28217 bool arg4
= (bool) true ;
28218 PyObject
* obj0
= 0 ;
28219 PyObject
* obj1
= 0 ;
28220 PyObject
* obj2
= 0 ;
28221 PyObject
* obj3
= 0 ;
28222 char *kwnames
[] = {
28223 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
28226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28229 arg2
= (int)SWIG_As_int(obj1
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28231 arg3
= (int)SWIG_As_int(obj2
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28234 arg4
= (bool)SWIG_As_bool(obj3
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28244 Py_INCREF(Py_None
); resultobj
= Py_None
;
28251 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
;
28253 wxWindow
*arg1
= (wxWindow
*) 0 ;
28256 PyObject
* obj0
= 0 ;
28257 PyObject
* obj1
= 0 ;
28258 char *kwnames
[] = {
28259 (char *) "self",(char *) "orientation", NULL
28262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
28263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28265 arg2
= (int)SWIG_As_int(obj1
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= SWIG_From_int((int)result
);
28281 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28282 PyObject
*resultobj
;
28283 wxWindow
*arg1
= (wxWindow
*) 0 ;
28286 PyObject
* obj0
= 0 ;
28287 PyObject
* obj1
= 0 ;
28288 char *kwnames
[] = {
28289 (char *) "self",(char *) "orientation", NULL
28292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
28293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28295 arg2
= (int)SWIG_As_int(obj1
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28299 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28304 resultobj
= SWIG_From_int((int)result
);
28311 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
;
28313 wxWindow
*arg1
= (wxWindow
*) 0 ;
28316 PyObject
* obj0
= 0 ;
28317 PyObject
* obj1
= 0 ;
28318 char *kwnames
[] = {
28319 (char *) "self",(char *) "orientation", NULL
28322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28325 arg2
= (int)SWIG_As_int(obj1
);
28326 if (PyErr_Occurred()) SWIG_fail
;
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= SWIG_From_int((int)result
);
28341 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
;
28343 wxWindow
*arg1
= (wxWindow
*) 0 ;
28346 wxRect
*arg4
= (wxRect
*) NULL
;
28347 PyObject
* obj0
= 0 ;
28348 PyObject
* obj1
= 0 ;
28349 PyObject
* obj2
= 0 ;
28350 PyObject
* obj3
= 0 ;
28351 char *kwnames
[] = {
28352 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28358 arg2
= (int)SWIG_As_int(obj1
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28360 arg3
= (int)SWIG_As_int(obj2
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28373 Py_INCREF(Py_None
); resultobj
= Py_None
;
28380 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
;
28382 wxWindow
*arg1
= (wxWindow
*) 0 ;
28385 PyObject
* obj0
= 0 ;
28386 PyObject
* obj1
= 0 ;
28387 char *kwnames
[] = {
28388 (char *) "self",(char *) "lines", NULL
28391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28394 arg2
= (int)SWIG_As_int(obj1
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (bool)(arg1
)->ScrollLines(arg2
);
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28412 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
;
28414 wxWindow
*arg1
= (wxWindow
*) 0 ;
28417 PyObject
* obj0
= 0 ;
28418 PyObject
* obj1
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "self",(char *) "pages", NULL
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28426 arg2
= (int)SWIG_As_int(obj1
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (bool)(arg1
)->ScrollPages(arg2
);
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28444 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
;
28446 wxWindow
*arg1
= (wxWindow
*) 0 ;
28448 PyObject
* obj0
= 0 ;
28449 char *kwnames
[] = {
28450 (char *) "self", NULL
28453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 result
= (bool)(arg1
)->LineUp();
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28472 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28473 PyObject
*resultobj
;
28474 wxWindow
*arg1
= (wxWindow
*) 0 ;
28476 PyObject
* obj0
= 0 ;
28477 char *kwnames
[] = {
28478 (char *) "self", NULL
28481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 result
= (bool)(arg1
)->LineDown();
28488 wxPyEndAllowThreads(__tstate
);
28489 if (PyErr_Occurred()) SWIG_fail
;
28492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28500 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28501 PyObject
*resultobj
;
28502 wxWindow
*arg1
= (wxWindow
*) 0 ;
28504 PyObject
* obj0
= 0 ;
28505 char *kwnames
[] = {
28506 (char *) "self", NULL
28509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 result
= (bool)(arg1
)->PageUp();
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28528 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28529 PyObject
*resultobj
;
28530 wxWindow
*arg1
= (wxWindow
*) 0 ;
28532 PyObject
* obj0
= 0 ;
28533 char *kwnames
[] = {
28534 (char *) "self", NULL
28537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 result
= (bool)(arg1
)->PageDown();
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28556 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
;
28558 wxWindow
*arg1
= (wxWindow
*) 0 ;
28559 wxString
*arg2
= 0 ;
28560 bool temp2
= false ;
28561 PyObject
* obj0
= 0 ;
28562 PyObject
* obj1
= 0 ;
28563 char *kwnames
[] = {
28564 (char *) "self",(char *) "text", NULL
28567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28571 arg2
= wxString_in_helper(obj1
);
28572 if (arg2
== NULL
) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 Py_INCREF(Py_None
); resultobj
= Py_None
;
28597 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
;
28599 wxWindow
*arg1
= (wxWindow
*) 0 ;
28600 wxString
*arg2
= 0 ;
28601 bool temp2
= false ;
28602 PyObject
* obj0
= 0 ;
28603 PyObject
* obj1
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self",(char *) "text", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28612 arg2
= wxString_in_helper(obj1
);
28613 if (arg2
== NULL
) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 Py_INCREF(Py_None
); resultobj
= Py_None
;
28638 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxWindow
*arg1
= (wxWindow
*) 0 ;
28642 PyObject
* obj0
= 0 ;
28643 char *kwnames
[] = {
28644 (char *) "self", NULL
28647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28652 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28670 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
;
28672 wxWindow
*arg1
= (wxWindow
*) 0 ;
28673 wxString
*arg2
= 0 ;
28674 bool temp2
= false ;
28675 PyObject
* obj0
= 0 ;
28676 PyObject
* obj1
= 0 ;
28677 char *kwnames
[] = {
28678 (char *) "self",(char *) "tip", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28685 arg2
= wxString_in_helper(obj1
);
28686 if (arg2
== NULL
) SWIG_fail
;
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28696 Py_INCREF(Py_None
); resultobj
= Py_None
;
28711 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28712 PyObject
*resultobj
;
28713 wxWindow
*arg1
= (wxWindow
*) 0 ;
28714 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28715 PyObject
* obj0
= 0 ;
28716 PyObject
* obj1
= 0 ;
28717 char *kwnames
[] = {
28718 (char *) "self",(char *) "tip", NULL
28721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 (arg1
)->SetToolTip(arg2
);
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 Py_INCREF(Py_None
); resultobj
= Py_None
;
28740 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxWindow
*arg1
= (wxWindow
*) 0 ;
28744 PyObject
* obj0
= 0 ;
28745 char *kwnames
[] = {
28746 (char *) "self", NULL
28749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28760 resultobj
= wxPyMake_wxObject(result
, 0);
28768 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28769 PyObject
*resultobj
;
28770 wxWindow
*arg1
= (wxWindow
*) 0 ;
28771 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28772 PyObject
* obj0
= 0 ;
28773 PyObject
* obj1
= 0 ;
28774 char *kwnames
[] = {
28775 (char *) "self",(char *) "dropTarget", NULL
28778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28782 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 (arg1
)->SetDropTarget(arg2
);
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28790 Py_INCREF(Py_None
); resultobj
= Py_None
;
28797 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
;
28799 wxWindow
*arg1
= (wxWindow
*) 0 ;
28800 wxPyDropTarget
*result
;
28801 PyObject
* obj0
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28823 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
;
28825 wxWindow
*arg1
= (wxWindow
*) 0 ;
28827 PyObject
* obj0
= 0 ;
28828 PyObject
* obj1
= 0 ;
28829 char *kwnames
[] = {
28830 (char *) "self",(char *) "accept", NULL
28833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28836 arg2
= (bool)SWIG_As_bool(obj1
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 (arg1
)->DragAcceptFiles(arg2
);
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 Py_INCREF(Py_None
); resultobj
= Py_None
;
28852 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
;
28854 wxWindow
*arg1
= (wxWindow
*) 0 ;
28855 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char *kwnames
[] = {
28859 (char *) "self",(char *) "constraints", NULL
28862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 (arg1
)->SetConstraints(arg2
);
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28874 Py_INCREF(Py_None
); resultobj
= Py_None
;
28881 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
;
28883 wxWindow
*arg1
= (wxWindow
*) 0 ;
28884 wxLayoutConstraints
*result
;
28885 PyObject
* obj0
= 0 ;
28886 char *kwnames
[] = {
28887 (char *) "self", NULL
28890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28907 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxWindow
*arg1
= (wxWindow
*) 0 ;
28911 PyObject
* obj0
= 0 ;
28912 PyObject
* obj1
= 0 ;
28913 char *kwnames
[] = {
28914 (char *) "self",(char *) "autoLayout", NULL
28917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28920 arg2
= (bool)SWIG_As_bool(obj1
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28924 (arg1
)->SetAutoLayout(arg2
);
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 Py_INCREF(Py_None
); resultobj
= Py_None
;
28936 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
;
28938 wxWindow
*arg1
= (wxWindow
*) 0 ;
28940 PyObject
* obj0
= 0 ;
28941 char *kwnames
[] = {
28942 (char *) "self", NULL
28945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28964 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28965 PyObject
*resultobj
;
28966 wxWindow
*arg1
= (wxWindow
*) 0 ;
28968 PyObject
* obj0
= 0 ;
28969 char *kwnames
[] = {
28970 (char *) "self", NULL
28973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28978 result
= (bool)(arg1
)->Layout();
28980 wxPyEndAllowThreads(__tstate
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28992 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28993 PyObject
*resultobj
;
28994 wxWindow
*arg1
= (wxWindow
*) 0 ;
28995 wxSizer
*arg2
= (wxSizer
*) 0 ;
28996 bool arg3
= (bool) true ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 PyObject
* obj2
= 0 ;
29000 char *kwnames
[] = {
29001 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
29004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
29008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29010 arg3
= (bool)SWIG_As_bool(obj2
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 (arg1
)->SetSizer(arg2
,arg3
);
29017 wxPyEndAllowThreads(__tstate
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29020 Py_INCREF(Py_None
); resultobj
= Py_None
;
29027 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29028 PyObject
*resultobj
;
29029 wxWindow
*arg1
= (wxWindow
*) 0 ;
29030 wxSizer
*arg2
= (wxSizer
*) 0 ;
29031 bool arg3
= (bool) true ;
29032 PyObject
* obj0
= 0 ;
29033 PyObject
* obj1
= 0 ;
29034 PyObject
* obj2
= 0 ;
29035 char *kwnames
[] = {
29036 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
29039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
29043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29045 arg3
= (bool)SWIG_As_bool(obj2
);
29046 if (PyErr_Occurred()) SWIG_fail
;
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29050 (arg1
)->SetSizerAndFit(arg2
,arg3
);
29052 wxPyEndAllowThreads(__tstate
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29055 Py_INCREF(Py_None
); resultobj
= Py_None
;
29062 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29063 PyObject
*resultobj
;
29064 wxWindow
*arg1
= (wxWindow
*) 0 ;
29066 PyObject
* obj0
= 0 ;
29067 char *kwnames
[] = {
29068 (char *) "self", NULL
29071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
29072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= wxPyMake_wxSizer(result
, 0);
29090 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxWindow
*arg1
= (wxWindow
*) 0 ;
29093 wxSizer
*arg2
= (wxSizer
*) 0 ;
29094 PyObject
* obj0
= 0 ;
29095 PyObject
* obj1
= 0 ;
29096 char *kwnames
[] = {
29097 (char *) "self",(char *) "sizer", NULL
29100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
29101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
29104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29107 (arg1
)->SetContainingSizer(arg2
);
29109 wxPyEndAllowThreads(__tstate
);
29110 if (PyErr_Occurred()) SWIG_fail
;
29112 Py_INCREF(Py_None
); resultobj
= Py_None
;
29119 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29120 PyObject
*resultobj
;
29121 wxWindow
*arg1
= (wxWindow
*) 0 ;
29123 PyObject
* obj0
= 0 ;
29124 char *kwnames
[] = {
29125 (char *) "self", NULL
29128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
29129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= wxPyMake_wxSizer(result
, 0);
29147 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
;
29149 wxWindow
*arg1
= (wxWindow
*) 0 ;
29150 PyObject
* obj0
= 0 ;
29151 char *kwnames
[] = {
29152 (char *) "self", NULL
29155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
29156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 (arg1
)->InheritAttributes();
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29165 Py_INCREF(Py_None
); resultobj
= Py_None
;
29172 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
;
29174 wxWindow
*arg1
= (wxWindow
*) 0 ;
29176 PyObject
* obj0
= 0 ;
29177 char *kwnames
[] = {
29178 (char *) "self", NULL
29181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29186 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
29188 wxPyEndAllowThreads(__tstate
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29200 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
29202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29203 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
29205 return Py_BuildValue((char *)"");
29207 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
;
29210 wxWindow
*arg2
= (wxWindow
*) NULL
;
29212 PyObject
* obj0
= 0 ;
29213 PyObject
* obj1
= 0 ;
29214 char *kwnames
[] = {
29215 (char *) "id",(char *) "parent", NULL
29218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
29219 arg1
= (long)SWIG_As_long(obj0
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29226 if (!wxPyCheckForApp()) SWIG_fail
;
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
29230 wxPyEndAllowThreads(__tstate
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= wxPyMake_wxObject(result
, 0);
29242 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29243 PyObject
*resultobj
;
29244 wxString
*arg1
= 0 ;
29245 wxWindow
*arg2
= (wxWindow
*) NULL
;
29247 bool temp1
= false ;
29248 PyObject
* obj0
= 0 ;
29249 PyObject
* obj1
= 0 ;
29250 char *kwnames
[] = {
29251 (char *) "name",(char *) "parent", NULL
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
29256 arg1
= wxString_in_helper(obj0
);
29257 if (arg1
== NULL
) SWIG_fail
;
29261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29265 if (!wxPyCheckForApp()) SWIG_fail
;
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29273 resultobj
= wxPyMake_wxObject(result
, 0);
29289 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxString
*arg1
= 0 ;
29292 wxWindow
*arg2
= (wxWindow
*) NULL
;
29294 bool temp1
= false ;
29295 PyObject
* obj0
= 0 ;
29296 PyObject
* obj1
= 0 ;
29297 char *kwnames
[] = {
29298 (char *) "label",(char *) "parent", NULL
29301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29303 arg1
= wxString_in_helper(obj0
);
29304 if (arg1
== NULL
) SWIG_fail
;
29308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29312 if (!wxPyCheckForApp()) SWIG_fail
;
29313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29314 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= wxPyMake_wxObject(result
, 0);
29336 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
;
29338 wxWindow
*arg1
= (wxWindow
*) 0 ;
29339 unsigned long arg2
;
29341 PyObject
* obj0
= 0 ;
29342 PyObject
* obj1
= 0 ;
29343 char *kwnames
[] = {
29344 (char *) "parent",(char *) "_hWnd", NULL
29347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29350 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29354 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29360 resultobj
= wxPyMake_wxObject(result
, 0);
29368 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
;
29370 wxValidator
*result
;
29371 char *kwnames
[] = {
29375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29378 result
= (wxValidator
*)new wxValidator();
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29390 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
;
29392 wxValidator
*arg1
= (wxValidator
*) 0 ;
29393 wxValidator
*result
;
29394 PyObject
* obj0
= 0 ;
29395 char *kwnames
[] = {
29396 (char *) "self", NULL
29399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29404 result
= (wxValidator
*)(arg1
)->Clone();
29406 wxPyEndAllowThreads(__tstate
);
29407 if (PyErr_Occurred()) SWIG_fail
;
29410 resultobj
= wxPyMake_wxObject(result
, 0);
29418 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29419 PyObject
*resultobj
;
29420 wxValidator
*arg1
= (wxValidator
*) 0 ;
29421 wxWindow
*arg2
= (wxWindow
*) 0 ;
29423 PyObject
* obj0
= 0 ;
29424 PyObject
* obj1
= 0 ;
29425 char *kwnames
[] = {
29426 (char *) "self",(char *) "parent", NULL
29429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 result
= (bool)(arg1
)->Validate(arg2
);
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29450 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29451 PyObject
*resultobj
;
29452 wxValidator
*arg1
= (wxValidator
*) 0 ;
29454 PyObject
* obj0
= 0 ;
29455 char *kwnames
[] = {
29456 (char *) "self", NULL
29459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29464 result
= (bool)(arg1
)->TransferToWindow();
29466 wxPyEndAllowThreads(__tstate
);
29467 if (PyErr_Occurred()) SWIG_fail
;
29470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29478 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
;
29480 wxValidator
*arg1
= (wxValidator
*) 0 ;
29482 PyObject
* obj0
= 0 ;
29483 char *kwnames
[] = {
29484 (char *) "self", NULL
29487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= (bool)(arg1
)->TransferFromWindow();
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29506 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
;
29508 wxValidator
*arg1
= (wxValidator
*) 0 ;
29510 PyObject
* obj0
= 0 ;
29511 char *kwnames
[] = {
29512 (char *) "self", NULL
29515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (wxWindow
*)(arg1
)->GetWindow();
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29526 resultobj
= wxPyMake_wxObject(result
, 0);
29534 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
;
29536 wxValidator
*arg1
= (wxValidator
*) 0 ;
29537 wxWindow
*arg2
= (wxWindow
*) 0 ;
29538 PyObject
* obj0
= 0 ;
29539 PyObject
* obj1
= 0 ;
29540 char *kwnames
[] = {
29541 (char *) "self",(char *) "window", NULL
29544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29551 (arg1
)->SetWindow(arg2
);
29553 wxPyEndAllowThreads(__tstate
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29556 Py_INCREF(Py_None
); resultobj
= Py_None
;
29563 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29564 PyObject
*resultobj
;
29566 char *kwnames
[] = {
29570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (bool)wxValidator::IsSilent();
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29587 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
;
29589 int arg1
= (int) true ;
29590 PyObject
* obj0
= 0 ;
29591 char *kwnames
[] = {
29592 (char *) "doIt", NULL
29595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29597 arg1
= (int)SWIG_As_int(obj0
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29602 wxValidator::SetBellOnError(arg1
);
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29607 Py_INCREF(Py_None
); resultobj
= Py_None
;
29614 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29617 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29619 return Py_BuildValue((char *)"");
29621 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29622 PyObject
*resultobj
;
29623 wxPyValidator
*result
;
29624 char *kwnames
[] = {
29628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29631 result
= (wxPyValidator
*)new wxPyValidator();
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29643 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
;
29645 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29646 PyObject
*arg2
= (PyObject
*) 0 ;
29647 PyObject
*arg3
= (PyObject
*) 0 ;
29648 int arg4
= (int) true ;
29649 PyObject
* obj0
= 0 ;
29650 PyObject
* obj1
= 0 ;
29651 PyObject
* obj2
= 0 ;
29652 PyObject
* obj3
= 0 ;
29653 char *kwnames
[] = {
29654 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29663 arg4
= (int)SWIG_As_int(obj3
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29673 Py_INCREF(Py_None
); resultobj
= Py_None
;
29680 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29683 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29685 return Py_BuildValue((char *)"");
29687 static int _wrap_DefaultValidator_set(PyObject
*) {
29688 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29693 static PyObject
*_wrap_DefaultValidator_get() {
29696 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29701 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
;
29703 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29704 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29705 long arg2
= (long) 0 ;
29707 bool temp1
= false ;
29708 PyObject
* obj0
= 0 ;
29709 PyObject
* obj1
= 0 ;
29710 char *kwnames
[] = {
29711 (char *) "title",(char *) "style", NULL
29714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29717 arg1
= wxString_in_helper(obj0
);
29718 if (arg1
== NULL
) SWIG_fail
;
29723 arg2
= (long)SWIG_As_long(obj1
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29727 if (!wxPyCheckForApp()) SWIG_fail
;
29728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29729 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29731 wxPyEndAllowThreads(__tstate
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29749 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
;
29751 wxMenu
*arg1
= (wxMenu
*) 0 ;
29753 wxString
*arg3
= 0 ;
29754 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29755 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29756 int arg5
= (int) wxITEM_NORMAL
;
29757 wxMenuItem
*result
;
29758 bool temp3
= false ;
29759 bool temp4
= false ;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 PyObject
* obj2
= 0 ;
29763 PyObject
* obj3
= 0 ;
29764 PyObject
* obj4
= 0 ;
29765 char *kwnames
[] = {
29766 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29772 arg2
= (int)SWIG_As_int(obj1
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29775 arg3
= wxString_in_helper(obj2
);
29776 if (arg3
== NULL
) SWIG_fail
;
29781 arg4
= wxString_in_helper(obj3
);
29782 if (arg4
== NULL
) SWIG_fail
;
29787 arg5
= (int)SWIG_As_int(obj4
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29798 resultobj
= wxPyMake_wxObject(result
, 0);
29822 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
;
29824 wxMenu
*arg1
= (wxMenu
*) 0 ;
29825 wxMenuItem
*result
;
29826 PyObject
* obj0
= 0 ;
29827 char *kwnames
[] = {
29828 (char *) "self", NULL
29831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29838 wxPyEndAllowThreads(__tstate
);
29839 if (PyErr_Occurred()) SWIG_fail
;
29842 resultobj
= wxPyMake_wxObject(result
, 0);
29850 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
;
29852 wxMenu
*arg1
= (wxMenu
*) 0 ;
29854 wxString
*arg3
= 0 ;
29855 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29856 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29857 wxMenuItem
*result
;
29858 bool temp3
= false ;
29859 bool temp4
= false ;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 PyObject
* obj2
= 0 ;
29863 PyObject
* obj3
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29871 arg2
= (int)SWIG_As_int(obj1
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29874 arg3
= wxString_in_helper(obj2
);
29875 if (arg3
== NULL
) SWIG_fail
;
29880 arg4
= wxString_in_helper(obj3
);
29881 if (arg4
== NULL
) SWIG_fail
;
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= wxPyMake_wxObject(result
, 0);
29917 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29918 PyObject
*resultobj
;
29919 wxMenu
*arg1
= (wxMenu
*) 0 ;
29921 wxString
*arg3
= 0 ;
29922 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29923 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29924 wxMenuItem
*result
;
29925 bool temp3
= false ;
29926 bool temp4
= false ;
29927 PyObject
* obj0
= 0 ;
29928 PyObject
* obj1
= 0 ;
29929 PyObject
* obj2
= 0 ;
29930 PyObject
* obj3
= 0 ;
29931 char *kwnames
[] = {
29932 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29938 arg2
= (int)SWIG_As_int(obj1
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 arg3
= wxString_in_helper(obj2
);
29942 if (arg3
== NULL
) SWIG_fail
;
29947 arg4
= wxString_in_helper(obj3
);
29948 if (arg4
== NULL
) SWIG_fail
;
29953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29954 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= wxPyMake_wxObject(result
, 0);
29984 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29985 PyObject
*resultobj
;
29986 wxMenu
*arg1
= (wxMenu
*) 0 ;
29988 wxString
*arg3
= 0 ;
29989 wxMenu
*arg4
= (wxMenu
*) 0 ;
29990 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29991 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29992 wxMenuItem
*result
;
29993 bool temp3
= false ;
29994 bool temp5
= false ;
29995 PyObject
* obj0
= 0 ;
29996 PyObject
* obj1
= 0 ;
29997 PyObject
* obj2
= 0 ;
29998 PyObject
* obj3
= 0 ;
29999 PyObject
* obj4
= 0 ;
30000 char *kwnames
[] = {
30001 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30007 arg2
= (int)SWIG_As_int(obj1
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30010 arg3
= wxString_in_helper(obj2
);
30011 if (arg3
== NULL
) SWIG_fail
;
30014 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30018 arg5
= wxString_in_helper(obj4
);
30019 if (arg5
== NULL
) SWIG_fail
;
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30027 wxPyEndAllowThreads(__tstate
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30031 resultobj
= wxPyMake_wxObject(result
, 0);
30055 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
;
30057 wxMenu
*arg1
= (wxMenu
*) 0 ;
30058 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30059 wxMenuItem
*result
;
30060 PyObject
* obj0
= 0 ;
30061 PyObject
* obj1
= 0 ;
30062 char *kwnames
[] = {
30063 (char *) "self",(char *) "item", NULL
30066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30073 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
30075 wxPyEndAllowThreads(__tstate
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30079 resultobj
= wxPyMake_wxObject(result
, 0);
30087 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
;
30089 wxMenu
*arg1
= (wxMenu
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 char *kwnames
[] = {
30092 (char *) "self", NULL
30095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
30096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30105 Py_INCREF(Py_None
); resultobj
= Py_None
;
30112 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30113 PyObject
*resultobj
;
30114 wxMenu
*arg1
= (wxMenu
*) 0 ;
30116 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
30117 wxMenuItem
*result
;
30118 PyObject
* obj0
= 0 ;
30119 PyObject
* obj1
= 0 ;
30120 PyObject
* obj2
= 0 ;
30121 char *kwnames
[] = {
30122 (char *) "self",(char *) "pos",(char *) "item", NULL
30125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30128 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30130 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
30131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30140 resultobj
= wxPyMake_wxObject(result
, 0);
30148 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30149 PyObject
*resultobj
;
30150 wxMenu
*arg1
= (wxMenu
*) 0 ;
30153 wxString
*arg4
= 0 ;
30154 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30155 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30156 int arg6
= (int) wxITEM_NORMAL
;
30157 wxMenuItem
*result
;
30158 bool temp4
= false ;
30159 bool temp5
= false ;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30162 PyObject
* obj2
= 0 ;
30163 PyObject
* obj3
= 0 ;
30164 PyObject
* obj4
= 0 ;
30165 PyObject
* obj5
= 0 ;
30166 char *kwnames
[] = {
30167 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30173 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30175 arg3
= (int)SWIG_As_int(obj2
);
30176 if (PyErr_Occurred()) SWIG_fail
;
30178 arg4
= wxString_in_helper(obj3
);
30179 if (arg4
== NULL
) SWIG_fail
;
30184 arg5
= wxString_in_helper(obj4
);
30185 if (arg5
== NULL
) SWIG_fail
;
30190 arg6
= (int)SWIG_As_int(obj5
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= wxPyMake_wxObject(result
, 0);
30225 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30226 PyObject
*resultobj
;
30227 wxMenu
*arg1
= (wxMenu
*) 0 ;
30229 wxMenuItem
*result
;
30230 PyObject
* obj0
= 0 ;
30231 PyObject
* obj1
= 0 ;
30232 char *kwnames
[] = {
30233 (char *) "self",(char *) "pos", NULL
30236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
30237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30239 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30249 resultobj
= wxPyMake_wxObject(result
, 0);
30257 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30258 PyObject
*resultobj
;
30259 wxMenu
*arg1
= (wxMenu
*) 0 ;
30262 wxString
*arg4
= 0 ;
30263 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30264 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30265 wxMenuItem
*result
;
30266 bool temp4
= false ;
30267 bool temp5
= false ;
30268 PyObject
* obj0
= 0 ;
30269 PyObject
* obj1
= 0 ;
30270 PyObject
* obj2
= 0 ;
30271 PyObject
* obj3
= 0 ;
30272 PyObject
* obj4
= 0 ;
30273 char *kwnames
[] = {
30274 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30280 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30282 arg3
= (int)SWIG_As_int(obj2
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30285 arg4
= wxString_in_helper(obj3
);
30286 if (arg4
== NULL
) SWIG_fail
;
30291 arg5
= wxString_in_helper(obj4
);
30292 if (arg5
== NULL
) SWIG_fail
;
30297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30298 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= wxPyMake_wxObject(result
, 0);
30328 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30329 PyObject
*resultobj
;
30330 wxMenu
*arg1
= (wxMenu
*) 0 ;
30333 wxString
*arg4
= 0 ;
30334 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30335 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30336 wxMenuItem
*result
;
30337 bool temp4
= false ;
30338 bool temp5
= false ;
30339 PyObject
* obj0
= 0 ;
30340 PyObject
* obj1
= 0 ;
30341 PyObject
* obj2
= 0 ;
30342 PyObject
* obj3
= 0 ;
30343 PyObject
* obj4
= 0 ;
30344 char *kwnames
[] = {
30345 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30351 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30353 arg3
= (int)SWIG_As_int(obj2
);
30354 if (PyErr_Occurred()) SWIG_fail
;
30356 arg4
= wxString_in_helper(obj3
);
30357 if (arg4
== NULL
) SWIG_fail
;
30362 arg5
= wxString_in_helper(obj4
);
30363 if (arg5
== NULL
) SWIG_fail
;
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30371 wxPyEndAllowThreads(__tstate
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30375 resultobj
= wxPyMake_wxObject(result
, 0);
30399 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30400 PyObject
*resultobj
;
30401 wxMenu
*arg1
= (wxMenu
*) 0 ;
30404 wxString
*arg4
= 0 ;
30405 wxMenu
*arg5
= (wxMenu
*) 0 ;
30406 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30407 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30408 wxMenuItem
*result
;
30409 bool temp4
= false ;
30410 bool temp6
= false ;
30411 PyObject
* obj0
= 0 ;
30412 PyObject
* obj1
= 0 ;
30413 PyObject
* obj2
= 0 ;
30414 PyObject
* obj3
= 0 ;
30415 PyObject
* obj4
= 0 ;
30416 PyObject
* obj5
= 0 ;
30417 char *kwnames
[] = {
30418 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30424 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30426 arg3
= (int)SWIG_As_int(obj2
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 arg4
= wxString_in_helper(obj3
);
30430 if (arg4
== NULL
) SWIG_fail
;
30433 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30437 arg6
= wxString_in_helper(obj5
);
30438 if (arg6
== NULL
) SWIG_fail
;
30443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30444 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30450 resultobj
= wxPyMake_wxObject(result
, 0);
30474 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30475 PyObject
*resultobj
;
30476 wxMenu
*arg1
= (wxMenu
*) 0 ;
30477 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30478 wxMenuItem
*result
;
30479 PyObject
* obj0
= 0 ;
30480 PyObject
* obj1
= 0 ;
30481 char *kwnames
[] = {
30482 (char *) "self",(char *) "item", NULL
30485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30494 wxPyEndAllowThreads(__tstate
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30498 resultobj
= wxPyMake_wxObject(result
, 0);
30506 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30507 PyObject
*resultobj
;
30508 wxMenu
*arg1
= (wxMenu
*) 0 ;
30510 wxString
*arg3
= 0 ;
30511 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30512 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30513 int arg5
= (int) wxITEM_NORMAL
;
30514 wxMenuItem
*result
;
30515 bool temp3
= false ;
30516 bool temp4
= false ;
30517 PyObject
* obj0
= 0 ;
30518 PyObject
* obj1
= 0 ;
30519 PyObject
* obj2
= 0 ;
30520 PyObject
* obj3
= 0 ;
30521 PyObject
* obj4
= 0 ;
30522 char *kwnames
[] = {
30523 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30529 arg2
= (int)SWIG_As_int(obj1
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30532 arg3
= wxString_in_helper(obj2
);
30533 if (arg3
== NULL
) SWIG_fail
;
30538 arg4
= wxString_in_helper(obj3
);
30539 if (arg4
== NULL
) SWIG_fail
;
30544 arg5
= (int)SWIG_As_int(obj4
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30555 resultobj
= wxPyMake_wxObject(result
, 0);
30579 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30580 PyObject
*resultobj
;
30581 wxMenu
*arg1
= (wxMenu
*) 0 ;
30582 wxMenuItem
*result
;
30583 PyObject
* obj0
= 0 ;
30584 char *kwnames
[] = {
30585 (char *) "self", NULL
30588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= wxPyMake_wxObject(result
, 0);
30607 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxMenu
*arg1
= (wxMenu
*) 0 ;
30611 wxString
*arg3
= 0 ;
30612 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30613 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30614 wxMenuItem
*result
;
30615 bool temp3
= false ;
30616 bool temp4
= false ;
30617 PyObject
* obj0
= 0 ;
30618 PyObject
* obj1
= 0 ;
30619 PyObject
* obj2
= 0 ;
30620 PyObject
* obj3
= 0 ;
30621 char *kwnames
[] = {
30622 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30628 arg2
= (int)SWIG_As_int(obj1
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30631 arg3
= wxString_in_helper(obj2
);
30632 if (arg3
== NULL
) SWIG_fail
;
30637 arg4
= wxString_in_helper(obj3
);
30638 if (arg4
== NULL
) SWIG_fail
;
30643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30644 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30646 wxPyEndAllowThreads(__tstate
);
30647 if (PyErr_Occurred()) SWIG_fail
;
30650 resultobj
= wxPyMake_wxObject(result
, 0);
30674 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30675 PyObject
*resultobj
;
30676 wxMenu
*arg1
= (wxMenu
*) 0 ;
30678 wxString
*arg3
= 0 ;
30679 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30680 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30681 wxMenuItem
*result
;
30682 bool temp3
= false ;
30683 bool temp4
= false ;
30684 PyObject
* obj0
= 0 ;
30685 PyObject
* obj1
= 0 ;
30686 PyObject
* obj2
= 0 ;
30687 PyObject
* obj3
= 0 ;
30688 char *kwnames
[] = {
30689 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30695 arg2
= (int)SWIG_As_int(obj1
);
30696 if (PyErr_Occurred()) SWIG_fail
;
30698 arg3
= wxString_in_helper(obj2
);
30699 if (arg3
== NULL
) SWIG_fail
;
30704 arg4
= wxString_in_helper(obj3
);
30705 if (arg4
== NULL
) SWIG_fail
;
30710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30711 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30717 resultobj
= wxPyMake_wxObject(result
, 0);
30741 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30742 PyObject
*resultobj
;
30743 wxMenu
*arg1
= (wxMenu
*) 0 ;
30745 wxString
*arg3
= 0 ;
30746 wxMenu
*arg4
= (wxMenu
*) 0 ;
30747 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30748 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30749 wxMenuItem
*result
;
30750 bool temp3
= false ;
30751 bool temp5
= false ;
30752 PyObject
* obj0
= 0 ;
30753 PyObject
* obj1
= 0 ;
30754 PyObject
* obj2
= 0 ;
30755 PyObject
* obj3
= 0 ;
30756 PyObject
* obj4
= 0 ;
30757 char *kwnames
[] = {
30758 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30764 arg2
= (int)SWIG_As_int(obj1
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 arg3
= wxString_in_helper(obj2
);
30768 if (arg3
== NULL
) SWIG_fail
;
30771 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30775 arg5
= wxString_in_helper(obj4
);
30776 if (arg5
== NULL
) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= wxPyMake_wxObject(result
, 0);
30812 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30813 PyObject
*resultobj
;
30814 wxMenu
*arg1
= (wxMenu
*) 0 ;
30816 wxMenuItem
*result
;
30817 PyObject
* obj0
= 0 ;
30818 PyObject
* obj1
= 0 ;
30819 char *kwnames
[] = {
30820 (char *) "self",(char *) "id", NULL
30823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30826 arg2
= (int)SWIG_As_int(obj1
);
30827 if (PyErr_Occurred()) SWIG_fail
;
30829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30830 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30836 resultobj
= wxPyMake_wxObject(result
, 0);
30844 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30845 PyObject
*resultobj
;
30846 wxMenu
*arg1
= (wxMenu
*) 0 ;
30847 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30848 wxMenuItem
*result
;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 char *kwnames
[] = {
30852 (char *) "self",(char *) "item", NULL
30855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= wxPyMake_wxObject(result
, 0);
30876 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
;
30878 wxMenu
*arg1
= (wxMenu
*) 0 ;
30881 PyObject
* obj0
= 0 ;
30882 PyObject
* obj1
= 0 ;
30883 char *kwnames
[] = {
30884 (char *) "self",(char *) "id", NULL
30887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30890 arg2
= (int)SWIG_As_int(obj1
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (bool)(arg1
)->Delete(arg2
);
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30908 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30909 PyObject
*resultobj
;
30910 wxMenu
*arg1
= (wxMenu
*) 0 ;
30911 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30913 PyObject
* obj0
= 0 ;
30914 PyObject
* obj1
= 0 ;
30915 char *kwnames
[] = {
30916 (char *) "self",(char *) "item", NULL
30919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30926 result
= (bool)(arg1
)->Delete(arg2
);
30928 wxPyEndAllowThreads(__tstate
);
30929 if (PyErr_Occurred()) SWIG_fail
;
30932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30940 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30941 PyObject
*resultobj
;
30942 wxMenu
*arg1
= (wxMenu
*) 0 ;
30943 PyObject
* obj0
= 0 ;
30944 char *kwnames
[] = {
30945 (char *) "self", NULL
30948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30953 wxMenu_Destroy(arg1
);
30955 wxPyEndAllowThreads(__tstate
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30958 Py_INCREF(Py_None
); resultobj
= Py_None
;
30965 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxMenu
*arg1
= (wxMenu
*) 0 ;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 char *kwnames
[] = {
30973 (char *) "self",(char *) "id", NULL
30976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30979 arg2
= (int)SWIG_As_int(obj1
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30983 result
= (bool)(arg1
)->Destroy(arg2
);
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30997 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30998 PyObject
*resultobj
;
30999 wxMenu
*arg1
= (wxMenu
*) 0 ;
31000 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
31002 PyObject
* obj0
= 0 ;
31003 PyObject
* obj1
= 0 ;
31004 char *kwnames
[] = {
31005 (char *) "self",(char *) "item", NULL
31008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
31012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31015 result
= (bool)(arg1
)->Destroy(arg2
);
31017 wxPyEndAllowThreads(__tstate
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31029 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31030 PyObject
*resultobj
;
31031 wxMenu
*arg1
= (wxMenu
*) 0 ;
31033 PyObject
* obj0
= 0 ;
31034 char *kwnames
[] = {
31035 (char *) "self", NULL
31038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
31039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31043 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31048 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31055 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31056 PyObject
*resultobj
;
31057 wxMenu
*arg1
= (wxMenu
*) 0 ;
31059 PyObject
* obj0
= 0 ;
31060 char *kwnames
[] = {
31061 (char *) "self", NULL
31064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
31065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
31071 wxPyEndAllowThreads(__tstate
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31074 resultobj
= result
;
31081 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
;
31083 wxMenu
*arg1
= (wxMenu
*) 0 ;
31084 wxString
*arg2
= 0 ;
31086 bool temp2
= false ;
31087 PyObject
* obj0
= 0 ;
31088 PyObject
* obj1
= 0 ;
31089 char *kwnames
[] = {
31090 (char *) "self",(char *) "item", NULL
31093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31097 arg2
= wxString_in_helper(obj1
);
31098 if (arg2
== NULL
) SWIG_fail
;
31102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31103 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
31105 wxPyEndAllowThreads(__tstate
);
31106 if (PyErr_Occurred()) SWIG_fail
;
31108 resultobj
= SWIG_From_int((int)result
);
31123 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31124 PyObject
*resultobj
;
31125 wxMenu
*arg1
= (wxMenu
*) 0 ;
31127 wxMenuItem
*result
;
31128 PyObject
* obj0
= 0 ;
31129 PyObject
* obj1
= 0 ;
31130 char *kwnames
[] = {
31131 (char *) "self",(char *) "id", NULL
31134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31137 arg2
= (int)SWIG_As_int(obj1
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31141 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
31143 wxPyEndAllowThreads(__tstate
);
31144 if (PyErr_Occurred()) SWIG_fail
;
31147 resultobj
= wxPyMake_wxObject(result
, 0);
31155 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31156 PyObject
*resultobj
;
31157 wxMenu
*arg1
= (wxMenu
*) 0 ;
31159 wxMenuItem
*result
;
31160 PyObject
* obj0
= 0 ;
31161 PyObject
* obj1
= 0 ;
31162 char *kwnames
[] = {
31163 (char *) "self",(char *) "position", NULL
31166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
31167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31169 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31179 resultobj
= wxPyMake_wxObject(result
, 0);
31187 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
;
31189 wxMenu
*arg1
= (wxMenu
*) 0 ;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 PyObject
* obj2
= 0 ;
31195 char *kwnames
[] = {
31196 (char *) "self",(char *) "id",(char *) "enable", NULL
31199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31202 arg2
= (int)SWIG_As_int(obj1
);
31203 if (PyErr_Occurred()) SWIG_fail
;
31204 arg3
= (bool)SWIG_As_bool(obj2
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 (arg1
)->Enable(arg2
,arg3
);
31210 wxPyEndAllowThreads(__tstate
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31213 Py_INCREF(Py_None
); resultobj
= Py_None
;
31220 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31221 PyObject
*resultobj
;
31222 wxMenu
*arg1
= (wxMenu
*) 0 ;
31225 PyObject
* obj0
= 0 ;
31226 PyObject
* obj1
= 0 ;
31227 char *kwnames
[] = {
31228 (char *) "self",(char *) "id", NULL
31231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31234 arg2
= (int)SWIG_As_int(obj1
);
31235 if (PyErr_Occurred()) SWIG_fail
;
31237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31238 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
31240 wxPyEndAllowThreads(__tstate
);
31241 if (PyErr_Occurred()) SWIG_fail
;
31244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31252 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31253 PyObject
*resultobj
;
31254 wxMenu
*arg1
= (wxMenu
*) 0 ;
31257 PyObject
* obj0
= 0 ;
31258 PyObject
* obj1
= 0 ;
31259 PyObject
* obj2
= 0 ;
31260 char *kwnames
[] = {
31261 (char *) "self",(char *) "id",(char *) "check", NULL
31264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31267 arg2
= (int)SWIG_As_int(obj1
);
31268 if (PyErr_Occurred()) SWIG_fail
;
31269 arg3
= (bool)SWIG_As_bool(obj2
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 (arg1
)->Check(arg2
,arg3
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31278 Py_INCREF(Py_None
); resultobj
= Py_None
;
31285 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
;
31287 wxMenu
*arg1
= (wxMenu
*) 0 ;
31290 PyObject
* obj0
= 0 ;
31291 PyObject
* obj1
= 0 ;
31292 char *kwnames
[] = {
31293 (char *) "self",(char *) "id", NULL
31296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31299 arg2
= (int)SWIG_As_int(obj1
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31303 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
31305 wxPyEndAllowThreads(__tstate
);
31306 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31317 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31318 PyObject
*resultobj
;
31319 wxMenu
*arg1
= (wxMenu
*) 0 ;
31321 wxString
*arg3
= 0 ;
31322 bool temp3
= false ;
31323 PyObject
* obj0
= 0 ;
31324 PyObject
* obj1
= 0 ;
31325 PyObject
* obj2
= 0 ;
31326 char *kwnames
[] = {
31327 (char *) "self",(char *) "id",(char *) "label", NULL
31330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31333 arg2
= (int)SWIG_As_int(obj1
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31336 arg3
= wxString_in_helper(obj2
);
31337 if (arg3
== NULL
) SWIG_fail
;
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31344 wxPyEndAllowThreads(__tstate
);
31345 if (PyErr_Occurred()) SWIG_fail
;
31347 Py_INCREF(Py_None
); resultobj
= Py_None
;
31362 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31363 PyObject
*resultobj
;
31364 wxMenu
*arg1
= (wxMenu
*) 0 ;
31367 PyObject
* obj0
= 0 ;
31368 PyObject
* obj1
= 0 ;
31369 char *kwnames
[] = {
31370 (char *) "self",(char *) "id", NULL
31373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31376 arg2
= (int)SWIG_As_int(obj1
);
31377 if (PyErr_Occurred()) SWIG_fail
;
31379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31380 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31398 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
;
31400 wxMenu
*arg1
= (wxMenu
*) 0 ;
31402 wxString
*arg3
= 0 ;
31403 bool temp3
= false ;
31404 PyObject
* obj0
= 0 ;
31405 PyObject
* obj1
= 0 ;
31406 PyObject
* obj2
= 0 ;
31407 char *kwnames
[] = {
31408 (char *) "self",(char *) "id",(char *) "helpString", NULL
31411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31414 arg2
= (int)SWIG_As_int(obj1
);
31415 if (PyErr_Occurred()) SWIG_fail
;
31417 arg3
= wxString_in_helper(obj2
);
31418 if (arg3
== NULL
) SWIG_fail
;
31422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31423 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31425 wxPyEndAllowThreads(__tstate
);
31426 if (PyErr_Occurred()) SWIG_fail
;
31428 Py_INCREF(Py_None
); resultobj
= Py_None
;
31443 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31444 PyObject
*resultobj
;
31445 wxMenu
*arg1
= (wxMenu
*) 0 ;
31448 PyObject
* obj0
= 0 ;
31449 PyObject
* obj1
= 0 ;
31450 char *kwnames
[] = {
31451 (char *) "self",(char *) "id", NULL
31454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31457 arg2
= (int)SWIG_As_int(obj1
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31461 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31463 wxPyEndAllowThreads(__tstate
);
31464 if (PyErr_Occurred()) SWIG_fail
;
31468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31479 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31480 PyObject
*resultobj
;
31481 wxMenu
*arg1
= (wxMenu
*) 0 ;
31482 wxString
*arg2
= 0 ;
31483 bool temp2
= false ;
31484 PyObject
* obj0
= 0 ;
31485 PyObject
* obj1
= 0 ;
31486 char *kwnames
[] = {
31487 (char *) "self",(char *) "title", NULL
31490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31494 arg2
= wxString_in_helper(obj1
);
31495 if (arg2
== NULL
) SWIG_fail
;
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 (arg1
)->SetTitle((wxString
const &)*arg2
);
31502 wxPyEndAllowThreads(__tstate
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31505 Py_INCREF(Py_None
); resultobj
= Py_None
;
31520 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
;
31522 wxMenu
*arg1
= (wxMenu
*) 0 ;
31524 PyObject
* obj0
= 0 ;
31525 char *kwnames
[] = {
31526 (char *) "self", NULL
31529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 result
= ((wxMenu
const *)arg1
)->GetTitle();
31536 wxPyEndAllowThreads(__tstate
);
31537 if (PyErr_Occurred()) SWIG_fail
;
31541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31552 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31553 PyObject
*resultobj
;
31554 wxMenu
*arg1
= (wxMenu
*) 0 ;
31555 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31556 PyObject
* obj0
= 0 ;
31557 PyObject
* obj1
= 0 ;
31558 char *kwnames
[] = {
31559 (char *) "self",(char *) "handler", NULL
31562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31569 (arg1
)->SetEventHandler(arg2
);
31571 wxPyEndAllowThreads(__tstate
);
31572 if (PyErr_Occurred()) SWIG_fail
;
31574 Py_INCREF(Py_None
); resultobj
= Py_None
;
31581 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31582 PyObject
*resultobj
;
31583 wxMenu
*arg1
= (wxMenu
*) 0 ;
31584 wxEvtHandler
*result
;
31585 PyObject
* obj0
= 0 ;
31586 char *kwnames
[] = {
31587 (char *) "self", NULL
31590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31595 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31597 wxPyEndAllowThreads(__tstate
);
31598 if (PyErr_Occurred()) SWIG_fail
;
31601 resultobj
= wxPyMake_wxObject(result
, 0);
31609 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31610 PyObject
*resultobj
;
31611 wxMenu
*arg1
= (wxMenu
*) 0 ;
31612 wxWindow
*arg2
= (wxWindow
*) 0 ;
31613 PyObject
* obj0
= 0 ;
31614 PyObject
* obj1
= 0 ;
31615 char *kwnames
[] = {
31616 (char *) "self",(char *) "win", NULL
31619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 (arg1
)->SetInvokingWindow(arg2
);
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 Py_INCREF(Py_None
); resultobj
= Py_None
;
31638 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
;
31640 wxMenu
*arg1
= (wxMenu
*) 0 ;
31642 PyObject
* obj0
= 0 ;
31643 char *kwnames
[] = {
31644 (char *) "self", NULL
31647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31652 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= wxPyMake_wxObject(result
, 0);
31666 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31667 PyObject
*resultobj
;
31668 wxMenu
*arg1
= (wxMenu
*) 0 ;
31670 PyObject
* obj0
= 0 ;
31671 char *kwnames
[] = {
31672 (char *) "self", NULL
31675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31680 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31682 wxPyEndAllowThreads(__tstate
);
31683 if (PyErr_Occurred()) SWIG_fail
;
31685 resultobj
= SWIG_From_long((long)result
);
31692 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31693 PyObject
*resultobj
;
31694 wxMenu
*arg1
= (wxMenu
*) 0 ;
31695 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31696 PyObject
* obj0
= 0 ;
31697 PyObject
* obj1
= 0 ;
31698 char *kwnames
[] = {
31699 (char *) "self",(char *) "source", NULL
31702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31711 (arg1
)->UpdateUI(arg2
);
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31716 Py_INCREF(Py_None
); resultobj
= Py_None
;
31723 static PyObject
*_wrap_Menu_GetMenuBar(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_GetMenuBar",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
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31739 wxPyEndAllowThreads(__tstate
);
31740 if (PyErr_Occurred()) SWIG_fail
;
31743 resultobj
= wxPyMake_wxObject(result
, 0);
31751 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31752 PyObject
*resultobj
;
31753 wxMenu
*arg1
= (wxMenu
*) 0 ;
31754 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31755 PyObject
* obj0
= 0 ;
31756 PyObject
* obj1
= 0 ;
31757 char *kwnames
[] = {
31758 (char *) "self",(char *) "menubar", NULL
31761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",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_wxMenuBarBase
,
31765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 (arg1
)->Attach(arg2
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 Py_INCREF(Py_None
); resultobj
= Py_None
;
31780 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
;
31782 wxMenu
*arg1
= (wxMenu
*) 0 ;
31783 PyObject
* obj0
= 0 ;
31784 char *kwnames
[] = {
31785 (char *) "self", NULL
31788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31795 wxPyEndAllowThreads(__tstate
);
31796 if (PyErr_Occurred()) SWIG_fail
;
31798 Py_INCREF(Py_None
); resultobj
= Py_None
;
31805 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31806 PyObject
*resultobj
;
31807 wxMenu
*arg1
= (wxMenu
*) 0 ;
31809 PyObject
* obj0
= 0 ;
31810 char *kwnames
[] = {
31811 (char *) "self", NULL
31814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31819 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31821 wxPyEndAllowThreads(__tstate
);
31822 if (PyErr_Occurred()) SWIG_fail
;
31825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31833 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31834 PyObject
*resultobj
;
31835 wxMenu
*arg1
= (wxMenu
*) 0 ;
31836 wxMenu
*arg2
= (wxMenu
*) 0 ;
31837 PyObject
* obj0
= 0 ;
31838 PyObject
* obj1
= 0 ;
31839 char *kwnames
[] = {
31840 (char *) "self",(char *) "parent", NULL
31843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 (arg1
)->SetParent(arg2
);
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31855 Py_INCREF(Py_None
); resultobj
= Py_None
;
31862 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31863 PyObject
*resultobj
;
31864 wxMenu
*arg1
= (wxMenu
*) 0 ;
31866 PyObject
* obj0
= 0 ;
31867 char *kwnames
[] = {
31868 (char *) "self", NULL
31871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31876 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= wxPyMake_wxObject(result
, 0);
31890 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31893 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31895 return Py_BuildValue((char *)"");
31897 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31898 PyObject
*resultobj
;
31899 long arg1
= (long) 0 ;
31901 PyObject
* obj0
= 0 ;
31902 char *kwnames
[] = {
31903 (char *) "style", NULL
31906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31908 arg1
= (long)SWIG_As_long(obj0
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31912 if (!wxPyCheckForApp()) SWIG_fail
;
31913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31914 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31916 wxPyEndAllowThreads(__tstate
);
31917 if (PyErr_Occurred()) SWIG_fail
;
31919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31926 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31927 PyObject
*resultobj
;
31928 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31929 wxMenu
*arg2
= (wxMenu
*) 0 ;
31930 wxString
*arg3
= 0 ;
31932 bool temp3
= false ;
31933 PyObject
* obj0
= 0 ;
31934 PyObject
* obj1
= 0 ;
31935 PyObject
* obj2
= 0 ;
31936 char *kwnames
[] = {
31937 (char *) "self",(char *) "menu",(char *) "title", NULL
31940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31946 arg3
= wxString_in_helper(obj2
);
31947 if (arg3
== NULL
) SWIG_fail
;
31951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31952 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31954 wxPyEndAllowThreads(__tstate
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31974 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31975 PyObject
*resultobj
;
31976 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31978 wxMenu
*arg3
= (wxMenu
*) 0 ;
31979 wxString
*arg4
= 0 ;
31981 bool temp4
= false ;
31982 PyObject
* obj0
= 0 ;
31983 PyObject
* obj1
= 0 ;
31984 PyObject
* obj2
= 0 ;
31985 PyObject
* obj3
= 0 ;
31986 char *kwnames
[] = {
31987 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31993 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31995 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31998 arg4
= wxString_in_helper(obj3
);
31999 if (arg4
== NULL
) SWIG_fail
;
32003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32004 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
32006 wxPyEndAllowThreads(__tstate
);
32007 if (PyErr_Occurred()) SWIG_fail
;
32010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32026 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
;
32028 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32030 PyObject
* obj0
= 0 ;
32031 char *kwnames
[] = {
32032 (char *) "self", NULL
32035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
32036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32040 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32045 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
32052 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
;
32054 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32057 PyObject
* obj0
= 0 ;
32058 PyObject
* obj1
= 0 ;
32059 char *kwnames
[] = {
32060 (char *) "self",(char *) "pos", NULL
32063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32066 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32067 if (PyErr_Occurred()) SWIG_fail
;
32069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32070 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
32072 wxPyEndAllowThreads(__tstate
);
32073 if (PyErr_Occurred()) SWIG_fail
;
32076 resultobj
= wxPyMake_wxObject(result
, 0);
32084 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
;
32086 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32088 wxMenu
*arg3
= (wxMenu
*) 0 ;
32089 wxString
*arg4
= 0 ;
32091 bool temp4
= false ;
32092 PyObject
* obj0
= 0 ;
32093 PyObject
* obj1
= 0 ;
32094 PyObject
* obj2
= 0 ;
32095 PyObject
* obj3
= 0 ;
32096 char *kwnames
[] = {
32097 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
32100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32103 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32104 if (PyErr_Occurred()) SWIG_fail
;
32105 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
32106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32108 arg4
= wxString_in_helper(obj3
);
32109 if (arg4
== NULL
) SWIG_fail
;
32113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32114 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
32116 wxPyEndAllowThreads(__tstate
);
32117 if (PyErr_Occurred()) SWIG_fail
;
32120 resultobj
= wxPyMake_wxObject(result
, 0);
32136 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32137 PyObject
*resultobj
;
32138 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32141 PyObject
* obj0
= 0 ;
32142 PyObject
* obj1
= 0 ;
32143 char *kwnames
[] = {
32144 (char *) "self",(char *) "pos", NULL
32147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
32148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32150 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32154 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
32156 wxPyEndAllowThreads(__tstate
);
32157 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= wxPyMake_wxObject(result
, 0);
32168 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32169 PyObject
*resultobj
;
32170 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32173 PyObject
* obj0
= 0 ;
32174 PyObject
* obj1
= 0 ;
32175 PyObject
* obj2
= 0 ;
32176 char *kwnames
[] = {
32177 (char *) "self",(char *) "pos",(char *) "enable", NULL
32180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32183 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32184 if (PyErr_Occurred()) SWIG_fail
;
32185 arg3
= (bool)SWIG_As_bool(obj2
);
32186 if (PyErr_Occurred()) SWIG_fail
;
32188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32189 (arg1
)->EnableTop(arg2
,arg3
);
32191 wxPyEndAllowThreads(__tstate
);
32192 if (PyErr_Occurred()) SWIG_fail
;
32194 Py_INCREF(Py_None
); resultobj
= Py_None
;
32201 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32202 PyObject
*resultobj
;
32203 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32206 PyObject
* obj0
= 0 ;
32207 PyObject
* obj1
= 0 ;
32208 char *kwnames
[] = {
32209 (char *) "self",(char *) "pos", NULL
32212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32215 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32216 if (PyErr_Occurred()) SWIG_fail
;
32218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32219 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
32221 wxPyEndAllowThreads(__tstate
);
32222 if (PyErr_Occurred()) SWIG_fail
;
32225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32233 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32234 PyObject
*resultobj
;
32235 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32237 wxString
*arg3
= 0 ;
32238 bool temp3
= false ;
32239 PyObject
* obj0
= 0 ;
32240 PyObject
* obj1
= 0 ;
32241 PyObject
* obj2
= 0 ;
32242 char *kwnames
[] = {
32243 (char *) "self",(char *) "pos",(char *) "label", NULL
32246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32249 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32252 arg3
= wxString_in_helper(obj2
);
32253 if (arg3
== NULL
) SWIG_fail
;
32257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32258 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
32260 wxPyEndAllowThreads(__tstate
);
32261 if (PyErr_Occurred()) SWIG_fail
;
32263 Py_INCREF(Py_None
); resultobj
= Py_None
;
32278 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32279 PyObject
*resultobj
;
32280 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32283 PyObject
* obj0
= 0 ;
32284 PyObject
* obj1
= 0 ;
32285 char *kwnames
[] = {
32286 (char *) "self",(char *) "pos", NULL
32289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32292 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32296 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
32298 wxPyEndAllowThreads(__tstate
);
32299 if (PyErr_Occurred()) SWIG_fail
;
32303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32314 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32315 PyObject
*resultobj
;
32316 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32317 wxString
*arg2
= 0 ;
32318 wxString
*arg3
= 0 ;
32320 bool temp2
= false ;
32321 bool temp3
= false ;
32322 PyObject
* obj0
= 0 ;
32323 PyObject
* obj1
= 0 ;
32324 PyObject
* obj2
= 0 ;
32325 char *kwnames
[] = {
32326 (char *) "self",(char *) "menu",(char *) "item", NULL
32329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32333 arg2
= wxString_in_helper(obj1
);
32334 if (arg2
== NULL
) SWIG_fail
;
32338 arg3
= wxString_in_helper(obj2
);
32339 if (arg3
== NULL
) SWIG_fail
;
32343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32349 resultobj
= SWIG_From_int((int)result
);
32372 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32373 PyObject
*resultobj
;
32374 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32376 wxMenuItem
*result
;
32377 PyObject
* obj0
= 0 ;
32378 PyObject
* obj1
= 0 ;
32379 char *kwnames
[] = {
32380 (char *) "self",(char *) "id", NULL
32383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32386 arg2
= (int)SWIG_As_int(obj1
);
32387 if (PyErr_Occurred()) SWIG_fail
;
32389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32390 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32392 wxPyEndAllowThreads(__tstate
);
32393 if (PyErr_Occurred()) SWIG_fail
;
32396 resultobj
= wxPyMake_wxObject(result
, 0);
32404 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32405 PyObject
*resultobj
;
32406 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32407 wxString
*arg2
= 0 ;
32409 bool temp2
= false ;
32410 PyObject
* obj0
= 0 ;
32411 PyObject
* obj1
= 0 ;
32412 char *kwnames
[] = {
32413 (char *) "self",(char *) "title", NULL
32416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32420 arg2
= wxString_in_helper(obj1
);
32421 if (arg2
== NULL
) SWIG_fail
;
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32426 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32431 resultobj
= SWIG_From_int((int)result
);
32446 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32447 PyObject
*resultobj
;
32448 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32451 PyObject
* obj0
= 0 ;
32452 PyObject
* obj1
= 0 ;
32453 PyObject
* obj2
= 0 ;
32454 char *kwnames
[] = {
32455 (char *) "self",(char *) "id",(char *) "enable", NULL
32458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32461 arg2
= (int)SWIG_As_int(obj1
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32463 arg3
= (bool)SWIG_As_bool(obj2
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32467 (arg1
)->Enable(arg2
,arg3
);
32469 wxPyEndAllowThreads(__tstate
);
32470 if (PyErr_Occurred()) SWIG_fail
;
32472 Py_INCREF(Py_None
); resultobj
= Py_None
;
32479 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32480 PyObject
*resultobj
;
32481 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32484 PyObject
* obj0
= 0 ;
32485 PyObject
* obj1
= 0 ;
32486 PyObject
* obj2
= 0 ;
32487 char *kwnames
[] = {
32488 (char *) "self",(char *) "id",(char *) "check", NULL
32491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32494 arg2
= (int)SWIG_As_int(obj1
);
32495 if (PyErr_Occurred()) SWIG_fail
;
32496 arg3
= (bool)SWIG_As_bool(obj2
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32500 (arg1
)->Check(arg2
,arg3
);
32502 wxPyEndAllowThreads(__tstate
);
32503 if (PyErr_Occurred()) SWIG_fail
;
32505 Py_INCREF(Py_None
); resultobj
= Py_None
;
32512 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32513 PyObject
*resultobj
;
32514 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32517 PyObject
* obj0
= 0 ;
32518 PyObject
* obj1
= 0 ;
32519 char *kwnames
[] = {
32520 (char *) "self",(char *) "id", NULL
32523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32526 arg2
= (int)SWIG_As_int(obj1
);
32527 if (PyErr_Occurred()) SWIG_fail
;
32529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32530 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32532 wxPyEndAllowThreads(__tstate
);
32533 if (PyErr_Occurred()) SWIG_fail
;
32536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32544 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
;
32546 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32549 PyObject
* obj0
= 0 ;
32550 PyObject
* obj1
= 0 ;
32551 char *kwnames
[] = {
32552 (char *) "self",(char *) "id", NULL
32555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32558 arg2
= (int)SWIG_As_int(obj1
);
32559 if (PyErr_Occurred()) SWIG_fail
;
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32564 wxPyEndAllowThreads(__tstate
);
32565 if (PyErr_Occurred()) SWIG_fail
;
32568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32576 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32577 PyObject
*resultobj
;
32578 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32580 wxString
*arg3
= 0 ;
32581 bool temp3
= false ;
32582 PyObject
* obj0
= 0 ;
32583 PyObject
* obj1
= 0 ;
32584 PyObject
* obj2
= 0 ;
32585 char *kwnames
[] = {
32586 (char *) "self",(char *) "id",(char *) "label", NULL
32589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32592 arg2
= (int)SWIG_As_int(obj1
);
32593 if (PyErr_Occurred()) SWIG_fail
;
32595 arg3
= wxString_in_helper(obj2
);
32596 if (arg3
== NULL
) SWIG_fail
;
32600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32601 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32603 wxPyEndAllowThreads(__tstate
);
32604 if (PyErr_Occurred()) SWIG_fail
;
32606 Py_INCREF(Py_None
); resultobj
= Py_None
;
32621 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32622 PyObject
*resultobj
;
32623 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32626 PyObject
* obj0
= 0 ;
32627 PyObject
* obj1
= 0 ;
32628 char *kwnames
[] = {
32629 (char *) "self",(char *) "id", NULL
32632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32635 arg2
= (int)SWIG_As_int(obj1
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32657 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32658 PyObject
*resultobj
;
32659 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32661 wxString
*arg3
= 0 ;
32662 bool temp3
= false ;
32663 PyObject
* obj0
= 0 ;
32664 PyObject
* obj1
= 0 ;
32665 PyObject
* obj2
= 0 ;
32666 char *kwnames
[] = {
32667 (char *) "self",(char *) "id",(char *) "helpString", NULL
32670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32673 arg2
= (int)SWIG_As_int(obj1
);
32674 if (PyErr_Occurred()) SWIG_fail
;
32676 arg3
= wxString_in_helper(obj2
);
32677 if (arg3
== NULL
) SWIG_fail
;
32681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32682 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32684 wxPyEndAllowThreads(__tstate
);
32685 if (PyErr_Occurred()) SWIG_fail
;
32687 Py_INCREF(Py_None
); resultobj
= Py_None
;
32702 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32703 PyObject
*resultobj
;
32704 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32707 PyObject
* obj0
= 0 ;
32708 PyObject
* obj1
= 0 ;
32709 char *kwnames
[] = {
32710 (char *) "self",(char *) "id", NULL
32713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32716 arg2
= (int)SWIG_As_int(obj1
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32722 wxPyEndAllowThreads(__tstate
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32738 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32739 PyObject
*resultobj
;
32740 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32742 PyObject
* obj0
= 0 ;
32743 char *kwnames
[] = {
32744 (char *) "self", NULL
32747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32752 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32754 wxPyEndAllowThreads(__tstate
);
32755 if (PyErr_Occurred()) SWIG_fail
;
32758 resultobj
= wxPyMake_wxObject(result
, 0);
32766 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32767 PyObject
*resultobj
;
32768 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32770 PyObject
* obj0
= 0 ;
32771 char *kwnames
[] = {
32772 (char *) "self", NULL
32775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32780 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32782 wxPyEndAllowThreads(__tstate
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32794 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
;
32796 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32797 wxFrame
*arg2
= (wxFrame
*) 0 ;
32798 PyObject
* obj0
= 0 ;
32799 PyObject
* obj1
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "self",(char *) "frame", NULL
32804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 (arg1
)->Attach(arg2
);
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32816 Py_INCREF(Py_None
); resultobj
= Py_None
;
32823 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32824 PyObject
*resultobj
;
32825 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32826 PyObject
* obj0
= 0 ;
32827 char *kwnames
[] = {
32828 (char *) "self", NULL
32831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32838 wxPyEndAllowThreads(__tstate
);
32839 if (PyErr_Occurred()) SWIG_fail
;
32841 Py_INCREF(Py_None
); resultobj
= Py_None
;
32848 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32851 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32853 return Py_BuildValue((char *)"");
32855 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32856 PyObject
*resultobj
;
32857 wxMenu
*arg1
= (wxMenu
*) NULL
;
32858 int arg2
= (int) wxID_ANY
;
32859 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32860 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32861 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32862 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32863 int arg5
= (int) wxITEM_NORMAL
;
32864 wxMenu
*arg6
= (wxMenu
*) NULL
;
32865 wxMenuItem
*result
;
32866 bool temp3
= false ;
32867 bool temp4
= false ;
32868 PyObject
* obj0
= 0 ;
32869 PyObject
* obj1
= 0 ;
32870 PyObject
* obj2
= 0 ;
32871 PyObject
* obj3
= 0 ;
32872 PyObject
* obj4
= 0 ;
32873 PyObject
* obj5
= 0 ;
32874 char *kwnames
[] = {
32875 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32884 arg2
= (int)SWIG_As_int(obj1
);
32885 if (PyErr_Occurred()) SWIG_fail
;
32889 arg3
= wxString_in_helper(obj2
);
32890 if (arg3
== NULL
) SWIG_fail
;
32896 arg4
= wxString_in_helper(obj3
);
32897 if (arg4
== NULL
) SWIG_fail
;
32902 arg5
= (int)SWIG_As_int(obj4
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32906 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32911 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32913 wxPyEndAllowThreads(__tstate
);
32914 if (PyErr_Occurred()) SWIG_fail
;
32917 resultobj
= wxPyMake_wxObject(result
, 1);
32941 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32942 PyObject
*resultobj
;
32943 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32945 PyObject
* obj0
= 0 ;
32946 char *kwnames
[] = {
32947 (char *) "self", NULL
32950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32957 wxPyEndAllowThreads(__tstate
);
32958 if (PyErr_Occurred()) SWIG_fail
;
32961 resultobj
= wxPyMake_wxObject(result
, 0);
32969 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32970 PyObject
*resultobj
;
32971 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32972 wxMenu
*arg2
= (wxMenu
*) 0 ;
32973 PyObject
* obj0
= 0 ;
32974 PyObject
* obj1
= 0 ;
32975 char *kwnames
[] = {
32976 (char *) "self",(char *) "menu", NULL
32979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 (arg1
)->SetMenu(arg2
);
32988 wxPyEndAllowThreads(__tstate
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32991 Py_INCREF(Py_None
); resultobj
= Py_None
;
32998 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32999 PyObject
*resultobj
;
33000 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33002 PyObject
* obj0
= 0 ;
33003 PyObject
* obj1
= 0 ;
33004 char *kwnames
[] = {
33005 (char *) "self",(char *) "id", NULL
33008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
33009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33011 arg2
= (int)SWIG_As_int(obj1
);
33012 if (PyErr_Occurred()) SWIG_fail
;
33014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33015 (arg1
)->SetId(arg2
);
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33020 Py_INCREF(Py_None
); resultobj
= Py_None
;
33027 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33028 PyObject
*resultobj
;
33029 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33031 PyObject
* obj0
= 0 ;
33032 char *kwnames
[] = {
33033 (char *) "self", NULL
33036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
33037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 resultobj
= SWIG_From_int((int)result
);
33053 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33054 PyObject
*resultobj
;
33055 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33057 PyObject
* obj0
= 0 ;
33058 char *kwnames
[] = {
33059 (char *) "self", NULL
33062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
33063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33081 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33082 PyObject
*resultobj
;
33083 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33084 wxString
*arg2
= 0 ;
33085 bool temp2
= false ;
33086 PyObject
* obj0
= 0 ;
33087 PyObject
* obj1
= 0 ;
33088 char *kwnames
[] = {
33089 (char *) "self",(char *) "str", NULL
33092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
33093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33096 arg2
= wxString_in_helper(obj1
);
33097 if (arg2
== NULL
) SWIG_fail
;
33101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33102 (arg1
)->SetText((wxString
const &)*arg2
);
33104 wxPyEndAllowThreads(__tstate
);
33105 if (PyErr_Occurred()) SWIG_fail
;
33107 Py_INCREF(Py_None
); resultobj
= Py_None
;
33122 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33123 PyObject
*resultobj
;
33124 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33126 PyObject
* obj0
= 0 ;
33127 char *kwnames
[] = {
33128 (char *) "self", NULL
33131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
33132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33136 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
33138 wxPyEndAllowThreads(__tstate
);
33139 if (PyErr_Occurred()) SWIG_fail
;
33143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33154 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33155 PyObject
*resultobj
;
33156 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33158 PyObject
* obj0
= 0 ;
33159 char *kwnames
[] = {
33160 (char *) "self", NULL
33163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
33164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33169 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
33170 result
= (wxString
*) &_result_ref
;
33173 wxPyEndAllowThreads(__tstate
);
33174 if (PyErr_Occurred()) SWIG_fail
;
33178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33189 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33190 PyObject
*resultobj
;
33191 wxString
*arg1
= 0 ;
33193 bool temp1
= false ;
33194 PyObject
* obj0
= 0 ;
33195 char *kwnames
[] = {
33196 (char *) "text", NULL
33199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
33201 arg1
= wxString_in_helper(obj0
);
33202 if (arg1
== NULL
) SWIG_fail
;
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33233 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33234 PyObject
*resultobj
;
33235 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33237 PyObject
* obj0
= 0 ;
33238 char *kwnames
[] = {
33239 (char *) "self", NULL
33242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
33243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33247 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
33249 wxPyEndAllowThreads(__tstate
);
33250 if (PyErr_Occurred()) SWIG_fail
;
33252 resultobj
= SWIG_From_int((int)result
);
33259 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33260 PyObject
*resultobj
;
33261 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33263 PyObject
* obj0
= 0 ;
33264 PyObject
* obj1
= 0 ;
33265 char *kwnames
[] = {
33266 (char *) "self",(char *) "kind", NULL
33269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
33270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33272 arg2
= (int)SWIG_As_int(obj1
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33276 (arg1
)->SetKind((wxItemKind
)arg2
);
33278 wxPyEndAllowThreads(__tstate
);
33279 if (PyErr_Occurred()) SWIG_fail
;
33281 Py_INCREF(Py_None
); resultobj
= Py_None
;
33288 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33289 PyObject
*resultobj
;
33290 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33292 PyObject
* obj0
= 0 ;
33293 PyObject
* obj1
= 0 ;
33294 char *kwnames
[] = {
33295 (char *) "self",(char *) "checkable", NULL
33298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
33299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33301 arg2
= (bool)SWIG_As_bool(obj1
);
33302 if (PyErr_Occurred()) SWIG_fail
;
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 (arg1
)->SetCheckable(arg2
);
33307 wxPyEndAllowThreads(__tstate
);
33308 if (PyErr_Occurred()) SWIG_fail
;
33310 Py_INCREF(Py_None
); resultobj
= Py_None
;
33317 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33318 PyObject
*resultobj
;
33319 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33321 PyObject
* obj0
= 0 ;
33322 char *kwnames
[] = {
33323 (char *) "self", NULL
33326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33331 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33333 wxPyEndAllowThreads(__tstate
);
33334 if (PyErr_Occurred()) SWIG_fail
;
33337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33345 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33346 PyObject
*resultobj
;
33347 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33349 PyObject
* obj0
= 0 ;
33350 char *kwnames
[] = {
33351 (char *) "self", NULL
33354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33359 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33361 wxPyEndAllowThreads(__tstate
);
33362 if (PyErr_Occurred()) SWIG_fail
;
33365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33373 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33374 PyObject
*resultobj
;
33375 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33376 wxMenu
*arg2
= (wxMenu
*) 0 ;
33377 PyObject
* obj0
= 0 ;
33378 PyObject
* obj1
= 0 ;
33379 char *kwnames
[] = {
33380 (char *) "self",(char *) "menu", NULL
33383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33390 (arg1
)->SetSubMenu(arg2
);
33392 wxPyEndAllowThreads(__tstate
);
33393 if (PyErr_Occurred()) SWIG_fail
;
33395 Py_INCREF(Py_None
); resultobj
= Py_None
;
33402 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33403 PyObject
*resultobj
;
33404 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33406 PyObject
* obj0
= 0 ;
33407 char *kwnames
[] = {
33408 (char *) "self", NULL
33411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33422 resultobj
= wxPyMake_wxObject(result
, 0);
33430 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33431 PyObject
*resultobj
;
33432 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33433 bool arg2
= (bool) true ;
33434 PyObject
* obj0
= 0 ;
33435 PyObject
* obj1
= 0 ;
33436 char *kwnames
[] = {
33437 (char *) "self",(char *) "enable", NULL
33440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33444 arg2
= (bool)SWIG_As_bool(obj1
);
33445 if (PyErr_Occurred()) SWIG_fail
;
33448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33449 (arg1
)->Enable(arg2
);
33451 wxPyEndAllowThreads(__tstate
);
33452 if (PyErr_Occurred()) SWIG_fail
;
33454 Py_INCREF(Py_None
); resultobj
= Py_None
;
33461 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33462 PyObject
*resultobj
;
33463 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33465 PyObject
* obj0
= 0 ;
33466 char *kwnames
[] = {
33467 (char *) "self", NULL
33470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33475 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33477 wxPyEndAllowThreads(__tstate
);
33478 if (PyErr_Occurred()) SWIG_fail
;
33481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33489 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33490 PyObject
*resultobj
;
33491 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33492 bool arg2
= (bool) true ;
33493 PyObject
* obj0
= 0 ;
33494 PyObject
* obj1
= 0 ;
33495 char *kwnames
[] = {
33496 (char *) "self",(char *) "check", NULL
33499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33503 arg2
= (bool)SWIG_As_bool(obj1
);
33504 if (PyErr_Occurred()) SWIG_fail
;
33507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33508 (arg1
)->Check(arg2
);
33510 wxPyEndAllowThreads(__tstate
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33513 Py_INCREF(Py_None
); resultobj
= Py_None
;
33520 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33521 PyObject
*resultobj
;
33522 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33524 PyObject
* obj0
= 0 ;
33525 char *kwnames
[] = {
33526 (char *) "self", NULL
33529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33534 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33536 wxPyEndAllowThreads(__tstate
);
33537 if (PyErr_Occurred()) SWIG_fail
;
33540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33548 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33549 PyObject
*resultobj
;
33550 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33551 PyObject
* obj0
= 0 ;
33552 char *kwnames
[] = {
33553 (char *) "self", NULL
33556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33563 wxPyEndAllowThreads(__tstate
);
33564 if (PyErr_Occurred()) SWIG_fail
;
33566 Py_INCREF(Py_None
); resultobj
= Py_None
;
33573 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33574 PyObject
*resultobj
;
33575 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33576 wxString
*arg2
= 0 ;
33577 bool temp2
= false ;
33578 PyObject
* obj0
= 0 ;
33579 PyObject
* obj1
= 0 ;
33580 char *kwnames
[] = {
33581 (char *) "self",(char *) "str", NULL
33584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33588 arg2
= wxString_in_helper(obj1
);
33589 if (arg2
== NULL
) SWIG_fail
;
33593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33594 (arg1
)->SetHelp((wxString
const &)*arg2
);
33596 wxPyEndAllowThreads(__tstate
);
33597 if (PyErr_Occurred()) SWIG_fail
;
33599 Py_INCREF(Py_None
); resultobj
= Py_None
;
33614 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33615 PyObject
*resultobj
;
33616 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33618 PyObject
* obj0
= 0 ;
33619 char *kwnames
[] = {
33620 (char *) "self", NULL
33623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33629 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33630 result
= (wxString
*) &_result_ref
;
33633 wxPyEndAllowThreads(__tstate
);
33634 if (PyErr_Occurred()) SWIG_fail
;
33638 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33640 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33649 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33650 PyObject
*resultobj
;
33651 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33652 wxAcceleratorEntry
*result
;
33653 PyObject
* obj0
= 0 ;
33654 char *kwnames
[] = {
33655 (char *) "self", NULL
33658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33663 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33665 wxPyEndAllowThreads(__tstate
);
33666 if (PyErr_Occurred()) SWIG_fail
;
33668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33675 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33676 PyObject
*resultobj
;
33677 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33678 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33679 PyObject
* obj0
= 0 ;
33680 PyObject
* obj1
= 0 ;
33681 char *kwnames
[] = {
33682 (char *) "self",(char *) "accel", NULL
33685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33692 (arg1
)->SetAccel(arg2
);
33694 wxPyEndAllowThreads(__tstate
);
33695 if (PyErr_Occurred()) SWIG_fail
;
33697 Py_INCREF(Py_None
); resultobj
= Py_None
;
33704 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33705 PyObject
*resultobj
;
33706 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33708 PyObject
* obj0
= 0 ;
33709 PyObject
* obj1
= 0 ;
33710 char *kwnames
[] = {
33711 (char *) "self",(char *) "font", NULL
33714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
33715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
33718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33720 if (arg2
== NULL
) {
33721 PyErr_SetString(PyExc_TypeError
,"null reference");
33725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33726 (arg1
)->SetFont((wxFont
const &)*arg2
);
33728 wxPyEndAllowThreads(__tstate
);
33729 if (PyErr_Occurred()) SWIG_fail
;
33731 Py_INCREF(Py_None
); resultobj
= Py_None
;
33738 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33739 PyObject
*resultobj
;
33740 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33742 PyObject
* obj0
= 0 ;
33743 char *kwnames
[] = {
33744 (char *) "self", NULL
33747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
33748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 result
= (arg1
)->GetFont();
33754 wxPyEndAllowThreads(__tstate
);
33755 if (PyErr_Occurred()) SWIG_fail
;
33758 wxFont
* resultptr
;
33759 resultptr
= new wxFont((wxFont
&) result
);
33760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
33768 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33769 PyObject
*resultobj
;
33770 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33771 wxColour
*arg2
= 0 ;
33773 PyObject
* obj0
= 0 ;
33774 PyObject
* obj1
= 0 ;
33775 char *kwnames
[] = {
33776 (char *) "self",(char *) "colText", NULL
33779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33784 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33788 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
33790 wxPyEndAllowThreads(__tstate
);
33791 if (PyErr_Occurred()) SWIG_fail
;
33793 Py_INCREF(Py_None
); resultobj
= Py_None
;
33800 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33801 PyObject
*resultobj
;
33802 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33804 PyObject
* obj0
= 0 ;
33805 char *kwnames
[] = {
33806 (char *) "self", NULL
33809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
33810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33814 result
= (arg1
)->GetTextColour();
33816 wxPyEndAllowThreads(__tstate
);
33817 if (PyErr_Occurred()) SWIG_fail
;
33820 wxColour
* resultptr
;
33821 resultptr
= new wxColour((wxColour
&) result
);
33822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33830 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33831 PyObject
*resultobj
;
33832 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33833 wxColour
*arg2
= 0 ;
33835 PyObject
* obj0
= 0 ;
33836 PyObject
* obj1
= 0 ;
33837 char *kwnames
[] = {
33838 (char *) "self",(char *) "colBack", NULL
33841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33846 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33850 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33852 wxPyEndAllowThreads(__tstate
);
33853 if (PyErr_Occurred()) SWIG_fail
;
33855 Py_INCREF(Py_None
); resultobj
= Py_None
;
33862 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33863 PyObject
*resultobj
;
33864 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33866 PyObject
* obj0
= 0 ;
33867 char *kwnames
[] = {
33868 (char *) "self", NULL
33871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33876 result
= (arg1
)->GetBackgroundColour();
33878 wxPyEndAllowThreads(__tstate
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33882 wxColour
* resultptr
;
33883 resultptr
= new wxColour((wxColour
&) result
);
33884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33892 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33893 PyObject
*resultobj
;
33894 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33895 wxBitmap
*arg2
= 0 ;
33896 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33897 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33898 PyObject
* obj0
= 0 ;
33899 PyObject
* obj1
= 0 ;
33900 PyObject
* obj2
= 0 ;
33901 char *kwnames
[] = {
33902 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33911 if (arg2
== NULL
) {
33912 PyErr_SetString(PyExc_TypeError
,"null reference");
33916 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33919 if (arg3
== NULL
) {
33920 PyErr_SetString(PyExc_TypeError
,"null reference");
33925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33926 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33928 wxPyEndAllowThreads(__tstate
);
33929 if (PyErr_Occurred()) SWIG_fail
;
33931 Py_INCREF(Py_None
); resultobj
= Py_None
;
33938 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33939 PyObject
*resultobj
;
33940 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33941 wxBitmap
*arg2
= 0 ;
33942 PyObject
* obj0
= 0 ;
33943 PyObject
* obj1
= 0 ;
33944 char *kwnames
[] = {
33945 (char *) "self",(char *) "bmpDisabled", NULL
33948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33954 if (arg2
== NULL
) {
33955 PyErr_SetString(PyExc_TypeError
,"null reference");
33959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33960 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33962 wxPyEndAllowThreads(__tstate
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33965 Py_INCREF(Py_None
); resultobj
= Py_None
;
33972 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33973 PyObject
*resultobj
;
33974 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33976 PyObject
* obj0
= 0 ;
33977 char *kwnames
[] = {
33978 (char *) "self", NULL
33981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33987 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33988 result
= (wxBitmap
*) &_result_ref
;
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33995 wxBitmap
* resultptr
= new wxBitmap(*result
);
33996 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
34004 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
;
34006 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34008 PyObject
* obj0
= 0 ;
34009 PyObject
* obj1
= 0 ;
34010 char *kwnames
[] = {
34011 (char *) "self",(char *) "nWidth", NULL
34014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
34015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34017 arg2
= (int)SWIG_As_int(obj1
);
34018 if (PyErr_Occurred()) SWIG_fail
;
34020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34021 (arg1
)->SetMarginWidth(arg2
);
34023 wxPyEndAllowThreads(__tstate
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34026 Py_INCREF(Py_None
); resultobj
= Py_None
;
34033 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34034 PyObject
*resultobj
;
34035 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34037 PyObject
* obj0
= 0 ;
34038 char *kwnames
[] = {
34039 (char *) "self", NULL
34042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
34043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34047 result
= (int)(arg1
)->GetMarginWidth();
34049 wxPyEndAllowThreads(__tstate
);
34050 if (PyErr_Occurred()) SWIG_fail
;
34052 resultobj
= SWIG_From_int((int)result
);
34059 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34060 PyObject
*resultobj
;
34062 char *kwnames
[] = {
34066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
34068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34069 result
= (int)wxMenuItem::GetDefaultMarginWidth();
34071 wxPyEndAllowThreads(__tstate
);
34072 if (PyErr_Occurred()) SWIG_fail
;
34074 resultobj
= SWIG_From_int((int)result
);
34081 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
;
34083 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34085 PyObject
* obj0
= 0 ;
34086 char *kwnames
[] = {
34087 (char *) "self", NULL
34090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
34091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34095 result
= (bool)(arg1
)->IsOwnerDrawn();
34097 wxPyEndAllowThreads(__tstate
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34109 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34110 PyObject
*resultobj
;
34111 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34112 bool arg2
= (bool) true ;
34113 PyObject
* obj0
= 0 ;
34114 PyObject
* obj1
= 0 ;
34115 char *kwnames
[] = {
34116 (char *) "self",(char *) "ownerDrawn", NULL
34119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
34120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34123 arg2
= (bool)SWIG_As_bool(obj1
);
34124 if (PyErr_Occurred()) SWIG_fail
;
34127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34128 (arg1
)->SetOwnerDrawn(arg2
);
34130 wxPyEndAllowThreads(__tstate
);
34131 if (PyErr_Occurred()) SWIG_fail
;
34133 Py_INCREF(Py_None
); resultobj
= Py_None
;
34140 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34141 PyObject
*resultobj
;
34142 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34143 PyObject
* obj0
= 0 ;
34144 char *kwnames
[] = {
34145 (char *) "self", NULL
34148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
34149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 (arg1
)->ResetOwnerDrawn();
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34158 Py_INCREF(Py_None
); resultobj
= Py_None
;
34165 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34166 PyObject
*resultobj
;
34167 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34168 wxBitmap
*arg2
= 0 ;
34169 PyObject
* obj0
= 0 ;
34170 PyObject
* obj1
= 0 ;
34171 char *kwnames
[] = {
34172 (char *) "self",(char *) "bitmap", NULL
34175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
34179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34181 if (arg2
== NULL
) {
34182 PyErr_SetString(PyExc_TypeError
,"null reference");
34186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34187 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
34189 wxPyEndAllowThreads(__tstate
);
34190 if (PyErr_Occurred()) SWIG_fail
;
34192 Py_INCREF(Py_None
); resultobj
= Py_None
;
34199 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34200 PyObject
*resultobj
;
34201 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34203 PyObject
* obj0
= 0 ;
34204 char *kwnames
[] = {
34205 (char *) "self", NULL
34208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
34209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34214 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
34215 result
= (wxBitmap
*) &_result_ref
;
34218 wxPyEndAllowThreads(__tstate
);
34219 if (PyErr_Occurred()) SWIG_fail
;
34222 wxBitmap
* resultptr
= new wxBitmap(*result
);
34223 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
34231 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
34233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34234 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
34236 return Py_BuildValue((char *)"");
34238 static int _wrap_ControlNameStr_set(PyObject
*) {
34239 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
34244 static PyObject
*_wrap_ControlNameStr_get() {
34249 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
34251 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
34258 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34259 PyObject
*resultobj
;
34260 wxWindow
*arg1
= (wxWindow
*) 0 ;
34261 int arg2
= (int) -1 ;
34262 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34263 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34264 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34265 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34266 long arg5
= (long) 0 ;
34267 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34268 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34269 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
34270 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34274 bool temp7
= false ;
34275 PyObject
* obj0
= 0 ;
34276 PyObject
* obj1
= 0 ;
34277 PyObject
* obj2
= 0 ;
34278 PyObject
* obj3
= 0 ;
34279 PyObject
* obj4
= 0 ;
34280 PyObject
* obj5
= 0 ;
34281 PyObject
* obj6
= 0 ;
34282 char *kwnames
[] = {
34283 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34290 arg2
= (int)SWIG_As_int(obj1
);
34291 if (PyErr_Occurred()) SWIG_fail
;
34296 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34302 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34306 arg5
= (long)SWIG_As_long(obj4
);
34307 if (PyErr_Occurred()) SWIG_fail
;
34310 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
34311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34313 if (arg6
== NULL
) {
34314 PyErr_SetString(PyExc_TypeError
,"null reference");
34320 arg7
= wxString_in_helper(obj6
);
34321 if (arg7
== NULL
) SWIG_fail
;
34326 if (!wxPyCheckForApp()) SWIG_fail
;
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34348 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34349 PyObject
*resultobj
;
34351 char *kwnames
[] = {
34355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
34357 if (!wxPyCheckForApp()) SWIG_fail
;
34358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34359 result
= (wxControl
*)new wxControl();
34361 wxPyEndAllowThreads(__tstate
);
34362 if (PyErr_Occurred()) SWIG_fail
;
34364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34371 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34372 PyObject
*resultobj
;
34373 wxControl
*arg1
= (wxControl
*) 0 ;
34374 wxWindow
*arg2
= (wxWindow
*) 0 ;
34375 int arg3
= (int) -1 ;
34376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34380 long arg6
= (long) 0 ;
34381 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34382 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34383 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
34384 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34388 bool temp8
= false ;
34389 PyObject
* obj0
= 0 ;
34390 PyObject
* obj1
= 0 ;
34391 PyObject
* obj2
= 0 ;
34392 PyObject
* obj3
= 0 ;
34393 PyObject
* obj4
= 0 ;
34394 PyObject
* obj5
= 0 ;
34395 PyObject
* obj6
= 0 ;
34396 PyObject
* obj7
= 0 ;
34397 char *kwnames
[] = {
34398 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34407 arg3
= (int)SWIG_As_int(obj2
);
34408 if (PyErr_Occurred()) SWIG_fail
;
34413 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34419 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34423 arg6
= (long)SWIG_As_long(obj5
);
34424 if (PyErr_Occurred()) SWIG_fail
;
34427 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
34428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34430 if (arg7
== NULL
) {
34431 PyErr_SetString(PyExc_TypeError
,"null reference");
34437 arg8
= wxString_in_helper(obj7
);
34438 if (arg8
== NULL
) SWIG_fail
;
34443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34446 wxPyEndAllowThreads(__tstate
);
34447 if (PyErr_Occurred()) SWIG_fail
;
34450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34466 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34467 PyObject
*resultobj
;
34468 wxControl
*arg1
= (wxControl
*) 0 ;
34469 wxCommandEvent
*arg2
= 0 ;
34470 PyObject
* obj0
= 0 ;
34471 PyObject
* obj1
= 0 ;
34472 char *kwnames
[] = {
34473 (char *) "self",(char *) "event", NULL
34476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
34477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
34480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34482 if (arg2
== NULL
) {
34483 PyErr_SetString(PyExc_TypeError
,"null reference");
34487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34488 (arg1
)->Command(*arg2
);
34490 wxPyEndAllowThreads(__tstate
);
34491 if (PyErr_Occurred()) SWIG_fail
;
34493 Py_INCREF(Py_None
); resultobj
= Py_None
;
34500 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34501 PyObject
*resultobj
;
34502 wxControl
*arg1
= (wxControl
*) 0 ;
34504 PyObject
* obj0
= 0 ;
34505 char *kwnames
[] = {
34506 (char *) "self", NULL
34509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
34510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34514 result
= (arg1
)->GetLabel();
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34532 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34533 PyObject
*resultobj
;
34534 wxControl
*arg1
= (wxControl
*) 0 ;
34535 wxString
*arg2
= 0 ;
34536 bool temp2
= false ;
34537 PyObject
* obj0
= 0 ;
34538 PyObject
* obj1
= 0 ;
34539 char *kwnames
[] = {
34540 (char *) "self",(char *) "label", NULL
34543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34547 arg2
= wxString_in_helper(obj1
);
34548 if (arg2
== NULL
) SWIG_fail
;
34552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34553 (arg1
)->SetLabel((wxString
const &)*arg2
);
34555 wxPyEndAllowThreads(__tstate
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34558 Py_INCREF(Py_None
); resultobj
= Py_None
;
34573 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34574 PyObject
*resultobj
;
34575 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
34576 wxVisualAttributes result
;
34577 PyObject
* obj0
= 0 ;
34578 char *kwnames
[] = {
34579 (char *) "variant", NULL
34582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34584 arg1
= (int)SWIG_As_int(obj0
);
34585 if (PyErr_Occurred()) SWIG_fail
;
34588 if (!wxPyCheckForApp()) SWIG_fail
;
34589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34590 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
34592 wxPyEndAllowThreads(__tstate
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34596 wxVisualAttributes
* resultptr
;
34597 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
34598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34606 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
34608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34609 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
34611 return Py_BuildValue((char *)"");
34613 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34614 PyObject
*resultobj
;
34615 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34616 wxString
*arg2
= 0 ;
34617 PyObject
*arg3
= (PyObject
*) NULL
;
34619 bool temp2
= false ;
34620 PyObject
* obj0
= 0 ;
34621 PyObject
* obj1
= 0 ;
34622 PyObject
* obj2
= 0 ;
34623 char *kwnames
[] = {
34624 (char *) "self",(char *) "item",(char *) "clientData", NULL
34627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34631 arg2
= wxString_in_helper(obj1
);
34632 if (arg2
== NULL
) SWIG_fail
;
34639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34640 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
34642 wxPyEndAllowThreads(__tstate
);
34643 if (PyErr_Occurred()) SWIG_fail
;
34645 resultobj
= SWIG_From_int((int)result
);
34660 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34661 PyObject
*resultobj
;
34662 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34663 wxArrayString
*arg2
= 0 ;
34664 bool temp2
= false ;
34665 PyObject
* obj0
= 0 ;
34666 PyObject
* obj1
= 0 ;
34667 char *kwnames
[] = {
34668 (char *) "self",(char *) "strings", NULL
34671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34675 if (! PySequence_Check(obj1
)) {
34676 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34679 arg2
= new wxArrayString
;
34681 int i
, len
=PySequence_Length(obj1
);
34682 for (i
=0; i
<len
; i
++) {
34683 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34685 PyObject
* str
= PyObject_Unicode(item
);
34687 PyObject
* str
= PyObject_Str(item
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34690 arg2
->Add(Py2wxString(str
));
34696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34697 (arg1
)->Append((wxArrayString
const &)*arg2
);
34699 wxPyEndAllowThreads(__tstate
);
34700 if (PyErr_Occurred()) SWIG_fail
;
34702 Py_INCREF(Py_None
); resultobj
= Py_None
;
34704 if (temp2
) delete arg2
;
34709 if (temp2
) delete arg2
;
34715 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34716 PyObject
*resultobj
;
34717 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34718 wxString
*arg2
= 0 ;
34720 PyObject
*arg4
= (PyObject
*) NULL
;
34722 bool temp2
= false ;
34723 PyObject
* obj0
= 0 ;
34724 PyObject
* obj1
= 0 ;
34725 PyObject
* obj2
= 0 ;
34726 PyObject
* obj3
= 0 ;
34727 char *kwnames
[] = {
34728 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34735 arg2
= wxString_in_helper(obj1
);
34736 if (arg2
== NULL
) SWIG_fail
;
34739 arg3
= (int)SWIG_As_int(obj2
);
34740 if (PyErr_Occurred()) SWIG_fail
;
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34751 resultobj
= SWIG_From_int((int)result
);
34766 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34767 PyObject
*resultobj
;
34768 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34769 PyObject
* obj0
= 0 ;
34770 char *kwnames
[] = {
34771 (char *) "self", NULL
34774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34781 wxPyEndAllowThreads(__tstate
);
34782 if (PyErr_Occurred()) SWIG_fail
;
34784 Py_INCREF(Py_None
); resultobj
= Py_None
;
34791 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34792 PyObject
*resultobj
;
34793 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34795 PyObject
* obj0
= 0 ;
34796 PyObject
* obj1
= 0 ;
34797 char *kwnames
[] = {
34798 (char *) "self",(char *) "n", NULL
34801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34804 arg2
= (int)SWIG_As_int(obj1
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 (arg1
)->Delete(arg2
);
34810 wxPyEndAllowThreads(__tstate
);
34811 if (PyErr_Occurred()) SWIG_fail
;
34813 Py_INCREF(Py_None
); resultobj
= Py_None
;
34820 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34821 PyObject
*resultobj
;
34822 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34824 PyObject
* obj0
= 0 ;
34825 char *kwnames
[] = {
34826 (char *) "self", NULL
34829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34834 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34836 wxPyEndAllowThreads(__tstate
);
34837 if (PyErr_Occurred()) SWIG_fail
;
34839 resultobj
= SWIG_From_int((int)result
);
34846 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34847 PyObject
*resultobj
;
34848 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34850 PyObject
* obj0
= 0 ;
34851 char *kwnames
[] = {
34852 (char *) "self", NULL
34855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34860 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34862 wxPyEndAllowThreads(__tstate
);
34863 if (PyErr_Occurred()) SWIG_fail
;
34866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34874 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34875 PyObject
*resultobj
;
34876 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34879 PyObject
* obj0
= 0 ;
34880 PyObject
* obj1
= 0 ;
34881 char *kwnames
[] = {
34882 (char *) "self",(char *) "n", NULL
34885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34888 arg2
= (int)SWIG_As_int(obj1
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34892 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34894 wxPyEndAllowThreads(__tstate
);
34895 if (PyErr_Occurred()) SWIG_fail
;
34899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34910 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34911 PyObject
*resultobj
;
34912 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34913 wxArrayString result
;
34914 PyObject
* obj0
= 0 ;
34915 char *kwnames
[] = {
34916 (char *) "self", NULL
34919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34924 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34926 wxPyEndAllowThreads(__tstate
);
34927 if (PyErr_Occurred()) SWIG_fail
;
34930 resultobj
= wxArrayString2PyList_helper(result
);
34938 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34939 PyObject
*resultobj
;
34940 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34942 wxString
*arg3
= 0 ;
34943 bool temp3
= false ;
34944 PyObject
* obj0
= 0 ;
34945 PyObject
* obj1
= 0 ;
34946 PyObject
* obj2
= 0 ;
34947 char *kwnames
[] = {
34948 (char *) "self",(char *) "n",(char *) "s", NULL
34951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34954 arg2
= (int)SWIG_As_int(obj1
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34957 arg3
= wxString_in_helper(obj2
);
34958 if (arg3
== NULL
) SWIG_fail
;
34962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34963 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 Py_INCREF(Py_None
); resultobj
= Py_None
;
34983 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34984 PyObject
*resultobj
;
34985 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34986 wxString
*arg2
= 0 ;
34988 bool temp2
= false ;
34989 PyObject
* obj0
= 0 ;
34990 PyObject
* obj1
= 0 ;
34991 char *kwnames
[] = {
34992 (char *) "self",(char *) "s", NULL
34995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34999 arg2
= wxString_in_helper(obj1
);
35000 if (arg2
== NULL
) SWIG_fail
;
35004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35005 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
35007 wxPyEndAllowThreads(__tstate
);
35008 if (PyErr_Occurred()) SWIG_fail
;
35010 resultobj
= SWIG_From_int((int)result
);
35025 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35026 PyObject
*resultobj
;
35027 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
35029 PyObject
* obj0
= 0 ;
35030 PyObject
* obj1
= 0 ;
35031 char *kwnames
[] = {
35032 (char *) "self",(char *) "n", NULL
35035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
35036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
35037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35038 arg2
= (int)SWIG_As_int(obj1
);
35039 if (PyErr_Occurred()) SWIG_fail
;
35041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35042 (arg1
)->Select(arg2
);
35044 wxPyEndAllowThreads(__tstate
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 Py_INCREF(Py_None
); resultobj
= Py_None
;
35054 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35055 PyObject
*resultobj
;
35056 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
35058 PyObject
* obj0
= 0 ;
35059 char *kwnames
[] = {
35060 (char *) "self", NULL
35063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
35064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
35065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35068 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35073 resultobj
= SWIG_From_int((int)result
);
35080 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35081 PyObject
*resultobj
;
35082 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
35084 PyObject
* obj0
= 0 ;
35085 char *kwnames
[] = {
35086 (char *) "self", NULL
35089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
35090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
35091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35094 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
35096 wxPyEndAllowThreads(__tstate
);
35097 if (PyErr_Occurred()) SWIG_fail
;
35101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35112 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35113 PyObject
*resultobj
;
35114 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
35117 PyObject
* obj0
= 0 ;
35118 PyObject
* obj1
= 0 ;
35119 char *kwnames
[] = {
35120 (char *) "self",(char *) "n", NULL
35123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
35124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
35125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35126 arg2
= (int)SWIG_As_int(obj1
);
35127 if (PyErr_Occurred()) SWIG_fail
;
35129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35130 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
35132 wxPyEndAllowThreads(__tstate
);
35133 if (PyErr_Occurred()) SWIG_fail
;
35135 resultobj
= result
;
35142 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35143 PyObject
*resultobj
;
35144 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
35146 PyObject
*arg3
= (PyObject
*) 0 ;
35147 PyObject
* obj0
= 0 ;
35148 PyObject
* obj1
= 0 ;
35149 PyObject
* obj2
= 0 ;
35150 char *kwnames
[] = {
35151 (char *) "self",(char *) "n",(char *) "clientData", NULL
35154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
35156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35157 arg2
= (int)SWIG_As_int(obj1
);
35158 if (PyErr_Occurred()) SWIG_fail
;
35161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35162 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35167 Py_INCREF(Py_None
); resultobj
= Py_None
;
35174 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
35176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35177 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
35179 return Py_BuildValue((char *)"");
35181 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
35183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35184 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
35186 return Py_BuildValue((char *)"");
35188 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35189 PyObject
*resultobj
;
35190 wxSizerItem
*result
;
35191 char *kwnames
[] = {
35195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
35197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35198 result
= (wxSizerItem
*)new wxSizerItem();
35200 wxPyEndAllowThreads(__tstate
);
35201 if (PyErr_Occurred()) SWIG_fail
;
35203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35210 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35211 PyObject
*resultobj
;
35212 wxWindow
*arg1
= (wxWindow
*) 0 ;
35216 PyObject
*arg5
= (PyObject
*) NULL
;
35217 wxSizerItem
*result
;
35218 PyObject
* obj0
= 0 ;
35219 PyObject
* obj1
= 0 ;
35220 PyObject
* obj2
= 0 ;
35221 PyObject
* obj3
= 0 ;
35222 PyObject
* obj4
= 0 ;
35223 char *kwnames
[] = {
35224 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
35229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35230 arg2
= (int)SWIG_As_int(obj1
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35232 arg3
= (int)SWIG_As_int(obj2
);
35233 if (PyErr_Occurred()) SWIG_fail
;
35234 arg4
= (int)SWIG_As_int(obj3
);
35235 if (PyErr_Occurred()) SWIG_fail
;
35240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35241 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35253 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35254 PyObject
*resultobj
;
35260 PyObject
*arg6
= (PyObject
*) NULL
;
35261 wxSizerItem
*result
;
35262 PyObject
* obj0
= 0 ;
35263 PyObject
* obj1
= 0 ;
35264 PyObject
* obj2
= 0 ;
35265 PyObject
* obj3
= 0 ;
35266 PyObject
* obj4
= 0 ;
35267 PyObject
* obj5
= 0 ;
35268 char *kwnames
[] = {
35269 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35273 arg1
= (int)SWIG_As_int(obj0
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35275 arg2
= (int)SWIG_As_int(obj1
);
35276 if (PyErr_Occurred()) SWIG_fail
;
35277 arg3
= (int)SWIG_As_int(obj2
);
35278 if (PyErr_Occurred()) SWIG_fail
;
35279 arg4
= (int)SWIG_As_int(obj3
);
35280 if (PyErr_Occurred()) SWIG_fail
;
35281 arg5
= (int)SWIG_As_int(obj4
);
35282 if (PyErr_Occurred()) SWIG_fail
;
35287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35288 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35290 wxPyEndAllowThreads(__tstate
);
35291 if (PyErr_Occurred()) SWIG_fail
;
35293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35300 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35301 PyObject
*resultobj
;
35302 wxSizer
*arg1
= (wxSizer
*) 0 ;
35306 PyObject
*arg5
= (PyObject
*) NULL
;
35307 wxSizerItem
*result
;
35308 PyObject
* obj0
= 0 ;
35309 PyObject
* obj1
= 0 ;
35310 PyObject
* obj2
= 0 ;
35311 PyObject
* obj3
= 0 ;
35312 PyObject
* obj4
= 0 ;
35313 char *kwnames
[] = {
35314 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35320 arg2
= (int)SWIG_As_int(obj1
);
35321 if (PyErr_Occurred()) SWIG_fail
;
35322 arg3
= (int)SWIG_As_int(obj2
);
35323 if (PyErr_Occurred()) SWIG_fail
;
35324 arg4
= (int)SWIG_As_int(obj3
);
35325 if (PyErr_Occurred()) SWIG_fail
;
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35343 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35344 PyObject
*resultobj
;
35345 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35346 PyObject
* obj0
= 0 ;
35347 char *kwnames
[] = {
35348 (char *) "self", NULL
35351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35356 (arg1
)->DeleteWindows();
35358 wxPyEndAllowThreads(__tstate
);
35359 if (PyErr_Occurred()) SWIG_fail
;
35361 Py_INCREF(Py_None
); resultobj
= Py_None
;
35368 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35369 PyObject
*resultobj
;
35370 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35371 PyObject
* obj0
= 0 ;
35372 char *kwnames
[] = {
35373 (char *) "self", NULL
35376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
35377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35381 (arg1
)->DetachSizer();
35383 wxPyEndAllowThreads(__tstate
);
35384 if (PyErr_Occurred()) SWIG_fail
;
35386 Py_INCREF(Py_None
); resultobj
= Py_None
;
35393 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35394 PyObject
*resultobj
;
35395 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35397 PyObject
* obj0
= 0 ;
35398 char *kwnames
[] = {
35399 (char *) "self", NULL
35402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
35403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35407 result
= (arg1
)->GetSize();
35409 wxPyEndAllowThreads(__tstate
);
35410 if (PyErr_Occurred()) SWIG_fail
;
35413 wxSize
* resultptr
;
35414 resultptr
= new wxSize((wxSize
&) result
);
35415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35423 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35424 PyObject
*resultobj
;
35425 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35427 PyObject
* obj0
= 0 ;
35428 char *kwnames
[] = {
35429 (char *) "self", NULL
35432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
35433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35437 result
= (arg1
)->CalcMin();
35439 wxPyEndAllowThreads(__tstate
);
35440 if (PyErr_Occurred()) SWIG_fail
;
35443 wxSize
* resultptr
;
35444 resultptr
= new wxSize((wxSize
&) result
);
35445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35453 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35454 PyObject
*resultobj
;
35455 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35460 PyObject
* obj0
= 0 ;
35461 PyObject
* obj1
= 0 ;
35462 PyObject
* obj2
= 0 ;
35463 char *kwnames
[] = {
35464 (char *) "self",(char *) "pos",(char *) "size", NULL
35467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35470 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
35471 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35473 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
35474 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35478 (arg1
)->SetDimension(arg2
,arg3
);
35480 wxPyEndAllowThreads(__tstate
);
35481 if (PyErr_Occurred()) SWIG_fail
;
35483 Py_INCREF(Py_None
); resultobj
= Py_None
;
35490 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35491 PyObject
*resultobj
;
35492 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35494 PyObject
* obj0
= 0 ;
35495 char *kwnames
[] = {
35496 (char *) "self", NULL
35499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
35500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35504 result
= (arg1
)->GetMinSize();
35506 wxPyEndAllowThreads(__tstate
);
35507 if (PyErr_Occurred()) SWIG_fail
;
35510 wxSize
* resultptr
;
35511 resultptr
= new wxSize((wxSize
&) result
);
35512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35520 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35521 PyObject
*resultobj
;
35522 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35524 PyObject
* obj0
= 0 ;
35525 char *kwnames
[] = {
35526 (char *) "self", NULL
35529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
35530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35534 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35540 wxSize
* resultptr
;
35541 resultptr
= new wxSize((wxSize
&) result
);
35542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35550 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35551 PyObject
*resultobj
;
35552 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35555 PyObject
* obj0
= 0 ;
35556 PyObject
* obj1
= 0 ;
35557 PyObject
* obj2
= 0 ;
35558 char *kwnames
[] = {
35559 (char *) "self",(char *) "x",(char *) "y", NULL
35562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35565 arg2
= (int)SWIG_As_int(obj1
);
35566 if (PyErr_Occurred()) SWIG_fail
;
35567 arg3
= (int)SWIG_As_int(obj2
);
35568 if (PyErr_Occurred()) SWIG_fail
;
35570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35571 (arg1
)->SetInitSize(arg2
,arg3
);
35573 wxPyEndAllowThreads(__tstate
);
35574 if (PyErr_Occurred()) SWIG_fail
;
35576 Py_INCREF(Py_None
); resultobj
= Py_None
;
35583 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35584 PyObject
*resultobj
;
35585 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35588 PyObject
* obj0
= 0 ;
35589 PyObject
* obj1
= 0 ;
35590 PyObject
* obj2
= 0 ;
35591 char *kwnames
[] = {
35592 (char *) "self",(char *) "width",(char *) "height", NULL
35595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35598 arg2
= (int)SWIG_As_int(obj1
);
35599 if (PyErr_Occurred()) SWIG_fail
;
35600 arg3
= (int)SWIG_As_int(obj2
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35604 (arg1
)->SetRatio(arg2
,arg3
);
35606 wxPyEndAllowThreads(__tstate
);
35607 if (PyErr_Occurred()) SWIG_fail
;
35609 Py_INCREF(Py_None
); resultobj
= Py_None
;
35616 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35617 PyObject
*resultobj
;
35618 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35621 PyObject
* obj0
= 0 ;
35622 PyObject
* obj1
= 0 ;
35623 char *kwnames
[] = {
35624 (char *) "self",(char *) "size", NULL
35627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35630 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
35631 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35635 (arg1
)->SetRatio(arg2
);
35637 wxPyEndAllowThreads(__tstate
);
35638 if (PyErr_Occurred()) SWIG_fail
;
35640 Py_INCREF(Py_None
); resultobj
= Py_None
;
35647 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35648 PyObject
*resultobj
;
35649 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35651 PyObject
* obj0
= 0 ;
35652 PyObject
* obj1
= 0 ;
35653 char *kwnames
[] = {
35654 (char *) "self",(char *) "ratio", NULL
35657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35660 arg2
= (float)SWIG_As_float(obj1
);
35661 if (PyErr_Occurred()) SWIG_fail
;
35663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35664 (arg1
)->SetRatio(arg2
);
35666 wxPyEndAllowThreads(__tstate
);
35667 if (PyErr_Occurred()) SWIG_fail
;
35669 Py_INCREF(Py_None
); resultobj
= Py_None
;
35676 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35677 PyObject
*resultobj
;
35678 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35680 PyObject
* obj0
= 0 ;
35681 char *kwnames
[] = {
35682 (char *) "self", NULL
35685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35690 result
= (float)(arg1
)->GetRatio();
35692 wxPyEndAllowThreads(__tstate
);
35693 if (PyErr_Occurred()) SWIG_fail
;
35695 resultobj
= SWIG_From_float((float)result
);
35702 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35703 PyObject
*resultobj
;
35704 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35706 PyObject
* obj0
= 0 ;
35707 char *kwnames
[] = {
35708 (char *) "self", NULL
35711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
35712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35716 result
= (arg1
)->GetRect();
35718 wxPyEndAllowThreads(__tstate
);
35719 if (PyErr_Occurred()) SWIG_fail
;
35722 wxRect
* resultptr
;
35723 resultptr
= new wxRect((wxRect
&) result
);
35724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35732 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35733 PyObject
*resultobj
;
35734 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35736 PyObject
* obj0
= 0 ;
35737 char *kwnames
[] = {
35738 (char *) "self", NULL
35741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35746 result
= (bool)(arg1
)->IsWindow();
35748 wxPyEndAllowThreads(__tstate
);
35749 if (PyErr_Occurred()) SWIG_fail
;
35752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35760 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35761 PyObject
*resultobj
;
35762 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35764 PyObject
* obj0
= 0 ;
35765 char *kwnames
[] = {
35766 (char *) "self", NULL
35769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35774 result
= (bool)(arg1
)->IsSizer();
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35788 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35789 PyObject
*resultobj
;
35790 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35792 PyObject
* obj0
= 0 ;
35793 char *kwnames
[] = {
35794 (char *) "self", NULL
35797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35802 result
= (bool)(arg1
)->IsSpacer();
35804 wxPyEndAllowThreads(__tstate
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35816 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
;
35818 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35820 PyObject
* obj0
= 0 ;
35821 PyObject
* obj1
= 0 ;
35822 char *kwnames
[] = {
35823 (char *) "self",(char *) "proportion", NULL
35826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35829 arg2
= (int)SWIG_As_int(obj1
);
35830 if (PyErr_Occurred()) SWIG_fail
;
35832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35833 (arg1
)->SetProportion(arg2
);
35835 wxPyEndAllowThreads(__tstate
);
35836 if (PyErr_Occurred()) SWIG_fail
;
35838 Py_INCREF(Py_None
); resultobj
= Py_None
;
35845 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35846 PyObject
*resultobj
;
35847 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35849 PyObject
* obj0
= 0 ;
35850 char *kwnames
[] = {
35851 (char *) "self", NULL
35854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35859 result
= (int)(arg1
)->GetProportion();
35861 wxPyEndAllowThreads(__tstate
);
35862 if (PyErr_Occurred()) SWIG_fail
;
35864 resultobj
= SWIG_From_int((int)result
);
35871 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35872 PyObject
*resultobj
;
35873 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35875 PyObject
* obj0
= 0 ;
35876 PyObject
* obj1
= 0 ;
35877 char *kwnames
[] = {
35878 (char *) "self",(char *) "flag", NULL
35881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35884 arg2
= (int)SWIG_As_int(obj1
);
35885 if (PyErr_Occurred()) SWIG_fail
;
35887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35888 (arg1
)->SetFlag(arg2
);
35890 wxPyEndAllowThreads(__tstate
);
35891 if (PyErr_Occurred()) SWIG_fail
;
35893 Py_INCREF(Py_None
); resultobj
= Py_None
;
35900 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35901 PyObject
*resultobj
;
35902 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35904 PyObject
* obj0
= 0 ;
35905 char *kwnames
[] = {
35906 (char *) "self", NULL
35909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 result
= (int)(arg1
)->GetFlag();
35916 wxPyEndAllowThreads(__tstate
);
35917 if (PyErr_Occurred()) SWIG_fail
;
35919 resultobj
= SWIG_From_int((int)result
);
35926 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35927 PyObject
*resultobj
;
35928 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35930 PyObject
* obj0
= 0 ;
35931 PyObject
* obj1
= 0 ;
35932 char *kwnames
[] = {
35933 (char *) "self",(char *) "border", NULL
35936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35939 arg2
= (int)SWIG_As_int(obj1
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35943 (arg1
)->SetBorder(arg2
);
35945 wxPyEndAllowThreads(__tstate
);
35946 if (PyErr_Occurred()) SWIG_fail
;
35948 Py_INCREF(Py_None
); resultobj
= Py_None
;
35955 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35956 PyObject
*resultobj
;
35957 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35959 PyObject
* obj0
= 0 ;
35960 char *kwnames
[] = {
35961 (char *) "self", NULL
35964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35969 result
= (int)(arg1
)->GetBorder();
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 resultobj
= SWIG_From_int((int)result
);
35981 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35982 PyObject
*resultobj
;
35983 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35985 PyObject
* obj0
= 0 ;
35986 char *kwnames
[] = {
35987 (char *) "self", NULL
35990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35995 result
= (wxWindow
*)(arg1
)->GetWindow();
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36001 resultobj
= wxPyMake_wxObject(result
, 0);
36009 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36010 PyObject
*resultobj
;
36011 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36012 wxWindow
*arg2
= (wxWindow
*) 0 ;
36013 PyObject
* obj0
= 0 ;
36014 PyObject
* obj1
= 0 ;
36015 char *kwnames
[] = {
36016 (char *) "self",(char *) "window", NULL
36019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
36020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36026 (arg1
)->SetWindow(arg2
);
36028 wxPyEndAllowThreads(__tstate
);
36029 if (PyErr_Occurred()) SWIG_fail
;
36031 Py_INCREF(Py_None
); resultobj
= Py_None
;
36038 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36039 PyObject
*resultobj
;
36040 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36042 PyObject
* obj0
= 0 ;
36043 char *kwnames
[] = {
36044 (char *) "self", NULL
36047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
36048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 result
= (wxSizer
*)(arg1
)->GetSizer();
36054 wxPyEndAllowThreads(__tstate
);
36055 if (PyErr_Occurred()) SWIG_fail
;
36058 resultobj
= wxPyMake_wxSizer(result
, 0);
36066 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36067 PyObject
*resultobj
;
36068 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36069 wxSizer
*arg2
= (wxSizer
*) 0 ;
36070 PyObject
* obj0
= 0 ;
36071 PyObject
* obj1
= 0 ;
36072 char *kwnames
[] = {
36073 (char *) "self",(char *) "sizer", NULL
36076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
36080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36083 (arg1
)->SetSizer(arg2
);
36085 wxPyEndAllowThreads(__tstate
);
36086 if (PyErr_Occurred()) SWIG_fail
;
36088 Py_INCREF(Py_None
); resultobj
= Py_None
;
36095 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36096 PyObject
*resultobj
;
36097 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36099 PyObject
* obj0
= 0 ;
36100 char *kwnames
[] = {
36101 (char *) "self", NULL
36104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
36105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36110 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
36111 result
= (wxSize
*) &_result_ref
;
36114 wxPyEndAllowThreads(__tstate
);
36115 if (PyErr_Occurred()) SWIG_fail
;
36117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
36124 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36125 PyObject
*resultobj
;
36126 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36129 PyObject
* obj0
= 0 ;
36130 PyObject
* obj1
= 0 ;
36131 char *kwnames
[] = {
36132 (char *) "self",(char *) "size", NULL
36135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
36136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36140 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36144 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
36146 wxPyEndAllowThreads(__tstate
);
36147 if (PyErr_Occurred()) SWIG_fail
;
36149 Py_INCREF(Py_None
); resultobj
= Py_None
;
36156 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36157 PyObject
*resultobj
;
36158 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36160 PyObject
* obj0
= 0 ;
36161 PyObject
* obj1
= 0 ;
36162 char *kwnames
[] = {
36163 (char *) "self",(char *) "show", NULL
36166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
36167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36169 arg2
= (bool)SWIG_As_bool(obj1
);
36170 if (PyErr_Occurred()) SWIG_fail
;
36172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36173 (arg1
)->Show(arg2
);
36175 wxPyEndAllowThreads(__tstate
);
36176 if (PyErr_Occurred()) SWIG_fail
;
36178 Py_INCREF(Py_None
); resultobj
= Py_None
;
36185 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36186 PyObject
*resultobj
;
36187 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36189 PyObject
* obj0
= 0 ;
36190 char *kwnames
[] = {
36191 (char *) "self", NULL
36194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
36195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36199 result
= (bool)(arg1
)->IsShown();
36201 wxPyEndAllowThreads(__tstate
);
36202 if (PyErr_Occurred()) SWIG_fail
;
36205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36213 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36214 PyObject
*resultobj
;
36215 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36217 PyObject
* obj0
= 0 ;
36218 char *kwnames
[] = {
36219 (char *) "self", NULL
36222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
36223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36227 result
= (arg1
)->GetPosition();
36229 wxPyEndAllowThreads(__tstate
);
36230 if (PyErr_Occurred()) SWIG_fail
;
36233 wxPoint
* resultptr
;
36234 resultptr
= new wxPoint((wxPoint
&) result
);
36235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36243 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36244 PyObject
*resultobj
;
36245 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36247 PyObject
* obj0
= 0 ;
36248 char *kwnames
[] = {
36249 (char *) "self", NULL
36252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
36253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36257 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
36259 wxPyEndAllowThreads(__tstate
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36262 resultobj
= result
;
36269 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
36271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36272 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
36274 return Py_BuildValue((char *)"");
36276 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36277 PyObject
*resultobj
;
36278 wxSizer
*arg1
= (wxSizer
*) 0 ;
36279 PyObject
*arg2
= (PyObject
*) 0 ;
36280 PyObject
* obj0
= 0 ;
36281 PyObject
* obj1
= 0 ;
36282 char *kwnames
[] = {
36283 (char *) "self",(char *) "_self", NULL
36286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
36287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36292 wxSizer__setOORInfo(arg1
,arg2
);
36294 wxPyEndAllowThreads(__tstate
);
36295 if (PyErr_Occurred()) SWIG_fail
;
36297 Py_INCREF(Py_None
); resultobj
= Py_None
;
36304 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36305 PyObject
*resultobj
;
36306 wxSizer
*arg1
= (wxSizer
*) 0 ;
36307 PyObject
*arg2
= (PyObject
*) 0 ;
36308 int arg3
= (int) 0 ;
36309 int arg4
= (int) 0 ;
36310 int arg5
= (int) 0 ;
36311 PyObject
*arg6
= (PyObject
*) NULL
;
36312 wxSizerItem
*result
;
36313 PyObject
* obj0
= 0 ;
36314 PyObject
* obj1
= 0 ;
36315 PyObject
* obj2
= 0 ;
36316 PyObject
* obj3
= 0 ;
36317 PyObject
* obj4
= 0 ;
36318 PyObject
* obj5
= 0 ;
36319 char *kwnames
[] = {
36320 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36328 arg3
= (int)SWIG_As_int(obj2
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36332 arg4
= (int)SWIG_As_int(obj3
);
36333 if (PyErr_Occurred()) SWIG_fail
;
36336 arg5
= (int)SWIG_As_int(obj4
);
36337 if (PyErr_Occurred()) SWIG_fail
;
36343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36344 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36346 wxPyEndAllowThreads(__tstate
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36356 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36357 PyObject
*resultobj
;
36358 wxSizer
*arg1
= (wxSizer
*) 0 ;
36360 PyObject
*arg3
= (PyObject
*) 0 ;
36361 int arg4
= (int) 0 ;
36362 int arg5
= (int) 0 ;
36363 int arg6
= (int) 0 ;
36364 PyObject
*arg7
= (PyObject
*) NULL
;
36365 wxSizerItem
*result
;
36366 PyObject
* obj0
= 0 ;
36367 PyObject
* obj1
= 0 ;
36368 PyObject
* obj2
= 0 ;
36369 PyObject
* obj3
= 0 ;
36370 PyObject
* obj4
= 0 ;
36371 PyObject
* obj5
= 0 ;
36372 PyObject
* obj6
= 0 ;
36373 char *kwnames
[] = {
36374 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36380 arg2
= (int)SWIG_As_int(obj1
);
36381 if (PyErr_Occurred()) SWIG_fail
;
36384 arg4
= (int)SWIG_As_int(obj3
);
36385 if (PyErr_Occurred()) SWIG_fail
;
36388 arg5
= (int)SWIG_As_int(obj4
);
36389 if (PyErr_Occurred()) SWIG_fail
;
36392 arg6
= (int)SWIG_As_int(obj5
);
36393 if (PyErr_Occurred()) SWIG_fail
;
36399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36400 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36402 wxPyEndAllowThreads(__tstate
);
36403 if (PyErr_Occurred()) SWIG_fail
;
36405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36412 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36413 PyObject
*resultobj
;
36414 wxSizer
*arg1
= (wxSizer
*) 0 ;
36415 PyObject
*arg2
= (PyObject
*) 0 ;
36416 int arg3
= (int) 0 ;
36417 int arg4
= (int) 0 ;
36418 int arg5
= (int) 0 ;
36419 PyObject
*arg6
= (PyObject
*) NULL
;
36420 wxSizerItem
*result
;
36421 PyObject
* obj0
= 0 ;
36422 PyObject
* obj1
= 0 ;
36423 PyObject
* obj2
= 0 ;
36424 PyObject
* obj3
= 0 ;
36425 PyObject
* obj4
= 0 ;
36426 PyObject
* obj5
= 0 ;
36427 char *kwnames
[] = {
36428 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36436 arg3
= (int)SWIG_As_int(obj2
);
36437 if (PyErr_Occurred()) SWIG_fail
;
36440 arg4
= (int)SWIG_As_int(obj3
);
36441 if (PyErr_Occurred()) SWIG_fail
;
36444 arg5
= (int)SWIG_As_int(obj4
);
36445 if (PyErr_Occurred()) SWIG_fail
;
36451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36452 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36454 wxPyEndAllowThreads(__tstate
);
36455 if (PyErr_Occurred()) SWIG_fail
;
36457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36464 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36465 PyObject
*resultobj
;
36466 wxSizer
*arg1
= (wxSizer
*) 0 ;
36467 PyObject
*arg2
= (PyObject
*) 0 ;
36469 PyObject
* obj0
= 0 ;
36470 PyObject
* obj1
= 0 ;
36471 char *kwnames
[] = {
36472 (char *) "self",(char *) "item", NULL
36475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
36476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36481 result
= (bool)wxSizer_Remove(arg1
,arg2
);
36483 wxPyEndAllowThreads(__tstate
);
36484 if (PyErr_Occurred()) SWIG_fail
;
36487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36495 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36496 PyObject
*resultobj
;
36497 wxSizer
*arg1
= (wxSizer
*) 0 ;
36498 PyObject
*arg2
= (PyObject
*) 0 ;
36500 PyObject
* obj0
= 0 ;
36501 PyObject
* obj1
= 0 ;
36502 char *kwnames
[] = {
36503 (char *) "self",(char *) "item", NULL
36506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
36507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 result
= (bool)wxSizer_Detach(arg1
,arg2
);
36514 wxPyEndAllowThreads(__tstate
);
36515 if (PyErr_Occurred()) SWIG_fail
;
36518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36526 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36527 PyObject
*resultobj
;
36528 wxSizer
*arg1
= (wxSizer
*) 0 ;
36529 PyObject
*arg2
= (PyObject
*) 0 ;
36530 wxSizerItem
*result
;
36531 PyObject
* obj0
= 0 ;
36532 PyObject
* obj1
= 0 ;
36533 char *kwnames
[] = {
36534 (char *) "self",(char *) "item", NULL
36537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36543 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
36545 wxPyEndAllowThreads(__tstate
);
36546 if (PyErr_Occurred()) SWIG_fail
;
36548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36555 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36556 PyObject
*resultobj
;
36557 wxSizer
*arg1
= (wxSizer
*) 0 ;
36558 PyObject
*arg2
= (PyObject
*) 0 ;
36561 PyObject
* obj0
= 0 ;
36562 PyObject
* obj1
= 0 ;
36563 PyObject
* obj2
= 0 ;
36564 char *kwnames
[] = {
36565 (char *) "self",(char *) "item",(char *) "size", NULL
36568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36574 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36578 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
36580 wxPyEndAllowThreads(__tstate
);
36581 if (PyErr_Occurred()) SWIG_fail
;
36583 Py_INCREF(Py_None
); resultobj
= Py_None
;
36590 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36591 PyObject
*resultobj
;
36592 wxSizer
*arg1
= (wxSizer
*) 0 ;
36593 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36594 wxSizerItem
*result
;
36595 PyObject
* obj0
= 0 ;
36596 PyObject
* obj1
= 0 ;
36597 char *kwnames
[] = {
36598 (char *) "self",(char *) "item", NULL
36601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36608 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
36610 wxPyEndAllowThreads(__tstate
);
36611 if (PyErr_Occurred()) SWIG_fail
;
36613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36620 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36621 PyObject
*resultobj
;
36622 wxSizer
*arg1
= (wxSizer
*) 0 ;
36624 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
36625 wxSizerItem
*result
;
36626 PyObject
* obj0
= 0 ;
36627 PyObject
* obj1
= 0 ;
36628 PyObject
* obj2
= 0 ;
36629 char *kwnames
[] = {
36630 (char *) "self",(char *) "index",(char *) "item", NULL
36633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36636 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36637 if (PyErr_Occurred()) SWIG_fail
;
36638 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
36639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36642 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
36644 wxPyEndAllowThreads(__tstate
);
36645 if (PyErr_Occurred()) SWIG_fail
;
36647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36654 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36655 PyObject
*resultobj
;
36656 wxSizer
*arg1
= (wxSizer
*) 0 ;
36657 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36658 wxSizerItem
*result
;
36659 PyObject
* obj0
= 0 ;
36660 PyObject
* obj1
= 0 ;
36661 char *kwnames
[] = {
36662 (char *) "self",(char *) "item", NULL
36665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36672 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
36674 wxPyEndAllowThreads(__tstate
);
36675 if (PyErr_Occurred()) SWIG_fail
;
36677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36684 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36685 PyObject
*resultobj
;
36686 wxSizer
*arg1
= (wxSizer
*) 0 ;
36691 PyObject
* obj0
= 0 ;
36692 PyObject
* obj1
= 0 ;
36693 PyObject
* obj2
= 0 ;
36694 PyObject
* obj3
= 0 ;
36695 PyObject
* obj4
= 0 ;
36696 char *kwnames
[] = {
36697 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36703 arg2
= (int)SWIG_As_int(obj1
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36705 arg3
= (int)SWIG_As_int(obj2
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36707 arg4
= (int)SWIG_As_int(obj3
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36709 arg5
= (int)SWIG_As_int(obj4
);
36710 if (PyErr_Occurred()) SWIG_fail
;
36712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36713 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36715 wxPyEndAllowThreads(__tstate
);
36716 if (PyErr_Occurred()) SWIG_fail
;
36718 Py_INCREF(Py_None
); resultobj
= Py_None
;
36725 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36726 PyObject
*resultobj
;
36727 wxSizer
*arg1
= (wxSizer
*) 0 ;
36730 PyObject
* obj0
= 0 ;
36731 PyObject
* obj1
= 0 ;
36732 char *kwnames
[] = {
36733 (char *) "self",(char *) "size", NULL
36736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36741 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36745 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36747 wxPyEndAllowThreads(__tstate
);
36748 if (PyErr_Occurred()) SWIG_fail
;
36750 Py_INCREF(Py_None
); resultobj
= Py_None
;
36757 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36758 PyObject
*resultobj
;
36759 wxSizer
*arg1
= (wxSizer
*) 0 ;
36761 PyObject
* obj0
= 0 ;
36762 char *kwnames
[] = {
36763 (char *) "self", NULL
36766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36771 result
= (arg1
)->GetSize();
36773 wxPyEndAllowThreads(__tstate
);
36774 if (PyErr_Occurred()) SWIG_fail
;
36777 wxSize
* resultptr
;
36778 resultptr
= new wxSize((wxSize
&) result
);
36779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36787 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36788 PyObject
*resultobj
;
36789 wxSizer
*arg1
= (wxSizer
*) 0 ;
36791 PyObject
* obj0
= 0 ;
36792 char *kwnames
[] = {
36793 (char *) "self", NULL
36796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36801 result
= (arg1
)->GetPosition();
36803 wxPyEndAllowThreads(__tstate
);
36804 if (PyErr_Occurred()) SWIG_fail
;
36807 wxPoint
* resultptr
;
36808 resultptr
= new wxPoint((wxPoint
&) result
);
36809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36817 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36818 PyObject
*resultobj
;
36819 wxSizer
*arg1
= (wxSizer
*) 0 ;
36821 PyObject
* obj0
= 0 ;
36822 char *kwnames
[] = {
36823 (char *) "self", NULL
36826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36831 result
= (arg1
)->GetMinSize();
36833 wxPyEndAllowThreads(__tstate
);
36834 if (PyErr_Occurred()) SWIG_fail
;
36837 wxSize
* resultptr
;
36838 resultptr
= new wxSize((wxSize
&) result
);
36839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36847 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36848 PyObject
*resultobj
;
36849 wxSizer
*arg1
= (wxSizer
*) 0 ;
36850 PyObject
* obj0
= 0 ;
36851 char *kwnames
[] = {
36852 (char *) "self", NULL
36855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36860 (arg1
)->RecalcSizes();
36862 wxPyEndAllowThreads(__tstate
);
36863 if (PyErr_Occurred()) SWIG_fail
;
36865 Py_INCREF(Py_None
); resultobj
= Py_None
;
36872 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36873 PyObject
*resultobj
;
36874 wxSizer
*arg1
= (wxSizer
*) 0 ;
36876 PyObject
* obj0
= 0 ;
36877 char *kwnames
[] = {
36878 (char *) "self", NULL
36881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36886 result
= (arg1
)->CalcMin();
36888 wxPyEndAllowThreads(__tstate
);
36889 if (PyErr_Occurred()) SWIG_fail
;
36892 wxSize
* resultptr
;
36893 resultptr
= new wxSize((wxSize
&) result
);
36894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36902 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36903 PyObject
*resultobj
;
36904 wxSizer
*arg1
= (wxSizer
*) 0 ;
36905 PyObject
* obj0
= 0 ;
36906 char *kwnames
[] = {
36907 (char *) "self", NULL
36910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36917 wxPyEndAllowThreads(__tstate
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36920 Py_INCREF(Py_None
); resultobj
= Py_None
;
36927 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36928 PyObject
*resultobj
;
36929 wxSizer
*arg1
= (wxSizer
*) 0 ;
36930 wxWindow
*arg2
= (wxWindow
*) 0 ;
36932 PyObject
* obj0
= 0 ;
36933 PyObject
* obj1
= 0 ;
36934 char *kwnames
[] = {
36935 (char *) "self",(char *) "window", NULL
36938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36945 result
= (arg1
)->Fit(arg2
);
36947 wxPyEndAllowThreads(__tstate
);
36948 if (PyErr_Occurred()) SWIG_fail
;
36951 wxSize
* resultptr
;
36952 resultptr
= new wxSize((wxSize
&) result
);
36953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36961 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36962 PyObject
*resultobj
;
36963 wxSizer
*arg1
= (wxSizer
*) 0 ;
36964 wxWindow
*arg2
= (wxWindow
*) 0 ;
36965 PyObject
* obj0
= 0 ;
36966 PyObject
* obj1
= 0 ;
36967 char *kwnames
[] = {
36968 (char *) "self",(char *) "window", NULL
36971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36978 (arg1
)->FitInside(arg2
);
36980 wxPyEndAllowThreads(__tstate
);
36981 if (PyErr_Occurred()) SWIG_fail
;
36983 Py_INCREF(Py_None
); resultobj
= Py_None
;
36990 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36991 PyObject
*resultobj
;
36992 wxSizer
*arg1
= (wxSizer
*) 0 ;
36993 wxWindow
*arg2
= (wxWindow
*) 0 ;
36994 PyObject
* obj0
= 0 ;
36995 PyObject
* obj1
= 0 ;
36996 char *kwnames
[] = {
36997 (char *) "self",(char *) "window", NULL
37000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
37001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37007 (arg1
)->SetSizeHints(arg2
);
37009 wxPyEndAllowThreads(__tstate
);
37010 if (PyErr_Occurred()) SWIG_fail
;
37012 Py_INCREF(Py_None
); resultobj
= Py_None
;
37019 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37020 PyObject
*resultobj
;
37021 wxSizer
*arg1
= (wxSizer
*) 0 ;
37022 wxWindow
*arg2
= (wxWindow
*) 0 ;
37023 PyObject
* obj0
= 0 ;
37024 PyObject
* obj1
= 0 ;
37025 char *kwnames
[] = {
37026 (char *) "self",(char *) "window", NULL
37029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
37030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37036 (arg1
)->SetVirtualSizeHints(arg2
);
37038 wxPyEndAllowThreads(__tstate
);
37039 if (PyErr_Occurred()) SWIG_fail
;
37041 Py_INCREF(Py_None
); resultobj
= Py_None
;
37048 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37049 PyObject
*resultobj
;
37050 wxSizer
*arg1
= (wxSizer
*) 0 ;
37051 bool arg2
= (bool) false ;
37052 PyObject
* obj0
= 0 ;
37053 PyObject
* obj1
= 0 ;
37054 char *kwnames
[] = {
37055 (char *) "self",(char *) "deleteWindows", NULL
37058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
37059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37062 arg2
= (bool)SWIG_As_bool(obj1
);
37063 if (PyErr_Occurred()) SWIG_fail
;
37066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37067 (arg1
)->Clear(arg2
);
37069 wxPyEndAllowThreads(__tstate
);
37070 if (PyErr_Occurred()) SWIG_fail
;
37072 Py_INCREF(Py_None
); resultobj
= Py_None
;
37079 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37080 PyObject
*resultobj
;
37081 wxSizer
*arg1
= (wxSizer
*) 0 ;
37082 PyObject
* obj0
= 0 ;
37083 char *kwnames
[] = {
37084 (char *) "self", NULL
37087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37092 (arg1
)->DeleteWindows();
37094 wxPyEndAllowThreads(__tstate
);
37095 if (PyErr_Occurred()) SWIG_fail
;
37097 Py_INCREF(Py_None
); resultobj
= Py_None
;
37104 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37105 PyObject
*resultobj
;
37106 wxSizer
*arg1
= (wxSizer
*) 0 ;
37108 PyObject
* obj0
= 0 ;
37109 char *kwnames
[] = {
37110 (char *) "self", NULL
37113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
37114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
37120 wxPyEndAllowThreads(__tstate
);
37121 if (PyErr_Occurred()) SWIG_fail
;
37123 resultobj
= result
;
37130 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37131 PyObject
*resultobj
;
37132 wxSizer
*arg1
= (wxSizer
*) 0 ;
37133 PyObject
*arg2
= (PyObject
*) 0 ;
37134 bool arg3
= (bool) true ;
37135 bool arg4
= (bool) false ;
37137 PyObject
* obj0
= 0 ;
37138 PyObject
* obj1
= 0 ;
37139 PyObject
* obj2
= 0 ;
37140 PyObject
* obj3
= 0 ;
37141 char *kwnames
[] = {
37142 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
37145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37150 arg3
= (bool)SWIG_As_bool(obj2
);
37151 if (PyErr_Occurred()) SWIG_fail
;
37154 arg4
= (bool)SWIG_As_bool(obj3
);
37155 if (PyErr_Occurred()) SWIG_fail
;
37158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37159 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
37161 wxPyEndAllowThreads(__tstate
);
37162 if (PyErr_Occurred()) SWIG_fail
;
37165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37173 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37174 PyObject
*resultobj
;
37175 wxSizer
*arg1
= (wxSizer
*) 0 ;
37176 PyObject
*arg2
= (PyObject
*) 0 ;
37178 PyObject
* obj0
= 0 ;
37179 PyObject
* obj1
= 0 ;
37180 char *kwnames
[] = {
37181 (char *) "self",(char *) "item", NULL
37184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
37185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
37192 wxPyEndAllowThreads(__tstate
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37204 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37205 PyObject
*resultobj
;
37206 wxSizer
*arg1
= (wxSizer
*) 0 ;
37208 PyObject
* obj0
= 0 ;
37209 PyObject
* obj1
= 0 ;
37210 char *kwnames
[] = {
37211 (char *) "self",(char *) "show", NULL
37214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37217 arg2
= (bool)SWIG_As_bool(obj1
);
37218 if (PyErr_Occurred()) SWIG_fail
;
37220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37221 (arg1
)->ShowItems(arg2
);
37223 wxPyEndAllowThreads(__tstate
);
37224 if (PyErr_Occurred()) SWIG_fail
;
37226 Py_INCREF(Py_None
); resultobj
= Py_None
;
37233 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
37235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37236 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
37238 return Py_BuildValue((char *)"");
37240 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37241 PyObject
*resultobj
;
37243 char *kwnames
[] = {
37247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
37249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37250 result
= (wxPySizer
*)new wxPySizer();
37252 wxPyEndAllowThreads(__tstate
);
37253 if (PyErr_Occurred()) SWIG_fail
;
37255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
37262 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37263 PyObject
*resultobj
;
37264 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
37265 PyObject
*arg2
= (PyObject
*) 0 ;
37266 PyObject
*arg3
= (PyObject
*) 0 ;
37267 PyObject
* obj0
= 0 ;
37268 PyObject
* obj1
= 0 ;
37269 PyObject
* obj2
= 0 ;
37270 char *kwnames
[] = {
37271 (char *) "self",(char *) "self",(char *) "_class", NULL
37274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
37276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37281 (arg1
)->_setCallbackInfo(arg2
,arg3
);
37283 wxPyEndAllowThreads(__tstate
);
37284 if (PyErr_Occurred()) SWIG_fail
;
37286 Py_INCREF(Py_None
); resultobj
= Py_None
;
37293 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
37295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37296 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
37298 return Py_BuildValue((char *)"");
37300 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37301 PyObject
*resultobj
;
37302 int arg1
= (int) wxHORIZONTAL
;
37303 wxBoxSizer
*result
;
37304 PyObject
* obj0
= 0 ;
37305 char *kwnames
[] = {
37306 (char *) "orient", NULL
37309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
37311 arg1
= (int)SWIG_As_int(obj0
);
37312 if (PyErr_Occurred()) SWIG_fail
;
37315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37316 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
37318 wxPyEndAllowThreads(__tstate
);
37319 if (PyErr_Occurred()) SWIG_fail
;
37321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
37328 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37329 PyObject
*resultobj
;
37330 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
37332 PyObject
* obj0
= 0 ;
37333 char *kwnames
[] = {
37334 (char *) "self", NULL
37337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
37338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
37339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37342 result
= (int)(arg1
)->GetOrientation();
37344 wxPyEndAllowThreads(__tstate
);
37345 if (PyErr_Occurred()) SWIG_fail
;
37347 resultobj
= SWIG_From_int((int)result
);
37354 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37355 PyObject
*resultobj
;
37356 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
37358 PyObject
* obj0
= 0 ;
37359 PyObject
* obj1
= 0 ;
37360 char *kwnames
[] = {
37361 (char *) "self",(char *) "orient", NULL
37364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
37365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
37366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37367 arg2
= (int)SWIG_As_int(obj1
);
37368 if (PyErr_Occurred()) SWIG_fail
;
37370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37371 (arg1
)->SetOrientation(arg2
);
37373 wxPyEndAllowThreads(__tstate
);
37374 if (PyErr_Occurred()) SWIG_fail
;
37376 Py_INCREF(Py_None
); resultobj
= Py_None
;
37383 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37386 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
37388 return Py_BuildValue((char *)"");
37390 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37391 PyObject
*resultobj
;
37392 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
37393 int arg2
= (int) wxHORIZONTAL
;
37394 wxStaticBoxSizer
*result
;
37395 PyObject
* obj0
= 0 ;
37396 PyObject
* obj1
= 0 ;
37397 char *kwnames
[] = {
37398 (char *) "box",(char *) "orient", NULL
37401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
37403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37405 arg2
= (int)SWIG_As_int(obj1
);
37406 if (PyErr_Occurred()) SWIG_fail
;
37409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37410 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
37412 wxPyEndAllowThreads(__tstate
);
37413 if (PyErr_Occurred()) SWIG_fail
;
37415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
37422 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37423 PyObject
*resultobj
;
37424 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
37425 wxStaticBox
*result
;
37426 PyObject
* obj0
= 0 ;
37427 char *kwnames
[] = {
37428 (char *) "self", NULL
37431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
37432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
37433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37436 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
37438 wxPyEndAllowThreads(__tstate
);
37439 if (PyErr_Occurred()) SWIG_fail
;
37442 resultobj
= wxPyMake_wxObject(result
, 0);
37450 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37453 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
37455 return Py_BuildValue((char *)"");
37457 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37458 PyObject
*resultobj
;
37459 int arg1
= (int) 1 ;
37460 int arg2
= (int) 0 ;
37461 int arg3
= (int) 0 ;
37462 int arg4
= (int) 0 ;
37463 wxGridSizer
*result
;
37464 PyObject
* obj0
= 0 ;
37465 PyObject
* obj1
= 0 ;
37466 PyObject
* obj2
= 0 ;
37467 PyObject
* obj3
= 0 ;
37468 char *kwnames
[] = {
37469 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37474 arg1
= (int)SWIG_As_int(obj0
);
37475 if (PyErr_Occurred()) SWIG_fail
;
37478 arg2
= (int)SWIG_As_int(obj1
);
37479 if (PyErr_Occurred()) SWIG_fail
;
37482 arg3
= (int)SWIG_As_int(obj2
);
37483 if (PyErr_Occurred()) SWIG_fail
;
37486 arg4
= (int)SWIG_As_int(obj3
);
37487 if (PyErr_Occurred()) SWIG_fail
;
37490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37491 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
37493 wxPyEndAllowThreads(__tstate
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
37503 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37504 PyObject
*resultobj
;
37505 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37507 PyObject
* obj0
= 0 ;
37508 PyObject
* obj1
= 0 ;
37509 char *kwnames
[] = {
37510 (char *) "self",(char *) "cols", NULL
37513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
37514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37516 arg2
= (int)SWIG_As_int(obj1
);
37517 if (PyErr_Occurred()) SWIG_fail
;
37519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37520 (arg1
)->SetCols(arg2
);
37522 wxPyEndAllowThreads(__tstate
);
37523 if (PyErr_Occurred()) SWIG_fail
;
37525 Py_INCREF(Py_None
); resultobj
= Py_None
;
37532 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37533 PyObject
*resultobj
;
37534 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37536 PyObject
* obj0
= 0 ;
37537 PyObject
* obj1
= 0 ;
37538 char *kwnames
[] = {
37539 (char *) "self",(char *) "rows", NULL
37542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
37543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37545 arg2
= (int)SWIG_As_int(obj1
);
37546 if (PyErr_Occurred()) SWIG_fail
;
37548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37549 (arg1
)->SetRows(arg2
);
37551 wxPyEndAllowThreads(__tstate
);
37552 if (PyErr_Occurred()) SWIG_fail
;
37554 Py_INCREF(Py_None
); resultobj
= Py_None
;
37561 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37562 PyObject
*resultobj
;
37563 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37565 PyObject
* obj0
= 0 ;
37566 PyObject
* obj1
= 0 ;
37567 char *kwnames
[] = {
37568 (char *) "self",(char *) "gap", NULL
37571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37574 arg2
= (int)SWIG_As_int(obj1
);
37575 if (PyErr_Occurred()) SWIG_fail
;
37577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37578 (arg1
)->SetVGap(arg2
);
37580 wxPyEndAllowThreads(__tstate
);
37581 if (PyErr_Occurred()) SWIG_fail
;
37583 Py_INCREF(Py_None
); resultobj
= Py_None
;
37590 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37591 PyObject
*resultobj
;
37592 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37594 PyObject
* obj0
= 0 ;
37595 PyObject
* obj1
= 0 ;
37596 char *kwnames
[] = {
37597 (char *) "self",(char *) "gap", NULL
37600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37603 arg2
= (int)SWIG_As_int(obj1
);
37604 if (PyErr_Occurred()) SWIG_fail
;
37606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37607 (arg1
)->SetHGap(arg2
);
37609 wxPyEndAllowThreads(__tstate
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37612 Py_INCREF(Py_None
); resultobj
= Py_None
;
37619 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37620 PyObject
*resultobj
;
37621 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37623 PyObject
* obj0
= 0 ;
37624 char *kwnames
[] = {
37625 (char *) "self", NULL
37628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
37629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37633 result
= (int)(arg1
)->GetCols();
37635 wxPyEndAllowThreads(__tstate
);
37636 if (PyErr_Occurred()) SWIG_fail
;
37638 resultobj
= SWIG_From_int((int)result
);
37645 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37646 PyObject
*resultobj
;
37647 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37649 PyObject
* obj0
= 0 ;
37650 char *kwnames
[] = {
37651 (char *) "self", NULL
37654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
37655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37659 result
= (int)(arg1
)->GetRows();
37661 wxPyEndAllowThreads(__tstate
);
37662 if (PyErr_Occurred()) SWIG_fail
;
37664 resultobj
= SWIG_From_int((int)result
);
37671 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37672 PyObject
*resultobj
;
37673 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37675 PyObject
* obj0
= 0 ;
37676 char *kwnames
[] = {
37677 (char *) "self", NULL
37680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37685 result
= (int)(arg1
)->GetVGap();
37687 wxPyEndAllowThreads(__tstate
);
37688 if (PyErr_Occurred()) SWIG_fail
;
37690 resultobj
= SWIG_From_int((int)result
);
37697 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37698 PyObject
*resultobj
;
37699 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37701 PyObject
* obj0
= 0 ;
37702 char *kwnames
[] = {
37703 (char *) "self", NULL
37706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37711 result
= (int)(arg1
)->GetHGap();
37713 wxPyEndAllowThreads(__tstate
);
37714 if (PyErr_Occurred()) SWIG_fail
;
37716 resultobj
= SWIG_From_int((int)result
);
37723 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37726 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37728 return Py_BuildValue((char *)"");
37730 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37731 PyObject
*resultobj
;
37732 int arg1
= (int) 1 ;
37733 int arg2
= (int) 0 ;
37734 int arg3
= (int) 0 ;
37735 int arg4
= (int) 0 ;
37736 wxFlexGridSizer
*result
;
37737 PyObject
* obj0
= 0 ;
37738 PyObject
* obj1
= 0 ;
37739 PyObject
* obj2
= 0 ;
37740 PyObject
* obj3
= 0 ;
37741 char *kwnames
[] = {
37742 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37747 arg1
= (int)SWIG_As_int(obj0
);
37748 if (PyErr_Occurred()) SWIG_fail
;
37751 arg2
= (int)SWIG_As_int(obj1
);
37752 if (PyErr_Occurred()) SWIG_fail
;
37755 arg3
= (int)SWIG_As_int(obj2
);
37756 if (PyErr_Occurred()) SWIG_fail
;
37759 arg4
= (int)SWIG_As_int(obj3
);
37760 if (PyErr_Occurred()) SWIG_fail
;
37763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37764 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37766 wxPyEndAllowThreads(__tstate
);
37767 if (PyErr_Occurred()) SWIG_fail
;
37769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37776 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37777 PyObject
*resultobj
;
37778 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37780 int arg3
= (int) 0 ;
37781 PyObject
* obj0
= 0 ;
37782 PyObject
* obj1
= 0 ;
37783 PyObject
* obj2
= 0 ;
37784 char *kwnames
[] = {
37785 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37791 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37792 if (PyErr_Occurred()) SWIG_fail
;
37794 arg3
= (int)SWIG_As_int(obj2
);
37795 if (PyErr_Occurred()) SWIG_fail
;
37798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37799 (arg1
)->AddGrowableRow(arg2
,arg3
);
37801 wxPyEndAllowThreads(__tstate
);
37802 if (PyErr_Occurred()) SWIG_fail
;
37804 Py_INCREF(Py_None
); resultobj
= Py_None
;
37811 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37812 PyObject
*resultobj
;
37813 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37815 PyObject
* obj0
= 0 ;
37816 PyObject
* obj1
= 0 ;
37817 char *kwnames
[] = {
37818 (char *) "self",(char *) "idx", NULL
37821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37824 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37825 if (PyErr_Occurred()) SWIG_fail
;
37827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37828 (arg1
)->RemoveGrowableRow(arg2
);
37830 wxPyEndAllowThreads(__tstate
);
37831 if (PyErr_Occurred()) SWIG_fail
;
37833 Py_INCREF(Py_None
); resultobj
= Py_None
;
37840 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37841 PyObject
*resultobj
;
37842 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37844 int arg3
= (int) 0 ;
37845 PyObject
* obj0
= 0 ;
37846 PyObject
* obj1
= 0 ;
37847 PyObject
* obj2
= 0 ;
37848 char *kwnames
[] = {
37849 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37855 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37856 if (PyErr_Occurred()) SWIG_fail
;
37858 arg3
= (int)SWIG_As_int(obj2
);
37859 if (PyErr_Occurred()) SWIG_fail
;
37862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37863 (arg1
)->AddGrowableCol(arg2
,arg3
);
37865 wxPyEndAllowThreads(__tstate
);
37866 if (PyErr_Occurred()) SWIG_fail
;
37868 Py_INCREF(Py_None
); resultobj
= Py_None
;
37875 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37876 PyObject
*resultobj
;
37877 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37879 PyObject
* obj0
= 0 ;
37880 PyObject
* obj1
= 0 ;
37881 char *kwnames
[] = {
37882 (char *) "self",(char *) "idx", NULL
37885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37888 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37889 if (PyErr_Occurred()) SWIG_fail
;
37891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37892 (arg1
)->RemoveGrowableCol(arg2
);
37894 wxPyEndAllowThreads(__tstate
);
37895 if (PyErr_Occurred()) SWIG_fail
;
37897 Py_INCREF(Py_None
); resultobj
= Py_None
;
37904 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37905 PyObject
*resultobj
;
37906 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37908 PyObject
* obj0
= 0 ;
37909 PyObject
* obj1
= 0 ;
37910 char *kwnames
[] = {
37911 (char *) "self",(char *) "direction", NULL
37914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37917 arg2
= (int)SWIG_As_int(obj1
);
37918 if (PyErr_Occurred()) SWIG_fail
;
37920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37921 (arg1
)->SetFlexibleDirection(arg2
);
37923 wxPyEndAllowThreads(__tstate
);
37924 if (PyErr_Occurred()) SWIG_fail
;
37926 Py_INCREF(Py_None
); resultobj
= Py_None
;
37933 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37934 PyObject
*resultobj
;
37935 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37937 PyObject
* obj0
= 0 ;
37938 char *kwnames
[] = {
37939 (char *) "self", NULL
37942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37947 result
= (int)(arg1
)->GetFlexibleDirection();
37949 wxPyEndAllowThreads(__tstate
);
37950 if (PyErr_Occurred()) SWIG_fail
;
37952 resultobj
= SWIG_From_int((int)result
);
37959 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37960 PyObject
*resultobj
;
37961 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37963 PyObject
* obj0
= 0 ;
37964 PyObject
* obj1
= 0 ;
37965 char *kwnames
[] = {
37966 (char *) "self",(char *) "mode", NULL
37969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37972 arg2
= (int)SWIG_As_int(obj1
);
37973 if (PyErr_Occurred()) SWIG_fail
;
37975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37976 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37978 wxPyEndAllowThreads(__tstate
);
37979 if (PyErr_Occurred()) SWIG_fail
;
37981 Py_INCREF(Py_None
); resultobj
= Py_None
;
37988 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37989 PyObject
*resultobj
;
37990 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37992 PyObject
* obj0
= 0 ;
37993 char *kwnames
[] = {
37994 (char *) "self", NULL
37997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38002 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
38004 wxPyEndAllowThreads(__tstate
);
38005 if (PyErr_Occurred()) SWIG_fail
;
38007 resultobj
= SWIG_From_int((int)result
);
38014 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38015 PyObject
*resultobj
;
38016 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
38017 wxArrayInt
*result
;
38018 PyObject
* obj0
= 0 ;
38019 char *kwnames
[] = {
38020 (char *) "self", NULL
38023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
38024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
38025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38029 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
38030 result
= (wxArrayInt
*) &_result_ref
;
38033 wxPyEndAllowThreads(__tstate
);
38034 if (PyErr_Occurred()) SWIG_fail
;
38037 resultobj
= PyList_New(0);
38039 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
38040 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
38041 PyList_Append(resultobj
, val
);
38051 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38052 PyObject
*resultobj
;
38053 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
38054 wxArrayInt
*result
;
38055 PyObject
* obj0
= 0 ;
38056 char *kwnames
[] = {
38057 (char *) "self", NULL
38060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
38061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
38062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38066 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
38067 result
= (wxArrayInt
*) &_result_ref
;
38070 wxPyEndAllowThreads(__tstate
);
38071 if (PyErr_Occurred()) SWIG_fail
;
38074 resultobj
= PyList_New(0);
38076 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
38077 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
38078 PyList_Append(resultobj
, val
);
38088 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
38090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38091 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
38093 return Py_BuildValue((char *)"");
38095 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38096 PyObject
*resultobj
;
38097 int arg1
= (int) 0 ;
38098 int arg2
= (int) 0 ;
38099 wxGBPosition
*result
;
38100 PyObject
* obj0
= 0 ;
38101 PyObject
* obj1
= 0 ;
38102 char *kwnames
[] = {
38103 (char *) "row",(char *) "col", NULL
38106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38108 arg1
= (int)SWIG_As_int(obj0
);
38109 if (PyErr_Occurred()) SWIG_fail
;
38112 arg2
= (int)SWIG_As_int(obj1
);
38113 if (PyErr_Occurred()) SWIG_fail
;
38116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38117 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
38119 wxPyEndAllowThreads(__tstate
);
38120 if (PyErr_Occurred()) SWIG_fail
;
38122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
38129 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38130 PyObject
*resultobj
;
38131 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38133 PyObject
* obj0
= 0 ;
38134 char *kwnames
[] = {
38135 (char *) "self", NULL
38138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
38139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38143 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
38145 wxPyEndAllowThreads(__tstate
);
38146 if (PyErr_Occurred()) SWIG_fail
;
38148 resultobj
= SWIG_From_int((int)result
);
38155 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38156 PyObject
*resultobj
;
38157 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38159 PyObject
* obj0
= 0 ;
38160 char *kwnames
[] = {
38161 (char *) "self", NULL
38164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
38165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38169 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
38171 wxPyEndAllowThreads(__tstate
);
38172 if (PyErr_Occurred()) SWIG_fail
;
38174 resultobj
= SWIG_From_int((int)result
);
38181 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38182 PyObject
*resultobj
;
38183 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38185 PyObject
* obj0
= 0 ;
38186 PyObject
* obj1
= 0 ;
38187 char *kwnames
[] = {
38188 (char *) "self",(char *) "row", NULL
38191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
38192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38194 arg2
= (int)SWIG_As_int(obj1
);
38195 if (PyErr_Occurred()) SWIG_fail
;
38197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38198 (arg1
)->SetRow(arg2
);
38200 wxPyEndAllowThreads(__tstate
);
38201 if (PyErr_Occurred()) SWIG_fail
;
38203 Py_INCREF(Py_None
); resultobj
= Py_None
;
38210 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38211 PyObject
*resultobj
;
38212 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38214 PyObject
* obj0
= 0 ;
38215 PyObject
* obj1
= 0 ;
38216 char *kwnames
[] = {
38217 (char *) "self",(char *) "col", NULL
38220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
38221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38223 arg2
= (int)SWIG_As_int(obj1
);
38224 if (PyErr_Occurred()) SWIG_fail
;
38226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38227 (arg1
)->SetCol(arg2
);
38229 wxPyEndAllowThreads(__tstate
);
38230 if (PyErr_Occurred()) SWIG_fail
;
38232 Py_INCREF(Py_None
); resultobj
= Py_None
;
38239 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38240 PyObject
*resultobj
;
38241 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38242 wxGBPosition
*arg2
= 0 ;
38244 wxGBPosition temp2
;
38245 PyObject
* obj0
= 0 ;
38246 PyObject
* obj1
= 0 ;
38247 char *kwnames
[] = {
38248 (char *) "self",(char *) "other", NULL
38251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38256 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38260 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
38262 wxPyEndAllowThreads(__tstate
);
38263 if (PyErr_Occurred()) SWIG_fail
;
38266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38274 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38275 PyObject
*resultobj
;
38276 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38277 wxGBPosition
*arg2
= 0 ;
38279 wxGBPosition temp2
;
38280 PyObject
* obj0
= 0 ;
38281 PyObject
* obj1
= 0 ;
38282 char *kwnames
[] = {
38283 (char *) "self",(char *) "other", NULL
38286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38291 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38295 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
38297 wxPyEndAllowThreads(__tstate
);
38298 if (PyErr_Occurred()) SWIG_fail
;
38301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38309 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38310 PyObject
*resultobj
;
38311 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38312 int arg2
= (int) 0 ;
38313 int arg3
= (int) 0 ;
38314 PyObject
* obj0
= 0 ;
38315 PyObject
* obj1
= 0 ;
38316 PyObject
* obj2
= 0 ;
38317 char *kwnames
[] = {
38318 (char *) "self",(char *) "row",(char *) "col", NULL
38321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38325 arg2
= (int)SWIG_As_int(obj1
);
38326 if (PyErr_Occurred()) SWIG_fail
;
38329 arg3
= (int)SWIG_As_int(obj2
);
38330 if (PyErr_Occurred()) SWIG_fail
;
38333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38334 wxGBPosition_Set(arg1
,arg2
,arg3
);
38336 wxPyEndAllowThreads(__tstate
);
38337 if (PyErr_Occurred()) SWIG_fail
;
38339 Py_INCREF(Py_None
); resultobj
= Py_None
;
38346 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38347 PyObject
*resultobj
;
38348 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38350 PyObject
* obj0
= 0 ;
38351 char *kwnames
[] = {
38352 (char *) "self", NULL
38355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
38356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38360 result
= (PyObject
*)wxGBPosition_Get(arg1
);
38362 wxPyEndAllowThreads(__tstate
);
38363 if (PyErr_Occurred()) SWIG_fail
;
38365 resultobj
= result
;
38372 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
38374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38375 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
38377 return Py_BuildValue((char *)"");
38379 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38380 PyObject
*resultobj
;
38381 int arg1
= (int) 1 ;
38382 int arg2
= (int) 1 ;
38384 PyObject
* obj0
= 0 ;
38385 PyObject
* obj1
= 0 ;
38386 char *kwnames
[] = {
38387 (char *) "rowspan",(char *) "colspan", NULL
38390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38392 arg1
= (int)SWIG_As_int(obj0
);
38393 if (PyErr_Occurred()) SWIG_fail
;
38396 arg2
= (int)SWIG_As_int(obj1
);
38397 if (PyErr_Occurred()) SWIG_fail
;
38400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38401 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
38403 wxPyEndAllowThreads(__tstate
);
38404 if (PyErr_Occurred()) SWIG_fail
;
38406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
38413 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38414 PyObject
*resultobj
;
38415 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38417 PyObject
* obj0
= 0 ;
38418 char *kwnames
[] = {
38419 (char *) "self", NULL
38422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
38423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38427 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
38429 wxPyEndAllowThreads(__tstate
);
38430 if (PyErr_Occurred()) SWIG_fail
;
38432 resultobj
= SWIG_From_int((int)result
);
38439 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38440 PyObject
*resultobj
;
38441 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38443 PyObject
* obj0
= 0 ;
38444 char *kwnames
[] = {
38445 (char *) "self", NULL
38448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
38449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
38455 wxPyEndAllowThreads(__tstate
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38458 resultobj
= SWIG_From_int((int)result
);
38465 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38466 PyObject
*resultobj
;
38467 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38469 PyObject
* obj0
= 0 ;
38470 PyObject
* obj1
= 0 ;
38471 char *kwnames
[] = {
38472 (char *) "self",(char *) "rowspan", NULL
38475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38478 arg2
= (int)SWIG_As_int(obj1
);
38479 if (PyErr_Occurred()) SWIG_fail
;
38481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38482 (arg1
)->SetRowspan(arg2
);
38484 wxPyEndAllowThreads(__tstate
);
38485 if (PyErr_Occurred()) SWIG_fail
;
38487 Py_INCREF(Py_None
); resultobj
= Py_None
;
38494 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38495 PyObject
*resultobj
;
38496 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38498 PyObject
* obj0
= 0 ;
38499 PyObject
* obj1
= 0 ;
38500 char *kwnames
[] = {
38501 (char *) "self",(char *) "colspan", NULL
38504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38507 arg2
= (int)SWIG_As_int(obj1
);
38508 if (PyErr_Occurred()) SWIG_fail
;
38510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38511 (arg1
)->SetColspan(arg2
);
38513 wxPyEndAllowThreads(__tstate
);
38514 if (PyErr_Occurred()) SWIG_fail
;
38516 Py_INCREF(Py_None
); resultobj
= Py_None
;
38523 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38524 PyObject
*resultobj
;
38525 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38526 wxGBSpan
*arg2
= 0 ;
38529 PyObject
* obj0
= 0 ;
38530 PyObject
* obj1
= 0 ;
38531 char *kwnames
[] = {
38532 (char *) "self",(char *) "other", NULL
38535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38540 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38544 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
38546 wxPyEndAllowThreads(__tstate
);
38547 if (PyErr_Occurred()) SWIG_fail
;
38550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38558 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38559 PyObject
*resultobj
;
38560 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38561 wxGBSpan
*arg2
= 0 ;
38564 PyObject
* obj0
= 0 ;
38565 PyObject
* obj1
= 0 ;
38566 char *kwnames
[] = {
38567 (char *) "self",(char *) "other", NULL
38570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38575 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38579 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
38581 wxPyEndAllowThreads(__tstate
);
38582 if (PyErr_Occurred()) SWIG_fail
;
38585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38593 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38594 PyObject
*resultobj
;
38595 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38596 int arg2
= (int) 1 ;
38597 int arg3
= (int) 1 ;
38598 PyObject
* obj0
= 0 ;
38599 PyObject
* obj1
= 0 ;
38600 PyObject
* obj2
= 0 ;
38601 char *kwnames
[] = {
38602 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
38605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38609 arg2
= (int)SWIG_As_int(obj1
);
38610 if (PyErr_Occurred()) SWIG_fail
;
38613 arg3
= (int)SWIG_As_int(obj2
);
38614 if (PyErr_Occurred()) SWIG_fail
;
38617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38618 wxGBSpan_Set(arg1
,arg2
,arg3
);
38620 wxPyEndAllowThreads(__tstate
);
38621 if (PyErr_Occurred()) SWIG_fail
;
38623 Py_INCREF(Py_None
); resultobj
= Py_None
;
38630 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38631 PyObject
*resultobj
;
38632 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38634 PyObject
* obj0
= 0 ;
38635 char *kwnames
[] = {
38636 (char *) "self", NULL
38639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
38640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38644 result
= (PyObject
*)wxGBSpan_Get(arg1
);
38646 wxPyEndAllowThreads(__tstate
);
38647 if (PyErr_Occurred()) SWIG_fail
;
38649 resultobj
= result
;
38656 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
38658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38659 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
38661 return Py_BuildValue((char *)"");
38663 static int _wrap_DefaultSpan_set(PyObject
*) {
38664 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
38669 static PyObject
*_wrap_DefaultSpan_get() {
38672 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38677 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38678 PyObject
*resultobj
;
38679 wxGBSizerItem
*result
;
38680 char *kwnames
[] = {
38684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38687 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38689 wxPyEndAllowThreads(__tstate
);
38690 if (PyErr_Occurred()) SWIG_fail
;
38692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38699 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38700 PyObject
*resultobj
;
38701 wxWindow
*arg1
= (wxWindow
*) 0 ;
38702 wxGBPosition
*arg2
= 0 ;
38703 wxGBSpan
*arg3
= 0 ;
38706 PyObject
*arg6
= (PyObject
*) NULL
;
38707 wxGBSizerItem
*result
;
38708 wxGBPosition temp2
;
38710 PyObject
* obj0
= 0 ;
38711 PyObject
* obj1
= 0 ;
38712 PyObject
* obj2
= 0 ;
38713 PyObject
* obj3
= 0 ;
38714 PyObject
* obj4
= 0 ;
38715 PyObject
* obj5
= 0 ;
38716 char *kwnames
[] = {
38717 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38725 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38729 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38731 arg4
= (int)SWIG_As_int(obj3
);
38732 if (PyErr_Occurred()) SWIG_fail
;
38733 arg5
= (int)SWIG_As_int(obj4
);
38734 if (PyErr_Occurred()) SWIG_fail
;
38739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38740 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38742 wxPyEndAllowThreads(__tstate
);
38743 if (PyErr_Occurred()) SWIG_fail
;
38745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38752 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38753 PyObject
*resultobj
;
38754 wxSizer
*arg1
= (wxSizer
*) 0 ;
38755 wxGBPosition
*arg2
= 0 ;
38756 wxGBSpan
*arg3
= 0 ;
38759 PyObject
*arg6
= (PyObject
*) NULL
;
38760 wxGBSizerItem
*result
;
38761 wxGBPosition temp2
;
38763 PyObject
* obj0
= 0 ;
38764 PyObject
* obj1
= 0 ;
38765 PyObject
* obj2
= 0 ;
38766 PyObject
* obj3
= 0 ;
38767 PyObject
* obj4
= 0 ;
38768 PyObject
* obj5
= 0 ;
38769 char *kwnames
[] = {
38770 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38778 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38782 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38784 arg4
= (int)SWIG_As_int(obj3
);
38785 if (PyErr_Occurred()) SWIG_fail
;
38786 arg5
= (int)SWIG_As_int(obj4
);
38787 if (PyErr_Occurred()) SWIG_fail
;
38792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38793 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38795 wxPyEndAllowThreads(__tstate
);
38796 if (PyErr_Occurred()) SWIG_fail
;
38798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38805 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38806 PyObject
*resultobj
;
38809 wxGBPosition
*arg3
= 0 ;
38810 wxGBSpan
*arg4
= 0 ;
38813 PyObject
*arg7
= (PyObject
*) NULL
;
38814 wxGBSizerItem
*result
;
38815 wxGBPosition temp3
;
38817 PyObject
* obj0
= 0 ;
38818 PyObject
* obj1
= 0 ;
38819 PyObject
* obj2
= 0 ;
38820 PyObject
* obj3
= 0 ;
38821 PyObject
* obj4
= 0 ;
38822 PyObject
* obj5
= 0 ;
38823 PyObject
* obj6
= 0 ;
38824 char *kwnames
[] = {
38825 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38829 arg1
= (int)SWIG_As_int(obj0
);
38830 if (PyErr_Occurred()) SWIG_fail
;
38831 arg2
= (int)SWIG_As_int(obj1
);
38832 if (PyErr_Occurred()) SWIG_fail
;
38835 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38839 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38841 arg5
= (int)SWIG_As_int(obj4
);
38842 if (PyErr_Occurred()) SWIG_fail
;
38843 arg6
= (int)SWIG_As_int(obj5
);
38844 if (PyErr_Occurred()) SWIG_fail
;
38849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38850 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38852 wxPyEndAllowThreads(__tstate
);
38853 if (PyErr_Occurred()) SWIG_fail
;
38855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38862 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38863 PyObject
*resultobj
;
38864 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38865 wxGBPosition result
;
38866 PyObject
* obj0
= 0 ;
38867 char *kwnames
[] = {
38868 (char *) "self", NULL
38871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38876 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38878 wxPyEndAllowThreads(__tstate
);
38879 if (PyErr_Occurred()) SWIG_fail
;
38882 wxGBPosition
* resultptr
;
38883 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38892 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38893 PyObject
*resultobj
;
38894 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38896 PyObject
* obj0
= 0 ;
38897 char *kwnames
[] = {
38898 (char *) "self", NULL
38901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38906 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38908 wxPyEndAllowThreads(__tstate
);
38909 if (PyErr_Occurred()) SWIG_fail
;
38912 wxGBSpan
* resultptr
;
38913 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38922 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38923 PyObject
*resultobj
;
38924 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38925 wxGBPosition
*arg2
= 0 ;
38927 wxGBPosition temp2
;
38928 PyObject
* obj0
= 0 ;
38929 PyObject
* obj1
= 0 ;
38930 char *kwnames
[] = {
38931 (char *) "self",(char *) "pos", NULL
38934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38939 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38943 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38945 wxPyEndAllowThreads(__tstate
);
38946 if (PyErr_Occurred()) SWIG_fail
;
38949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38957 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38958 PyObject
*resultobj
;
38959 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38960 wxGBSpan
*arg2
= 0 ;
38963 PyObject
* obj0
= 0 ;
38964 PyObject
* obj1
= 0 ;
38965 char *kwnames
[] = {
38966 (char *) "self",(char *) "span", NULL
38969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38974 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38978 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38980 wxPyEndAllowThreads(__tstate
);
38981 if (PyErr_Occurred()) SWIG_fail
;
38984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38992 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38993 PyObject
*resultobj
;
38994 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38995 wxGBSizerItem
*arg2
= 0 ;
38997 PyObject
* obj0
= 0 ;
38998 PyObject
* obj1
= 0 ;
38999 char *kwnames
[] = {
39000 (char *) "self",(char *) "other", NULL
39003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
39004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
39005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
39009 if (arg2
== NULL
) {
39010 PyErr_SetString(PyExc_TypeError
,"null reference");
39014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39015 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
39017 wxPyEndAllowThreads(__tstate
);
39018 if (PyErr_Occurred()) SWIG_fail
;
39021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39029 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39030 PyObject
*resultobj
;
39031 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
39032 wxGBPosition
*arg2
= 0 ;
39033 wxGBSpan
*arg3
= 0 ;
39035 wxGBPosition temp2
;
39037 PyObject
* obj0
= 0 ;
39038 PyObject
* obj1
= 0 ;
39039 PyObject
* obj2
= 0 ;
39040 char *kwnames
[] = {
39041 (char *) "self",(char *) "pos",(char *) "span", NULL
39044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
39046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39049 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39053 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39057 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
39059 wxPyEndAllowThreads(__tstate
);
39060 if (PyErr_Occurred()) SWIG_fail
;
39063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39071 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39072 PyObject
*resultobj
;
39073 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
39074 wxGBPosition result
;
39075 PyObject
* obj0
= 0 ;
39076 char *kwnames
[] = {
39077 (char *) "self", NULL
39080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
39081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
39082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39085 result
= wxGBSizerItem_GetEndPos(arg1
);
39087 wxPyEndAllowThreads(__tstate
);
39088 if (PyErr_Occurred()) SWIG_fail
;
39091 wxGBPosition
* resultptr
;
39092 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39101 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39102 PyObject
*resultobj
;
39103 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
39104 wxGridBagSizer
*result
;
39105 PyObject
* obj0
= 0 ;
39106 char *kwnames
[] = {
39107 (char *) "self", NULL
39110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
39111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
39112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39115 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
39117 wxPyEndAllowThreads(__tstate
);
39118 if (PyErr_Occurred()) SWIG_fail
;
39120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
39127 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39128 PyObject
*resultobj
;
39129 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
39130 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
39131 PyObject
* obj0
= 0 ;
39132 PyObject
* obj1
= 0 ;
39133 char *kwnames
[] = {
39134 (char *) "self",(char *) "sizer", NULL
39137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
39139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
39141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39144 (arg1
)->SetGBSizer(arg2
);
39146 wxPyEndAllowThreads(__tstate
);
39147 if (PyErr_Occurred()) SWIG_fail
;
39149 Py_INCREF(Py_None
); resultobj
= Py_None
;
39156 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
39158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39159 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
39161 return Py_BuildValue((char *)"");
39163 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39164 PyObject
*resultobj
;
39165 int arg1
= (int) 0 ;
39166 int arg2
= (int) 0 ;
39167 wxGridBagSizer
*result
;
39168 PyObject
* obj0
= 0 ;
39169 PyObject
* obj1
= 0 ;
39170 char *kwnames
[] = {
39171 (char *) "vgap",(char *) "hgap", NULL
39174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39176 arg1
= (int)SWIG_As_int(obj0
);
39177 if (PyErr_Occurred()) SWIG_fail
;
39180 arg2
= (int)SWIG_As_int(obj1
);
39181 if (PyErr_Occurred()) SWIG_fail
;
39184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39185 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
39187 wxPyEndAllowThreads(__tstate
);
39188 if (PyErr_Occurred()) SWIG_fail
;
39190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
39197 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39198 PyObject
*resultobj
;
39199 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39200 PyObject
*arg2
= (PyObject
*) 0 ;
39201 wxGBPosition
*arg3
= 0 ;
39202 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
39203 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
39204 int arg5
= (int) 0 ;
39205 int arg6
= (int) 0 ;
39206 PyObject
*arg7
= (PyObject
*) NULL
;
39207 wxGBSizerItem
*result
;
39208 wxGBPosition temp3
;
39210 PyObject
* obj0
= 0 ;
39211 PyObject
* obj1
= 0 ;
39212 PyObject
* obj2
= 0 ;
39213 PyObject
* obj3
= 0 ;
39214 PyObject
* obj4
= 0 ;
39215 PyObject
* obj5
= 0 ;
39216 PyObject
* obj6
= 0 ;
39217 char *kwnames
[] = {
39218 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
39221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39227 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39232 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
39236 arg5
= (int)SWIG_As_int(obj4
);
39237 if (PyErr_Occurred()) SWIG_fail
;
39240 arg6
= (int)SWIG_As_int(obj5
);
39241 if (PyErr_Occurred()) SWIG_fail
;
39247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39248 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
39250 wxPyEndAllowThreads(__tstate
);
39251 if (PyErr_Occurred()) SWIG_fail
;
39253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39260 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39261 PyObject
*resultobj
;
39262 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39263 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39264 wxGBSizerItem
*result
;
39265 PyObject
* obj0
= 0 ;
39266 PyObject
* obj1
= 0 ;
39267 char *kwnames
[] = {
39268 (char *) "self",(char *) "item", NULL
39271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39278 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
39280 wxPyEndAllowThreads(__tstate
);
39281 if (PyErr_Occurred()) SWIG_fail
;
39283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39290 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39291 PyObject
*resultobj
;
39292 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39296 PyObject
* obj0
= 0 ;
39297 PyObject
* obj1
= 0 ;
39298 PyObject
* obj2
= 0 ;
39299 char *kwnames
[] = {
39300 (char *) "self",(char *) "row",(char *) "col", NULL
39303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39306 arg2
= (int)SWIG_As_int(obj1
);
39307 if (PyErr_Occurred()) SWIG_fail
;
39308 arg3
= (int)SWIG_As_int(obj2
);
39309 if (PyErr_Occurred()) SWIG_fail
;
39311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39312 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
39314 wxPyEndAllowThreads(__tstate
);
39315 if (PyErr_Occurred()) SWIG_fail
;
39318 wxSize
* resultptr
;
39319 resultptr
= new wxSize((wxSize
&) result
);
39320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39328 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39329 PyObject
*resultobj
;
39330 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39332 PyObject
* obj0
= 0 ;
39333 char *kwnames
[] = {
39334 (char *) "self", NULL
39337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
39338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39342 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
39344 wxPyEndAllowThreads(__tstate
);
39345 if (PyErr_Occurred()) SWIG_fail
;
39348 wxSize
* resultptr
;
39349 resultptr
= new wxSize((wxSize
&) result
);
39350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39358 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39359 PyObject
*resultobj
;
39360 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39363 PyObject
* obj0
= 0 ;
39364 PyObject
* obj1
= 0 ;
39365 char *kwnames
[] = {
39366 (char *) "self",(char *) "sz", NULL
39369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39378 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
39380 wxPyEndAllowThreads(__tstate
);
39381 if (PyErr_Occurred()) SWIG_fail
;
39383 Py_INCREF(Py_None
); resultobj
= Py_None
;
39390 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39391 PyObject
*resultobj
;
39392 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39393 wxWindow
*arg2
= (wxWindow
*) 0 ;
39394 wxGBPosition result
;
39395 PyObject
* obj0
= 0 ;
39396 PyObject
* obj1
= 0 ;
39398 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39405 result
= (arg1
)->GetItemPosition(arg2
);
39407 wxPyEndAllowThreads(__tstate
);
39408 if (PyErr_Occurred()) SWIG_fail
;
39411 wxGBPosition
* resultptr
;
39412 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39421 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39422 PyObject
*resultobj
;
39423 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39424 wxSizer
*arg2
= (wxSizer
*) 0 ;
39425 wxGBPosition result
;
39426 PyObject
* obj0
= 0 ;
39427 PyObject
* obj1
= 0 ;
39429 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39436 result
= (arg1
)->GetItemPosition(arg2
);
39438 wxPyEndAllowThreads(__tstate
);
39439 if (PyErr_Occurred()) SWIG_fail
;
39442 wxGBPosition
* resultptr
;
39443 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39452 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39453 PyObject
*resultobj
;
39454 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39456 wxGBPosition result
;
39457 PyObject
* obj0
= 0 ;
39458 PyObject
* obj1
= 0 ;
39460 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39463 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39464 if (PyErr_Occurred()) SWIG_fail
;
39466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39467 result
= (arg1
)->GetItemPosition(arg2
);
39469 wxPyEndAllowThreads(__tstate
);
39470 if (PyErr_Occurred()) SWIG_fail
;
39473 wxGBPosition
* resultptr
;
39474 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39483 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
39488 argc
= PyObject_Length(args
);
39489 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39490 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39496 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39506 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39514 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
39522 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39532 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39540 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
39548 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39556 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39558 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
39563 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
39568 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39569 PyObject
*resultobj
;
39570 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39571 wxWindow
*arg2
= (wxWindow
*) 0 ;
39572 wxGBPosition
*arg3
= 0 ;
39574 wxGBPosition temp3
;
39575 PyObject
* obj0
= 0 ;
39576 PyObject
* obj1
= 0 ;
39577 PyObject
* obj2
= 0 ;
39579 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39586 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39590 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39592 wxPyEndAllowThreads(__tstate
);
39593 if (PyErr_Occurred()) SWIG_fail
;
39596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39604 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39605 PyObject
*resultobj
;
39606 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39607 wxSizer
*arg2
= (wxSizer
*) 0 ;
39608 wxGBPosition
*arg3
= 0 ;
39610 wxGBPosition temp3
;
39611 PyObject
* obj0
= 0 ;
39612 PyObject
* obj1
= 0 ;
39613 PyObject
* obj2
= 0 ;
39615 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39622 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39626 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39628 wxPyEndAllowThreads(__tstate
);
39629 if (PyErr_Occurred()) SWIG_fail
;
39632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39640 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39641 PyObject
*resultobj
;
39642 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39644 wxGBPosition
*arg3
= 0 ;
39646 wxGBPosition temp3
;
39647 PyObject
* obj0
= 0 ;
39648 PyObject
* obj1
= 0 ;
39649 PyObject
* obj2
= 0 ;
39651 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39654 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39655 if (PyErr_Occurred()) SWIG_fail
;
39658 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39662 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39664 wxPyEndAllowThreads(__tstate
);
39665 if (PyErr_Occurred()) SWIG_fail
;
39668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39676 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
39681 argc
= PyObject_Length(args
);
39682 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39683 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39689 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39699 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39708 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39711 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39720 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39730 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39739 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39742 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39751 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39759 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39762 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39765 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39771 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39776 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39777 PyObject
*resultobj
;
39778 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39779 wxWindow
*arg2
= (wxWindow
*) 0 ;
39781 PyObject
* obj0
= 0 ;
39782 PyObject
* obj1
= 0 ;
39784 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39791 result
= (arg1
)->GetItemSpan(arg2
);
39793 wxPyEndAllowThreads(__tstate
);
39794 if (PyErr_Occurred()) SWIG_fail
;
39797 wxGBSpan
* resultptr
;
39798 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39807 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39808 PyObject
*resultobj
;
39809 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39810 wxSizer
*arg2
= (wxSizer
*) 0 ;
39812 PyObject
* obj0
= 0 ;
39813 PyObject
* obj1
= 0 ;
39815 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39822 result
= (arg1
)->GetItemSpan(arg2
);
39824 wxPyEndAllowThreads(__tstate
);
39825 if (PyErr_Occurred()) SWIG_fail
;
39828 wxGBSpan
* resultptr
;
39829 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39838 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39839 PyObject
*resultobj
;
39840 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39843 PyObject
* obj0
= 0 ;
39844 PyObject
* obj1
= 0 ;
39846 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39849 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39850 if (PyErr_Occurred()) SWIG_fail
;
39852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39853 result
= (arg1
)->GetItemSpan(arg2
);
39855 wxPyEndAllowThreads(__tstate
);
39856 if (PyErr_Occurred()) SWIG_fail
;
39859 wxGBSpan
* resultptr
;
39860 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39869 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39874 argc
= PyObject_Length(args
);
39875 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39876 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39882 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39892 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39900 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39908 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39918 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39926 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39934 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39942 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39944 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39949 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39954 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39955 PyObject
*resultobj
;
39956 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39957 wxWindow
*arg2
= (wxWindow
*) 0 ;
39958 wxGBSpan
*arg3
= 0 ;
39961 PyObject
* obj0
= 0 ;
39962 PyObject
* obj1
= 0 ;
39963 PyObject
* obj2
= 0 ;
39965 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39972 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39976 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39978 wxPyEndAllowThreads(__tstate
);
39979 if (PyErr_Occurred()) SWIG_fail
;
39982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39990 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39991 PyObject
*resultobj
;
39992 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39993 wxSizer
*arg2
= (wxSizer
*) 0 ;
39994 wxGBSpan
*arg3
= 0 ;
39997 PyObject
* obj0
= 0 ;
39998 PyObject
* obj1
= 0 ;
39999 PyObject
* obj2
= 0 ;
40001 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
40002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
40005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40008 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40012 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
40014 wxPyEndAllowThreads(__tstate
);
40015 if (PyErr_Occurred()) SWIG_fail
;
40018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40026 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
40027 PyObject
*resultobj
;
40028 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40030 wxGBSpan
*arg3
= 0 ;
40033 PyObject
* obj0
= 0 ;
40034 PyObject
* obj1
= 0 ;
40035 PyObject
* obj2
= 0 ;
40037 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
40038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40040 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
40041 if (PyErr_Occurred()) SWIG_fail
;
40044 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40048 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
40050 wxPyEndAllowThreads(__tstate
);
40051 if (PyErr_Occurred()) SWIG_fail
;
40054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40062 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
40067 argc
= PyObject_Length(args
);
40068 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
40069 argv
[ii
] = PyTuple_GetItem(args
,ii
);
40075 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40085 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
40094 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
40097 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
40106 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40116 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
40125 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
40128 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
40137 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40145 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
40148 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
40151 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
40157 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
40162 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
40163 PyObject
*resultobj
;
40164 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40165 wxWindow
*arg2
= (wxWindow
*) 0 ;
40166 wxGBSizerItem
*result
;
40167 PyObject
* obj0
= 0 ;
40168 PyObject
* obj1
= 0 ;
40170 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
40171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40177 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
40179 wxPyEndAllowThreads(__tstate
);
40180 if (PyErr_Occurred()) SWIG_fail
;
40182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40189 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
40190 PyObject
*resultobj
;
40191 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40192 wxSizer
*arg2
= (wxSizer
*) 0 ;
40193 wxGBSizerItem
*result
;
40194 PyObject
* obj0
= 0 ;
40195 PyObject
* obj1
= 0 ;
40197 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
40198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
40201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40204 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
40206 wxPyEndAllowThreads(__tstate
);
40207 if (PyErr_Occurred()) SWIG_fail
;
40209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40216 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
40221 argc
= PyObject_Length(args
);
40222 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
40223 argv
[ii
] = PyTuple_GetItem(args
,ii
);
40229 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40239 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
40247 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
40255 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40265 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
40273 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
40278 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
40283 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40284 PyObject
*resultobj
;
40285 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40286 wxGBPosition
*arg2
= 0 ;
40287 wxGBSizerItem
*result
;
40288 wxGBPosition temp2
;
40289 PyObject
* obj0
= 0 ;
40290 PyObject
* obj1
= 0 ;
40291 char *kwnames
[] = {
40292 (char *) "self",(char *) "pos", NULL
40295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40300 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40304 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
40306 wxPyEndAllowThreads(__tstate
);
40307 if (PyErr_Occurred()) SWIG_fail
;
40309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40316 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40317 PyObject
*resultobj
;
40318 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40319 wxPoint
*arg2
= 0 ;
40320 wxGBSizerItem
*result
;
40322 PyObject
* obj0
= 0 ;
40323 PyObject
* obj1
= 0 ;
40324 char *kwnames
[] = {
40325 (char *) "self",(char *) "pt", NULL
40328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
40329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40337 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
40339 wxPyEndAllowThreads(__tstate
);
40340 if (PyErr_Occurred()) SWIG_fail
;
40342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40349 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40350 PyObject
*resultobj
;
40351 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40352 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
40353 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
40355 PyObject
* obj0
= 0 ;
40356 PyObject
* obj1
= 0 ;
40357 PyObject
* obj2
= 0 ;
40358 char *kwnames
[] = {
40359 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
40362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
40366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40368 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
40369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40373 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
40375 wxPyEndAllowThreads(__tstate
);
40376 if (PyErr_Occurred()) SWIG_fail
;
40379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40387 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40388 PyObject
*resultobj
;
40389 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40390 wxGBPosition
*arg2
= 0 ;
40391 wxGBSpan
*arg3
= 0 ;
40392 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
40394 wxGBPosition temp2
;
40396 PyObject
* obj0
= 0 ;
40397 PyObject
* obj1
= 0 ;
40398 PyObject
* obj2
= 0 ;
40399 PyObject
* obj3
= 0 ;
40400 char *kwnames
[] = {
40401 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
40404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40409 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40413 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40416 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
40417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40421 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
40423 wxPyEndAllowThreads(__tstate
);
40424 if (PyErr_Occurred()) SWIG_fail
;
40427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40435 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
40437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40438 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
40440 return Py_BuildValue((char *)"");
40442 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40443 PyObject
*resultobj
;
40444 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40446 wxWindow
*arg3
= (wxWindow
*) 0 ;
40448 int arg5
= (int) 0 ;
40449 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
40450 PyObject
* obj0
= 0 ;
40451 PyObject
* obj1
= 0 ;
40452 PyObject
* obj2
= 0 ;
40453 PyObject
* obj3
= 0 ;
40454 PyObject
* obj4
= 0 ;
40455 PyObject
* obj5
= 0 ;
40456 char *kwnames
[] = {
40457 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
40460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40463 arg2
= (int)SWIG_As_int(obj1
);
40464 if (PyErr_Occurred()) SWIG_fail
;
40465 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40467 arg4
= (int)SWIG_As_int(obj3
);
40468 if (PyErr_Occurred()) SWIG_fail
;
40470 arg5
= (int)SWIG_As_int(obj4
);
40471 if (PyErr_Occurred()) SWIG_fail
;
40474 arg6
= (int)SWIG_As_int(obj5
);
40475 if (PyErr_Occurred()) SWIG_fail
;
40478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40479 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
40481 wxPyEndAllowThreads(__tstate
);
40482 if (PyErr_Occurred()) SWIG_fail
;
40484 Py_INCREF(Py_None
); resultobj
= Py_None
;
40491 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40492 PyObject
*resultobj
;
40493 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40494 wxWindow
*arg2
= (wxWindow
*) 0 ;
40495 int arg3
= (int) 0 ;
40496 PyObject
* obj0
= 0 ;
40497 PyObject
* obj1
= 0 ;
40498 PyObject
* obj2
= 0 ;
40499 char *kwnames
[] = {
40500 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40509 arg3
= (int)SWIG_As_int(obj2
);
40510 if (PyErr_Occurred()) SWIG_fail
;
40513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40514 (arg1
)->LeftOf(arg2
,arg3
);
40516 wxPyEndAllowThreads(__tstate
);
40517 if (PyErr_Occurred()) SWIG_fail
;
40519 Py_INCREF(Py_None
); resultobj
= Py_None
;
40526 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40527 PyObject
*resultobj
;
40528 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40529 wxWindow
*arg2
= (wxWindow
*) 0 ;
40530 int arg3
= (int) 0 ;
40531 PyObject
* obj0
= 0 ;
40532 PyObject
* obj1
= 0 ;
40533 PyObject
* obj2
= 0 ;
40534 char *kwnames
[] = {
40535 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40544 arg3
= (int)SWIG_As_int(obj2
);
40545 if (PyErr_Occurred()) SWIG_fail
;
40548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40549 (arg1
)->RightOf(arg2
,arg3
);
40551 wxPyEndAllowThreads(__tstate
);
40552 if (PyErr_Occurred()) SWIG_fail
;
40554 Py_INCREF(Py_None
); resultobj
= Py_None
;
40561 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40562 PyObject
*resultobj
;
40563 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40564 wxWindow
*arg2
= (wxWindow
*) 0 ;
40565 int arg3
= (int) 0 ;
40566 PyObject
* obj0
= 0 ;
40567 PyObject
* obj1
= 0 ;
40568 PyObject
* obj2
= 0 ;
40569 char *kwnames
[] = {
40570 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40579 arg3
= (int)SWIG_As_int(obj2
);
40580 if (PyErr_Occurred()) SWIG_fail
;
40583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40584 (arg1
)->Above(arg2
,arg3
);
40586 wxPyEndAllowThreads(__tstate
);
40587 if (PyErr_Occurred()) SWIG_fail
;
40589 Py_INCREF(Py_None
); resultobj
= Py_None
;
40596 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40597 PyObject
*resultobj
;
40598 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40599 wxWindow
*arg2
= (wxWindow
*) 0 ;
40600 int arg3
= (int) 0 ;
40601 PyObject
* obj0
= 0 ;
40602 PyObject
* obj1
= 0 ;
40603 PyObject
* obj2
= 0 ;
40604 char *kwnames
[] = {
40605 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40614 arg3
= (int)SWIG_As_int(obj2
);
40615 if (PyErr_Occurred()) SWIG_fail
;
40618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40619 (arg1
)->Below(arg2
,arg3
);
40621 wxPyEndAllowThreads(__tstate
);
40622 if (PyErr_Occurred()) SWIG_fail
;
40624 Py_INCREF(Py_None
); resultobj
= Py_None
;
40631 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40632 PyObject
*resultobj
;
40633 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40634 wxWindow
*arg2
= (wxWindow
*) 0 ;
40636 int arg4
= (int) 0 ;
40637 PyObject
* obj0
= 0 ;
40638 PyObject
* obj1
= 0 ;
40639 PyObject
* obj2
= 0 ;
40640 PyObject
* obj3
= 0 ;
40641 char *kwnames
[] = {
40642 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
40645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40650 arg3
= (int)SWIG_As_int(obj2
);
40651 if (PyErr_Occurred()) SWIG_fail
;
40653 arg4
= (int)SWIG_As_int(obj3
);
40654 if (PyErr_Occurred()) SWIG_fail
;
40657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40658 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
40660 wxPyEndAllowThreads(__tstate
);
40661 if (PyErr_Occurred()) SWIG_fail
;
40663 Py_INCREF(Py_None
); resultobj
= Py_None
;
40670 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40671 PyObject
*resultobj
;
40672 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40673 wxWindow
*arg2
= (wxWindow
*) 0 ;
40676 PyObject
* obj0
= 0 ;
40677 PyObject
* obj1
= 0 ;
40678 PyObject
* obj2
= 0 ;
40679 PyObject
* obj3
= 0 ;
40680 char *kwnames
[] = {
40681 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40689 arg3
= (int)SWIG_As_int(obj2
);
40690 if (PyErr_Occurred()) SWIG_fail
;
40691 arg4
= (int)SWIG_As_int(obj3
);
40692 if (PyErr_Occurred()) SWIG_fail
;
40694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40695 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40697 wxPyEndAllowThreads(__tstate
);
40698 if (PyErr_Occurred()) SWIG_fail
;
40700 Py_INCREF(Py_None
); resultobj
= Py_None
;
40707 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40708 PyObject
*resultobj
;
40709 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40711 PyObject
* obj0
= 0 ;
40712 PyObject
* obj1
= 0 ;
40713 char *kwnames
[] = {
40714 (char *) "self",(char *) "val", NULL
40717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40720 arg2
= (int)SWIG_As_int(obj1
);
40721 if (PyErr_Occurred()) SWIG_fail
;
40723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40724 (arg1
)->Absolute(arg2
);
40726 wxPyEndAllowThreads(__tstate
);
40727 if (PyErr_Occurred()) SWIG_fail
;
40729 Py_INCREF(Py_None
); resultobj
= Py_None
;
40736 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40737 PyObject
*resultobj
;
40738 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40739 PyObject
* obj0
= 0 ;
40740 char *kwnames
[] = {
40741 (char *) "self", NULL
40744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40749 (arg1
)->Unconstrained();
40751 wxPyEndAllowThreads(__tstate
);
40752 if (PyErr_Occurred()) SWIG_fail
;
40754 Py_INCREF(Py_None
); resultobj
= Py_None
;
40761 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40762 PyObject
*resultobj
;
40763 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40764 PyObject
* obj0
= 0 ;
40765 char *kwnames
[] = {
40766 (char *) "self", NULL
40769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40776 wxPyEndAllowThreads(__tstate
);
40777 if (PyErr_Occurred()) SWIG_fail
;
40779 Py_INCREF(Py_None
); resultobj
= Py_None
;
40786 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40787 PyObject
*resultobj
;
40788 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40790 PyObject
* obj0
= 0 ;
40791 char *kwnames
[] = {
40792 (char *) "self", NULL
40795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40800 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40802 wxPyEndAllowThreads(__tstate
);
40803 if (PyErr_Occurred()) SWIG_fail
;
40806 resultobj
= wxPyMake_wxObject(result
, 0);
40814 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40815 PyObject
*resultobj
;
40816 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40818 PyObject
* obj0
= 0 ;
40819 char *kwnames
[] = {
40820 (char *) "self", NULL
40823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40828 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40830 wxPyEndAllowThreads(__tstate
);
40831 if (PyErr_Occurred()) SWIG_fail
;
40833 resultobj
= SWIG_From_int((int)result
);
40840 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40841 PyObject
*resultobj
;
40842 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40844 PyObject
* obj0
= 0 ;
40845 PyObject
* obj1
= 0 ;
40846 char *kwnames
[] = {
40847 (char *) "self",(char *) "which", NULL
40850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40853 arg2
= (int)SWIG_As_int(obj1
);
40854 if (PyErr_Occurred()) SWIG_fail
;
40856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40857 (arg1
)->SetEdge((wxEdge
)arg2
);
40859 wxPyEndAllowThreads(__tstate
);
40860 if (PyErr_Occurred()) SWIG_fail
;
40862 Py_INCREF(Py_None
); resultobj
= Py_None
;
40869 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40870 PyObject
*resultobj
;
40871 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40873 PyObject
* obj0
= 0 ;
40874 PyObject
* obj1
= 0 ;
40875 char *kwnames
[] = {
40876 (char *) "self",(char *) "v", NULL
40879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40882 arg2
= (int)SWIG_As_int(obj1
);
40883 if (PyErr_Occurred()) SWIG_fail
;
40885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40886 (arg1
)->SetValue(arg2
);
40888 wxPyEndAllowThreads(__tstate
);
40889 if (PyErr_Occurred()) SWIG_fail
;
40891 Py_INCREF(Py_None
); resultobj
= Py_None
;
40898 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40899 PyObject
*resultobj
;
40900 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40902 PyObject
* obj0
= 0 ;
40903 char *kwnames
[] = {
40904 (char *) "self", NULL
40907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40912 result
= (int)(arg1
)->GetMargin();
40914 wxPyEndAllowThreads(__tstate
);
40915 if (PyErr_Occurred()) SWIG_fail
;
40917 resultobj
= SWIG_From_int((int)result
);
40924 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40925 PyObject
*resultobj
;
40926 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40928 PyObject
* obj0
= 0 ;
40929 PyObject
* obj1
= 0 ;
40930 char *kwnames
[] = {
40931 (char *) "self",(char *) "m", NULL
40934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40937 arg2
= (int)SWIG_As_int(obj1
);
40938 if (PyErr_Occurred()) SWIG_fail
;
40940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40941 (arg1
)->SetMargin(arg2
);
40943 wxPyEndAllowThreads(__tstate
);
40944 if (PyErr_Occurred()) SWIG_fail
;
40946 Py_INCREF(Py_None
); resultobj
= Py_None
;
40953 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40954 PyObject
*resultobj
;
40955 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40957 PyObject
* obj0
= 0 ;
40958 char *kwnames
[] = {
40959 (char *) "self", NULL
40962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40967 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40969 wxPyEndAllowThreads(__tstate
);
40970 if (PyErr_Occurred()) SWIG_fail
;
40972 resultobj
= SWIG_From_int((int)result
);
40979 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40980 PyObject
*resultobj
;
40981 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40983 PyObject
* obj0
= 0 ;
40984 char *kwnames
[] = {
40985 (char *) "self", NULL
40988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40993 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40995 wxPyEndAllowThreads(__tstate
);
40996 if (PyErr_Occurred()) SWIG_fail
;
40998 resultobj
= SWIG_From_int((int)result
);
41005 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41006 PyObject
*resultobj
;
41007 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41009 PyObject
* obj0
= 0 ;
41010 char *kwnames
[] = {
41011 (char *) "self", NULL
41014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
41015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41019 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
41021 wxPyEndAllowThreads(__tstate
);
41022 if (PyErr_Occurred()) SWIG_fail
;
41024 resultobj
= SWIG_From_int((int)result
);
41031 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41032 PyObject
*resultobj
;
41033 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41035 PyObject
* obj0
= 0 ;
41036 char *kwnames
[] = {
41037 (char *) "self", NULL
41040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
41041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41045 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
41047 wxPyEndAllowThreads(__tstate
);
41048 if (PyErr_Occurred()) SWIG_fail
;
41051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41059 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41060 PyObject
*resultobj
;
41061 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41063 PyObject
* obj0
= 0 ;
41064 PyObject
* obj1
= 0 ;
41065 char *kwnames
[] = {
41066 (char *) "self",(char *) "d", NULL
41069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
41070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41072 arg2
= (bool)SWIG_As_bool(obj1
);
41073 if (PyErr_Occurred()) SWIG_fail
;
41075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41076 (arg1
)->SetDone(arg2
);
41078 wxPyEndAllowThreads(__tstate
);
41079 if (PyErr_Occurred()) SWIG_fail
;
41081 Py_INCREF(Py_None
); resultobj
= Py_None
;
41088 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41089 PyObject
*resultobj
;
41090 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41092 PyObject
* obj0
= 0 ;
41093 char *kwnames
[] = {
41094 (char *) "self", NULL
41097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
41098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41102 result
= (int)(arg1
)->GetRelationship();
41104 wxPyEndAllowThreads(__tstate
);
41105 if (PyErr_Occurred()) SWIG_fail
;
41107 resultobj
= SWIG_From_int((int)result
);
41114 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41115 PyObject
*resultobj
;
41116 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41118 PyObject
* obj0
= 0 ;
41119 PyObject
* obj1
= 0 ;
41120 char *kwnames
[] = {
41121 (char *) "self",(char *) "r", NULL
41124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
41125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41127 arg2
= (int)SWIG_As_int(obj1
);
41128 if (PyErr_Occurred()) SWIG_fail
;
41130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41131 (arg1
)->SetRelationship((wxRelationship
)arg2
);
41133 wxPyEndAllowThreads(__tstate
);
41134 if (PyErr_Occurred()) SWIG_fail
;
41136 Py_INCREF(Py_None
); resultobj
= Py_None
;
41143 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41144 PyObject
*resultobj
;
41145 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41146 wxWindow
*arg2
= (wxWindow
*) 0 ;
41148 PyObject
* obj0
= 0 ;
41149 PyObject
* obj1
= 0 ;
41150 char *kwnames
[] = {
41151 (char *) "self",(char *) "otherW", NULL
41154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
41155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
41158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41161 result
= (bool)(arg1
)->ResetIfWin(arg2
);
41163 wxPyEndAllowThreads(__tstate
);
41164 if (PyErr_Occurred()) SWIG_fail
;
41167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41175 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41176 PyObject
*resultobj
;
41177 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41178 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
41179 wxWindow
*arg3
= (wxWindow
*) 0 ;
41181 PyObject
* obj0
= 0 ;
41182 PyObject
* obj1
= 0 ;
41183 PyObject
* obj2
= 0 ;
41184 char *kwnames
[] = {
41185 (char *) "self",(char *) "constraints",(char *) "win", NULL
41188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
41192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41193 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
41194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41197 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
41199 wxPyEndAllowThreads(__tstate
);
41200 if (PyErr_Occurred()) SWIG_fail
;
41203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41211 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41212 PyObject
*resultobj
;
41213 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41215 wxWindow
*arg3
= (wxWindow
*) 0 ;
41216 wxWindow
*arg4
= (wxWindow
*) 0 ;
41218 PyObject
* obj0
= 0 ;
41219 PyObject
* obj1
= 0 ;
41220 PyObject
* obj2
= 0 ;
41221 PyObject
* obj3
= 0 ;
41222 char *kwnames
[] = {
41223 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
41226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41229 arg2
= (int)SWIG_As_int(obj1
);
41230 if (PyErr_Occurred()) SWIG_fail
;
41231 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
41232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41233 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
41234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41237 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
41239 wxPyEndAllowThreads(__tstate
);
41240 if (PyErr_Occurred()) SWIG_fail
;
41242 resultobj
= SWIG_From_int((int)result
);
41249 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
41251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41252 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
41254 return Py_BuildValue((char *)"");
41256 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41257 PyObject
*resultobj
;
41258 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41259 wxIndividualLayoutConstraint
*result
;
41260 PyObject
* obj0
= 0 ;
41261 char *kwnames
[] = {
41262 (char *) "self", NULL
41265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
41266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41268 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
41270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41277 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41278 PyObject
*resultobj
;
41279 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41280 wxIndividualLayoutConstraint
*result
;
41281 PyObject
* obj0
= 0 ;
41282 char *kwnames
[] = {
41283 (char *) "self", NULL
41286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
41287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41289 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
41291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41298 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41299 PyObject
*resultobj
;
41300 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41301 wxIndividualLayoutConstraint
*result
;
41302 PyObject
* obj0
= 0 ;
41303 char *kwnames
[] = {
41304 (char *) "self", NULL
41307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
41308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41310 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
41312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41319 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41320 PyObject
*resultobj
;
41321 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41322 wxIndividualLayoutConstraint
*result
;
41323 PyObject
* obj0
= 0 ;
41324 char *kwnames
[] = {
41325 (char *) "self", NULL
41328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
41329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41331 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
41333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41340 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41341 PyObject
*resultobj
;
41342 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41343 wxIndividualLayoutConstraint
*result
;
41344 PyObject
* obj0
= 0 ;
41345 char *kwnames
[] = {
41346 (char *) "self", NULL
41349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
41350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41352 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
41354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41361 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41362 PyObject
*resultobj
;
41363 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41364 wxIndividualLayoutConstraint
*result
;
41365 PyObject
* obj0
= 0 ;
41366 char *kwnames
[] = {
41367 (char *) "self", NULL
41370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
41371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41373 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
41375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41382 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41383 PyObject
*resultobj
;
41384 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41385 wxIndividualLayoutConstraint
*result
;
41386 PyObject
* obj0
= 0 ;
41387 char *kwnames
[] = {
41388 (char *) "self", NULL
41391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
41392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41394 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
41396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41403 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41404 PyObject
*resultobj
;
41405 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41406 wxIndividualLayoutConstraint
*result
;
41407 PyObject
* obj0
= 0 ;
41408 char *kwnames
[] = {
41409 (char *) "self", NULL
41412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
41413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41415 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
41417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41424 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41425 PyObject
*resultobj
;
41426 wxLayoutConstraints
*result
;
41427 char *kwnames
[] = {
41431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
41433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41434 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
41436 wxPyEndAllowThreads(__tstate
);
41437 if (PyErr_Occurred()) SWIG_fail
;
41439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
41446 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41447 PyObject
*resultobj
;
41448 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41449 wxWindow
*arg2
= (wxWindow
*) 0 ;
41450 int *arg3
= (int *) 0 ;
41454 PyObject
* obj0
= 0 ;
41455 PyObject
* obj1
= 0 ;
41456 char *kwnames
[] = {
41457 (char *) "self",(char *) "win", NULL
41460 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
41461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
41462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
41465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41468 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
41470 wxPyEndAllowThreads(__tstate
);
41471 if (PyErr_Occurred()) SWIG_fail
;
41474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41476 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
41477 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
41484 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41485 PyObject
*resultobj
;
41486 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41488 PyObject
* obj0
= 0 ;
41489 char *kwnames
[] = {
41490 (char *) "self", NULL
41493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
41494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41498 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
41500 wxPyEndAllowThreads(__tstate
);
41501 if (PyErr_Occurred()) SWIG_fail
;
41504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41512 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
41514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41515 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
41517 return Py_BuildValue((char *)"");
41519 static PyMethodDef SwigMethods
[] = {
41520 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
41521 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
41522 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
41525 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
41546 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
41559 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
41574 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
41627 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
41655 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
41674 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
41676 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
41684 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41685 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41697 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41709 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41713 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41719 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41729 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41739 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41743 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41817 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41819 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41821 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41823 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41825 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41827 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41829 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41831 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41833 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41835 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41837 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41839 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41841 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41855 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41873 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41876 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41879 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41891 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41896 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41902 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41908 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41971 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41978 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
42014 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
42024 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
42034 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
42036 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
42038 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42040 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
42041 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42042 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42044 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
42045 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42046 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
42048 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
42051 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
42053 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
42058 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42061 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
42066 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
42070 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42071 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
42073 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
42075 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
42079 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42094 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
42096 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42097 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
42098 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
42101 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42102 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
42103 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
42107 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42108 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42110 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
42111 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42114 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42116 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42117 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
42120 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
42123 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42124 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
42126 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42128 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
42130 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42134 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
42137 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42139 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42140 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
42142 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42146 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
42147 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42149 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42150 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42155 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42156 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42158 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42160 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42161 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42162 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42164 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42165 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42168 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42169 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42170 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42171 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42172 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42173 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42174 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42175 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42176 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42177 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42178 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42179 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42181 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42184 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42187 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42190 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
42192 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42193 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42194 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42196 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42198 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42202 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42205 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42207 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42208 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42210 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42211 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
42212 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42214 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42215 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42217 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
42219 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42222 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
42223 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42224 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42226 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42227 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42230 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
42233 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42236 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42237 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42238 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42239 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42240 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42241 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42242 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42243 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42245 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42246 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42248 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42251 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42254 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42255 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42256 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42257 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42258 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42259 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42260 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42262 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42263 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42265 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42268 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42270 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42271 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42272 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42273 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42274 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42275 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42276 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42277 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42278 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42279 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42280 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42281 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42282 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42283 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42284 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42285 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42286 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42287 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42288 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42289 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42290 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42291 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42292 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42293 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42294 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42295 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42296 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42297 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42298 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42299 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42300 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42301 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42302 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42303 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42304 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42305 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42306 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42307 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42308 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42309 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42310 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42311 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42312 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42313 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42314 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42315 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42316 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42318 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42319 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42320 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42321 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42322 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42323 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42325 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42326 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42327 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42328 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42329 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42330 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42331 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42332 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42333 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42334 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42335 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42336 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42337 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42338 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42339 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42340 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42341 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42342 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42343 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42344 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42345 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42346 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42347 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42348 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42349 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42350 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42351 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42352 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42353 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42354 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42355 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42356 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42357 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42358 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42359 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42360 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42361 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42362 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42363 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42364 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42365 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42366 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42367 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42368 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42369 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42370 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42371 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42372 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42373 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42374 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42375 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42376 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42377 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42378 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42379 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42380 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42381 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42382 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42383 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42384 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42385 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42386 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42387 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42388 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42389 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42390 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42391 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42392 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42393 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42394 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42395 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42396 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42397 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42398 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42399 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42400 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42401 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
42402 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42403 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42404 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42405 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42406 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42407 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42408 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42409 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42410 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42411 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42412 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42413 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42414 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42415 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42416 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42417 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42418 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42419 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42420 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42421 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42422 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42423 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42424 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42425 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42426 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42427 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42428 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42429 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42430 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42431 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42432 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42433 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42434 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42435 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42436 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42437 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42438 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42439 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42440 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42441 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42442 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42443 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
42444 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42445 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42446 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42447 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42448 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42449 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42450 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42451 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42452 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42453 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42454 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42455 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42456 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42457 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
42458 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42459 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42460 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
42461 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42462 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42463 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42464 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42465 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42466 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42467 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42468 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42469 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42470 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42471 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42472 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42473 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42474 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42475 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42476 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42477 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42478 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42479 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42480 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42481 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42482 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42483 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42484 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42485 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42486 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42487 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42488 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42489 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42490 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42491 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42492 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42493 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42494 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42495 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42496 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42497 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42498 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42499 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42500 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42501 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42502 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42503 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42504 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42505 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42506 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42507 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42508 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42509 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42510 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42511 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42512 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42513 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42514 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42515 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
42516 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42517 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42518 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42519 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42520 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42521 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42522 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42523 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42524 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42525 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42526 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42527 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42528 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42529 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42530 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42531 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42532 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42533 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42534 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42535 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42536 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42537 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42538 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42539 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42540 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42541 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42542 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
42543 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42544 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42545 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42546 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42547 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42548 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42549 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42550 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42551 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42552 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42553 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42554 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42555 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42556 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42557 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42558 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42559 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42560 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42561 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42562 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42563 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42564 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42565 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42566 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42567 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42568 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42569 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42570 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42571 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42572 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42573 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42574 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42575 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42576 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42577 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42578 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42579 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42580 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42581 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42582 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42583 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42584 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42585 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42586 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
42587 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42588 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42589 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42590 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42591 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42592 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42593 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42594 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
42595 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42596 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42597 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42598 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42599 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42600 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42601 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42602 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42603 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42604 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42605 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42606 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42607 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42608 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42609 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42610 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42611 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
42612 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
42613 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42614 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42615 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42616 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42617 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42618 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42619 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42620 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42621 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42622 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42623 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42624 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42625 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42626 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42627 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42628 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42629 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42630 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42631 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42632 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42633 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42634 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42635 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42636 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42637 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42638 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42639 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42640 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42641 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42642 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42643 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42644 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42645 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42646 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42647 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42648 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42649 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
42650 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42651 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42652 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42653 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42654 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42655 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42656 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42657 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42658 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42659 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42660 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42661 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42662 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42663 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42664 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42665 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42666 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42667 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42668 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42669 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42670 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42671 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42672 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42673 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42674 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42675 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42676 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42677 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42678 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42679 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
42680 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42681 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42682 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
42683 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42684 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42685 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42686 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
42687 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42688 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42689 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
42690 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42691 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42692 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42693 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42694 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42695 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42696 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42697 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42698 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42699 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
42700 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42701 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42702 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42703 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42704 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42705 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42706 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42707 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42708 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42709 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42710 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42711 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42712 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42713 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42714 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42715 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42716 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42717 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42718 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42719 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42720 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42721 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42722 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42723 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42724 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42725 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42726 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42727 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42728 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42729 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42730 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42731 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42732 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42733 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42734 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42735 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42736 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42737 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42738 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42739 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42740 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42741 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42742 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42743 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42744 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42745 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42746 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42747 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42748 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42749 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42750 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42751 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42752 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42753 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42754 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42755 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42756 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42757 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42758 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42759 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42760 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42761 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42762 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42763 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42764 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42765 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42766 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42767 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42768 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42769 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42770 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42771 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42772 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42773 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42774 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42775 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42776 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42777 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42778 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42779 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42780 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42781 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42782 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42783 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42784 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42785 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42786 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42787 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42788 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42789 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42790 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42791 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42792 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42793 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42794 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42795 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42796 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42797 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42798 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42799 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42800 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42801 { NULL
, NULL
, 0, NULL
}
42805 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42807 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42808 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42810 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42811 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42813 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42814 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42816 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42817 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42819 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42820 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42822 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42823 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42825 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42826 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42828 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42829 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42831 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42832 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42834 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42835 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42837 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42838 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42840 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42841 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42843 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42844 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42846 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42847 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42849 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42850 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42852 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42853 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42855 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42856 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42858 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42859 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42861 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42862 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42864 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42865 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42867 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42868 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42870 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42871 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42873 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42874 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42876 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42877 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42879 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42880 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42882 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42883 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42885 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42886 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42888 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42889 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42891 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42892 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42894 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42895 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42897 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42898 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42900 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42901 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42903 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42904 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42906 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42907 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42909 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42910 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42912 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42913 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42915 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42916 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42918 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42919 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42921 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42922 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42924 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42925 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42927 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42928 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42930 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42931 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42933 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42934 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42936 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42937 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42939 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42940 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42942 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42943 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42945 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42946 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42948 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42949 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42951 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42952 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42954 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42955 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42957 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42960 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42961 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42963 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42964 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42966 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42967 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42969 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42970 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42972 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42973 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42975 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42976 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42978 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42979 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42981 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42982 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42984 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42985 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42987 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42988 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42990 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42991 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42993 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42994 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42996 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42997 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42999 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
43000 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
43002 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
43003 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
43005 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
43006 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
43008 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
43009 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
43011 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
43012 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
43014 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
43015 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
43017 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
43018 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
43020 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
43021 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
43023 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
43024 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
43026 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
43027 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
43029 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
43030 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
43032 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
43033 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
43035 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
43036 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
43038 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
43039 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
43041 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
43042 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
43044 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
43045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43047 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
43048 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
43050 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
43051 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
43053 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
43054 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
43056 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
43057 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
43059 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
43060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
43062 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
43063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
43065 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
43066 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
43068 static void *_p_wxSizerTo_p_wxObject(void *x
) {
43069 return (void *)((wxObject
*) ((wxSizer
*) x
));
43071 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
43072 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
43074 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
43075 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
43077 static void *_p_wxMenuTo_p_wxObject(void *x
) {
43078 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
43080 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
43081 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
43083 static void *_p_wxImageTo_p_wxObject(void *x
) {
43084 return (void *)((wxObject
*) ((wxImage
*) x
));
43086 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
43087 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
43089 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
43090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43092 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
43093 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
43095 static void *_p_wxWindowTo_p_wxObject(void *x
) {
43096 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
43098 static void *_p_wxControlTo_p_wxObject(void *x
) {
43099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
43101 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
43102 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
43104 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
43105 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
43107 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
43108 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
43110 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
43111 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
43113 static void *_p_wxEventTo_p_wxObject(void *x
) {
43114 return (void *)((wxObject
*) ((wxEvent
*) x
));
43116 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
43117 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
43119 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
43120 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
43122 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
43123 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
43125 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
43126 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
43128 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
43129 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
43131 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
43132 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
43134 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
43135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43137 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
43138 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
43140 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
43141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43143 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
43144 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
43146 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
43147 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
43149 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
43150 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
43152 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
43153 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
43155 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
43156 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
43158 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
43159 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
43161 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
43162 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
43164 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
43165 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
43167 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
43168 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
43170 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
43171 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
43173 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
43174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
43176 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
43177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
43179 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
43180 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
43182 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
43183 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
43185 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
43186 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
43188 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
43189 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43191 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
43192 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
43194 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
43195 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
43197 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
43198 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
43200 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
43201 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
43203 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
43204 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
43206 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
43207 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
43209 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
43210 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43212 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
43213 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
43215 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
43216 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
43218 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
43219 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
43221 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
43222 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
43224 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
43225 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
43227 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
43228 return (void *)((wxObject
*) ((wxFSFile
*) x
));
43230 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
43231 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
43233 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
43234 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43236 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
43237 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
43239 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
43240 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43242 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
43243 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43245 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
43246 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
43248 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
43249 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
43251 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
43252 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
43254 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
43255 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
43257 static void *_p_wxControlTo_p_wxWindow(void *x
) {
43258 return (void *)((wxWindow
*) ((wxControl
*) x
));
43260 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
43261 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
43263 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
43264 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
43266 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
43267 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43269 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
43270 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
43272 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
43273 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43275 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
43276 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43278 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
43279 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43281 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
43282 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43284 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
43285 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43287 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
43288 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43290 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
43291 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
43293 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}};
43294 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}};
43295 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}};
43296 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}};
43297 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}};
43298 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}};
43299 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}};
43300 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}};
43301 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}};
43302 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}};
43303 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}};
43304 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}};
43305 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}};
43306 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}};
43307 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}};
43308 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}};
43309 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}};
43310 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}};
43311 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}};
43312 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}};
43313 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}};
43314 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}};
43315 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}};
43316 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}};
43317 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}};
43318 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}};
43319 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}};
43320 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}};
43321 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}};
43322 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}};
43323 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}};
43324 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}};
43325 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}};
43326 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}};
43327 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}};
43328 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}};
43329 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}};
43330 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}};
43331 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}};
43332 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}};
43333 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}};
43334 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}};
43335 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}};
43336 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}};
43337 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}};
43338 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}};
43339 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}};
43340 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}};
43341 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}};
43342 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}};
43343 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}};
43344 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}};
43345 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}};
43346 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}};
43347 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}};
43348 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}};
43349 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}};
43350 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}};
43351 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}};
43352 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}};
43353 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}};
43354 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}};
43355 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}};
43356 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}};
43357 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}};
43358 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}};
43359 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}};
43360 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}};
43361 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}};
43362 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}};
43363 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}};
43364 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}};
43365 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}};
43366 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}};
43367 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}};
43368 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}};
43369 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}};
43370 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}};
43371 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}};
43372 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}};
43373 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}};
43374 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}};
43375 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}};
43376 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}};
43377 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}};
43378 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}};
43379 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}};
43380 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}};
43381 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}};
43382 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}};
43383 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}};
43384 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}};
43385 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}};
43386 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}};
43387 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}};
43388 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}};
43389 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}};
43390 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}};
43391 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}};
43392 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}};
43393 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}};
43394 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}};
43395 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}};
43396 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}};
43397 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}};
43398 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}};
43399 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}};
43400 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}};
43401 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}};
43402 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}};
43403 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}};
43404 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}};
43405 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}};
43406 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}};
43407 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}};
43408 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}};
43409 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}};
43411 static swig_type_info
*swig_types_initial
[] = {
43412 _swigt__p_wxLayoutConstraints
,
43413 _swigt__p_wxRealPoint
,
43414 _swigt__p_wxSizerItem
,
43415 _swigt__p_wxGBSizerItem
,
43416 _swigt__p_wxScrollEvent
,
43417 _swigt__p_wxEventLoop
,
43418 _swigt__p_wxIndividualLayoutConstraint
,
43420 _swigt__p_wxBoxSizer
,
43421 _swigt__p_wxStaticBoxSizer
,
43422 _swigt__p_wxGridBagSizer
,
43423 _swigt__p_wxAcceleratorEntry
,
43424 _swigt__p_wxUpdateUIEvent
,
43427 _swigt__p_wxGridSizer
,
43428 _swigt__p_wxFlexGridSizer
,
43429 _swigt__p_wxInitDialogEvent
,
43430 _swigt__p_wxItemContainer
,
43431 _swigt__p_wxNcPaintEvent
,
43432 _swigt__p_wxPaintEvent
,
43433 _swigt__p_wxSysColourChangedEvent
,
43434 _swigt__p_wxMouseCaptureChangedEvent
,
43435 _swigt__p_wxDisplayChangedEvent
,
43436 _swigt__p_wxPaletteChangedEvent
,
43437 _swigt__p_wxControl
,
43439 _swigt__p_wxMenuBarBase
,
43440 _swigt__p_wxSetCursorEvent
,
43441 _swigt__p_wxFSFile
,
43443 _swigt__p_wxRegion
,
43444 _swigt__p_wxPoint2D
,
43448 _swigt__p_wxPySizer
,
43449 _swigt__p_wxVisualAttributes
,
43450 _swigt__p_wxNotifyEvent
,
43451 _swigt__p_wxPyEvent
,
43452 _swigt__p_wxPropagationDisabler
,
43453 _swigt__p_wxAppTraits
,
43454 _swigt__p_wxArrayString
,
43455 _swigt__p_wxShowEvent
,
43456 _swigt__p_wxToolTip
,
43457 _swigt__p_wxIconizeEvent
,
43458 _swigt__p_wxActivateEvent
,
43459 _swigt__p_wxMoveEvent
,
43460 _swigt__p_wxSizeEvent
,
43461 _swigt__p_wxMaximizeEvent
,
43462 _swigt__p_wxQueryNewPaletteEvent
,
43463 _swigt__p_wxWindowCreateEvent
,
43464 _swigt__p_wxIdleEvent
,
43465 _swigt__p_wxMenuItem
,
43466 _swigt__p_wxStaticBox
,
43468 _swigt__p_wxTIFFHandler
,
43469 _swigt__p_wxXPMHandler
,
43470 _swigt__p_wxPNMHandler
,
43471 _swigt__p_wxJPEGHandler
,
43472 _swigt__p_wxPCXHandler
,
43473 _swigt__p_wxGIFHandler
,
43474 _swigt__p_wxPNGHandler
,
43475 _swigt__p_wxANIHandler
,
43476 _swigt__p_wxMemoryFSHandler
,
43477 _swigt__p_wxEvtHandler
,
43478 _swigt__p_wxCURHandler
,
43479 _swigt__p_wxICOHandler
,
43480 _swigt__p_wxBMPHandler
,
43481 _swigt__p_wxImageHandler
,
43482 _swigt__p_wxFileSystemHandler
,
43483 _swigt__p_wxPyFileSystemHandler
,
43484 _swigt__p_wxInternetFSHandler
,
43485 _swigt__p_wxZipFSHandler
,
43487 _swigt__p_wxGBSpan
,
43488 _swigt__p_wxPropagateOnce
,
43489 _swigt__p_wxAcceleratorTable
,
43491 _swigt__p_wxGBPosition
,
43494 _swigt__p_wxScrollWinEvent
,
43495 _swigt__p_wxImageHistogram
,
43498 _swigt__p_wxCursor
,
43499 _swigt__p_wxObject
,
43500 _swigt__p_wxPyInputStream
,
43501 _swigt__p_wxOutputStream
,
43502 _swigt__p_wxInputStream
,
43503 _swigt__p_wxDateTime
,
43504 _swigt__p_wxKeyEvent
,
43505 _swigt__p_wxNavigationKeyEvent
,
43506 _swigt__p_wxWindowDestroyEvent
,
43507 _swigt__p_wxWindow
,
43508 _swigt__p_wxMenuBar
,
43509 _swigt__p_wxFileSystem
,
43510 _swigt__p_wxBitmap
,
43511 _swigt__p_wxMenuEvent
,
43512 _swigt__p_wxContextMenuEvent
,
43513 _swigt__p_unsigned_char
,
43514 _swigt__p_wxCloseEvent
,
43515 _swigt__p_wxEraseEvent
,
43516 _swigt__p_wxMouseEvent
,
43518 _swigt__p_wxCommandEvent
,
43519 _swigt__p_wxPyCommandEvent
,
43520 _swigt__p_wxPyDropTarget
,
43521 _swigt__p_wxQuantize
,
43522 _swigt__p_wxChildFocusEvent
,
43523 _swigt__p_wxFocusEvent
,
43524 _swigt__p_wxDropFilesEvent
,
43525 _swigt__p_wxControlWithItems
,
43526 _swigt__p_wxColour
,
43527 _swigt__p_wxValidator
,
43528 _swigt__p_wxPyValidator
,
43533 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43535 static swig_const_info swig_const_table
[] = {
43536 {0, 0, 0, 0.0, 0, 0}};
43545 SWIGEXPORT(void) SWIG_init(void) {
43546 static PyObject
*SWIG_globals
= 0;
43547 static int typeinit
= 0;
43550 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
43551 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43552 d
= PyModule_GetDict(m
);
43555 for (i
= 0; swig_types_initial
[i
]; i
++) {
43556 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
43560 SWIG_InstallConstants(d
,swig_const_table
);
43563 #ifndef wxPyUSE_EXPORT
43564 // Make our API structure a CObject so other modules can import it
43565 // from this module.
43566 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
43567 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
43571 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
43572 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
43573 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
43574 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
43575 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
43576 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
43577 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
43578 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
43579 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
43580 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
43581 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
43582 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
43583 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
43584 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
43585 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
43586 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
43587 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
43588 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
43589 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
43590 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
43591 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
43592 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
43593 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
43594 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
43595 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
43596 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
43597 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
43598 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
43599 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
43600 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
43601 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
43602 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
43603 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
43604 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
43605 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
43606 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
43607 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
43608 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
43609 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
43610 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
43611 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
43612 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
43613 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
43614 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
43615 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
43616 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
43617 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
43618 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
43619 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
43620 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
43621 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
43622 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
43623 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
43624 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
43625 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
43626 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
43627 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
43628 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
43629 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
43630 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
43631 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
43632 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
43633 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
43634 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
43635 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
43636 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
43637 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
43638 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
43639 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
43640 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
43641 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
43642 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
43643 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
43644 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
43645 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
43646 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
43647 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
43648 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
43649 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
43650 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
43651 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
43652 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
43653 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
43654 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
43655 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
43656 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
43657 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
43658 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
43659 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
43660 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
43661 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
43662 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
43663 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
43664 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
43665 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
43666 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
43667 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
43668 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
43669 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
43670 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
43671 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
43672 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
43673 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
43674 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
43675 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
43676 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
43677 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
43678 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
43679 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
43680 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
43681 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
43682 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
43683 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
43684 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
43685 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
43686 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
43687 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
43688 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
43689 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
43690 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
43691 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
43692 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
43693 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
43694 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
43695 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
43696 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
43697 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
43698 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
43699 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
43700 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
43701 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
43702 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
43703 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
43704 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
43705 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
43706 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
43707 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
43708 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43709 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43710 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43711 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43712 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43713 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43714 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43715 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43716 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43717 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43718 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43719 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43720 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43721 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43722 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43723 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43724 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43725 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43726 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43727 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43728 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43729 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43730 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43731 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43732 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43733 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43734 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43735 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43736 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43737 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43738 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43739 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43740 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43741 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43742 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43743 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43744 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43745 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43746 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43747 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43748 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43749 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43750 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43751 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43752 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43753 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43754 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43755 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43756 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43757 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43758 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43759 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43760 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43761 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43762 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43763 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43764 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43765 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43766 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43767 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43768 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43769 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43770 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43771 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43772 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43773 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43774 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43775 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43776 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43777 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43778 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43779 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43780 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43781 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43782 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43783 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43784 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43785 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43786 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43787 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43788 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43789 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43790 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43791 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43792 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43793 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43794 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43795 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43796 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43797 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43798 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43799 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43800 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43801 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43802 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43803 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43804 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43805 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43806 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43807 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43808 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43809 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43810 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43811 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43812 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43813 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43814 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43815 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43816 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43817 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43818 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43819 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43820 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43821 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43822 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43823 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43824 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43825 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43826 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43827 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43828 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43829 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43830 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43831 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43832 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43833 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43834 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43835 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43836 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43837 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43838 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43839 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43840 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43841 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43842 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43843 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43844 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43845 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43846 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43847 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43848 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43849 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43850 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43851 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43852 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43853 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43854 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43855 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43856 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43857 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43858 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43859 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43860 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43861 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43862 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43863 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43864 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43865 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43866 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43867 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43868 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43869 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43870 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43871 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43872 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43873 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43874 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43875 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43876 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43877 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43878 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43879 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43880 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43881 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43882 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43883 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43884 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43885 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43886 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43887 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43888 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43889 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43890 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43891 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43892 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43893 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43894 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43895 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43896 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43897 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43898 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43899 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43900 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43901 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43902 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43903 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43904 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43905 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43906 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43907 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43908 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43909 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43910 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43911 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43912 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43913 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43914 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43915 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43916 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43917 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43918 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43919 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43920 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43921 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43922 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43923 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43924 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43925 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43926 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43927 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43928 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43929 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43930 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43931 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43932 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43933 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43934 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43935 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43936 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43937 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43938 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43939 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43940 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43941 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43942 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43943 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43944 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43945 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43946 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43947 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43948 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43949 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43950 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43951 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43952 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43953 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43954 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43955 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43956 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43957 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43958 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43959 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43960 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43961 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43962 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43963 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43964 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43965 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43966 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43967 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43968 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43969 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43970 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43971 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43972 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43973 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43974 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43975 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43976 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43977 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43978 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43979 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43980 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43981 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43982 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43983 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43984 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43985 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43986 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43987 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43988 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43989 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43990 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43991 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43992 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43993 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43994 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43995 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43996 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43997 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43998 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43999 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
44000 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
44001 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
44002 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
44003 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
44004 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
44005 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
44006 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
44007 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
44008 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
44009 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
44010 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
44011 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
44012 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
44013 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
44014 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
44015 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
44016 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
44017 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
44018 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
44019 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
44020 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
44021 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
44022 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
44023 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
44024 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
44025 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
44026 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
44027 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
44028 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
44029 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
44030 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
44031 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
44032 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
44033 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
44034 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
44035 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
44036 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
44037 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
44038 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
44039 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
44040 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
44041 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
44042 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
44043 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
44044 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
44045 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
44046 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
44047 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
44048 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
44049 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
44050 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
44051 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
44052 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
44053 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
44054 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
44055 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
44056 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
44057 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
44058 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
44059 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
44060 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
44061 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
44062 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
44063 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
44064 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
44065 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
44066 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
44067 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
44068 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
44069 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
44070 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
44071 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
44072 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
44073 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
44074 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
44075 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
44076 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
44077 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
44078 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
44079 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
44080 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
44081 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
44082 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
44083 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
44084 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
44085 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
44086 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
44087 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
44088 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
44089 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
44090 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
44091 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
44092 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
44093 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
44094 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
44095 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
44096 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
44097 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
44098 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
44099 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
44100 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
44101 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
44102 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
44103 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
44104 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
44105 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
44106 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
44107 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
44108 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
44109 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
44110 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
44111 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
44112 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
44113 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
44114 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
44115 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
44116 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
44117 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
44118 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
44119 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
44120 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
44121 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
44122 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
44123 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
44124 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
44125 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
44126 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
44127 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
44128 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
44129 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
44130 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
44131 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
44132 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
44133 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
44134 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
44135 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
44136 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
44137 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
44138 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
44139 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
44140 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
44141 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
44142 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
44143 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
44144 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
44145 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
44146 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
44147 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
44148 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
44149 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
44150 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
44151 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
44152 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
44153 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
44154 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
44155 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
44156 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
44157 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
44158 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
44159 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
44160 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
44161 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
44162 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
44163 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
44164 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
44165 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
44166 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
44167 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
44168 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
44169 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
44171 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
44174 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
44176 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
44177 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
44178 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
44179 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
44180 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
44181 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
44182 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
44183 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
44184 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
44185 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
44186 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
44187 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
44188 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
44189 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
44190 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
44191 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
44192 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
44193 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
44194 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
44195 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
44196 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
44197 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
44198 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
44199 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
44200 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
44201 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
44202 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
44203 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
44204 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
44205 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
44206 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
44207 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
44208 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
44209 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
44210 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
44211 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
44212 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
44213 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
44214 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
44215 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
44216 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
44217 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
44218 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
44219 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
44220 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
44221 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
44222 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
44223 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
44224 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
44225 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
44226 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
44227 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
44228 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
44229 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
44230 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
44231 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
44232 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
44233 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
44234 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
44235 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
44236 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
44237 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
44238 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
44239 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
44240 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
44241 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
44242 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
44243 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
44244 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
44245 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
44246 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
44247 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
44248 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
44249 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
44250 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
44251 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
44252 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
44253 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
44254 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
44255 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
44256 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
44257 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
44258 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
44259 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
44260 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
44261 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
44262 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
44263 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
44264 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
44265 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
44266 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
44267 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
44268 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
44269 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
44270 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
44271 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
44272 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
44273 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
44274 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
44275 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
44276 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
44277 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
44278 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
44279 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
44280 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
44281 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
44282 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
44283 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
44284 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
44285 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
44286 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
44287 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
44288 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
44289 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
44290 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
44291 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
44292 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
44293 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
44294 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
44295 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
44296 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
44297 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
44298 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
44299 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
44300 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
44301 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
44302 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
44303 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
44304 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
44305 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
44306 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
44307 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
44308 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
44309 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
44310 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
44311 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
44312 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
44313 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
44314 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
44315 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
44316 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
44317 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
44318 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
44319 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
44320 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
44321 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
44322 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
44323 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
44324 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
44325 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
44326 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
44327 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
44328 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
44329 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
44330 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
44331 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
44332 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
44333 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
44334 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
44335 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
44336 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
44337 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
44338 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
44339 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
44340 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
44341 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
44342 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
44343 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
44344 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
44345 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
44346 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
44347 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
44348 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
44349 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
44350 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
44351 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
44352 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
44353 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
44354 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
44355 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
44356 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
44357 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
44358 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
44359 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
44360 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
44362 // Initialize threading, some globals and such
44366 // Although these are defined in __version__ they need to be here too so
44367 // that an assert can be done to ensure that the wxPython and the wxWindows
44369 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
44370 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
44371 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));