1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
212 #define SWIGTYPE_p_wxRealPoint swig_types[1]
213 #define SWIGTYPE_p_wxSizerItem swig_types[2]
214 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
215 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
216 #define SWIGTYPE_p_wxEventLoop swig_types[5]
217 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
218 #define SWIGTYPE_p_wxSizer swig_types[7]
219 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
220 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
221 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
222 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
223 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
224 #define SWIGTYPE_p_wxMenu swig_types[13]
225 #define SWIGTYPE_p_wxEvent swig_types[14]
226 #define SWIGTYPE_p_wxGridSizer swig_types[15]
227 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
228 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
229 #define SWIGTYPE_p_wxItemContainer swig_types[18]
230 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
231 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
232 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
233 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
234 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
235 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
236 #define SWIGTYPE_p_wxControl swig_types[25]
237 #define SWIGTYPE_p_wxFont swig_types[26]
238 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
239 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
240 #define SWIGTYPE_p_wxFSFile swig_types[29]
241 #define SWIGTYPE_p_wxCaret swig_types[30]
242 #define SWIGTYPE_p_wxRegion swig_types[31]
243 #define SWIGTYPE_p_wxPoint2D swig_types[32]
244 #define SWIGTYPE_p_int swig_types[33]
245 #define SWIGTYPE_p_wxSize swig_types[34]
246 #define SWIGTYPE_p_wxDC swig_types[35]
247 #define SWIGTYPE_p_wxPySizer swig_types[36]
248 #define SWIGTYPE_p_wxVisualAttributes swig_types[37]
249 #define SWIGTYPE_p_wxNotifyEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyEvent swig_types[39]
251 #define SWIGTYPE_p_wxPropagationDisabler swig_types[40]
252 #define SWIGTYPE_p_wxAppTraits swig_types[41]
253 #define SWIGTYPE_p_wxArrayString swig_types[42]
254 #define SWIGTYPE_p_wxShowEvent swig_types[43]
255 #define SWIGTYPE_p_wxToolTip swig_types[44]
256 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
257 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
258 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
259 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
260 #define SWIGTYPE_p_wxMaximizeEvent swig_types[49]
261 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[50]
262 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[51]
263 #define SWIGTYPE_p_wxIdleEvent swig_types[52]
264 #define SWIGTYPE_p_wxMenuItem swig_types[53]
265 #define SWIGTYPE_p_wxStaticBox swig_types[54]
266 #define SWIGTYPE_p_long swig_types[55]
267 #define SWIGTYPE_p_wxTIFFHandler swig_types[56]
268 #define SWIGTYPE_p_wxXPMHandler swig_types[57]
269 #define SWIGTYPE_p_wxPNMHandler swig_types[58]
270 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
271 #define SWIGTYPE_p_wxPCXHandler swig_types[60]
272 #define SWIGTYPE_p_wxGIFHandler swig_types[61]
273 #define SWIGTYPE_p_wxPNGHandler swig_types[62]
274 #define SWIGTYPE_p_wxANIHandler swig_types[63]
275 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[64]
276 #define SWIGTYPE_p_wxEvtHandler swig_types[65]
277 #define SWIGTYPE_p_wxCURHandler swig_types[66]
278 #define SWIGTYPE_p_wxICOHandler swig_types[67]
279 #define SWIGTYPE_p_wxBMPHandler swig_types[68]
280 #define SWIGTYPE_p_wxImageHandler swig_types[69]
281 #define SWIGTYPE_p_wxFileSystemHandler swig_types[70]
282 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
283 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
284 #define SWIGTYPE_p_wxZipFSHandler swig_types[73]
285 #define SWIGTYPE_p_wxRect swig_types[74]
286 #define SWIGTYPE_p_wxGBSpan swig_types[75]
287 #define SWIGTYPE_p_wxPropagateOnce swig_types[76]
288 #define SWIGTYPE_p_wxAcceleratorTable swig_types[77]
289 #define SWIGTYPE_p_char swig_types[78]
290 #define SWIGTYPE_p_wxGBPosition swig_types[79]
291 #define SWIGTYPE_p_wxImage swig_types[80]
292 #define SWIGTYPE_p_wxFrame swig_types[81]
293 #define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
294 #define SWIGTYPE_p_wxImageHistogram swig_types[83]
295 #define SWIGTYPE_p_byte swig_types[84]
296 #define SWIGTYPE_p_wxPoint swig_types[85]
297 #define SWIGTYPE_p_wxCursor swig_types[86]
298 #define SWIGTYPE_p_wxObject swig_types[87]
299 #define SWIGTYPE_p_wxPyInputStream swig_types[88]
300 #define SWIGTYPE_p_wxOutputStream swig_types[89]
301 #define SWIGTYPE_p_wxInputStream swig_types[90]
302 #define SWIGTYPE_p_wxDateTime swig_types[91]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
304 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
305 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[94]
306 #define SWIGTYPE_p_wxWindow swig_types[95]
307 #define SWIGTYPE_p_wxMenuBar swig_types[96]
308 #define SWIGTYPE_p_wxFileSystem swig_types[97]
309 #define SWIGTYPE_p_wxBitmap swig_types[98]
310 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
311 #define SWIGTYPE_p_wxContextMenuEvent swig_types[100]
312 #define SWIGTYPE_p_unsigned_char swig_types[101]
313 #define SWIGTYPE_p_wxCloseEvent swig_types[102]
314 #define SWIGTYPE_p_wxEraseEvent swig_types[103]
315 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
316 #define SWIGTYPE_p_wxPyApp swig_types[105]
317 #define SWIGTYPE_p_wxCommandEvent swig_types[106]
318 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
319 #define SWIGTYPE_p_wxPyDropTarget swig_types[108]
320 #define SWIGTYPE_p_wxQuantize swig_types[109]
321 #define SWIGTYPE_p_wxChildFocusEvent swig_types[110]
322 #define SWIGTYPE_p_wxFocusEvent swig_types[111]
323 #define SWIGTYPE_p_wxDropFilesEvent swig_types[112]
324 #define SWIGTYPE_p_wxControlWithItems swig_types[113]
325 #define SWIGTYPE_p_wxColour swig_types[114]
326 #define SWIGTYPE_p_wxValidator swig_types[115]
327 #define SWIGTYPE_p_wxPyValidator swig_types[116]
328 static swig_type_info
*swig_types
[118];
330 /* -------- TYPES TABLE (END) -------- */
333 /*-----------------------------------------------
334 @(target):= _core_.so
335 ------------------------------------------------*/
336 #define SWIG_init init_core_
338 #define SWIG_name "_core_"
340 /* Auxiliar swig macros that appear in the header */
342 #define SWIG_OLDOBJ 1
343 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
344 #define SWIG_PYSTR SWIG_NEWOBJ + 1
347 #define SWIGSTATICINLINE(a) static inline a
348 #define SWIGSTATIC(a) static a
349 #define swig_new_array(size,Type) (new Type[(size)])
350 #define swig_delete(cptr) delete cptr
351 #define swig_delete_array(cptr) delete[] cptr
352 #define swig_const_cast(a,Type) const_cast<Type >(a)
353 #define swig_static_cast(a,Type) static_cast<Type >(a)
354 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
355 #define swig_new_copy(ptr,Type) (new Type(*ptr))
356 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
360 #define SWIGSTATICINLINE(a) static a
361 #define SWIGSTATIC(a) static a
362 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
363 #define swig_delete(cptr) free((char*)cptr)
364 #define swig_delete_array(cptr) free((char*)cptr)
365 #define swig_const_cast(a,Type) (Type)(a)
366 #define swig_static_cast(a,Type) (Type)(a)
367 #define swig_reinterpret_cast(a,Type) (Type)(a)
368 #define swig_numeric_cast(a,Type) (Type)(a)
369 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
371 #endif /* __cplusplus */
374 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
375 #define SWIG_From_signed_SS_char PyInt_FromLong
377 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
378 #define SWIG_From_unsigned_SS_char PyInt_FromLong
380 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
381 #define SWIG_From_short PyInt_FromLong
383 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
384 #define SWIG_From_unsigned_SS_short PyInt_FromLong
386 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
387 #define SWIG_From_int PyInt_FromLong
389 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
390 #define SWIG_From_long PyInt_FromLong
392 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
393 #define SWIG_From_float PyFloat_FromDouble
395 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
396 #define SWIG_From_double PyFloat_FromDouble
400 #include "wx/wxPython/wxPython_int.h"
401 #include "wx/wxPython/pyclasses.h"
404 #ifndef wxPyUSE_EXPORT
405 // Helper functions for dealing with SWIG objects and such. These are
406 // located here so they know about the SWIG types and functions declared
407 // in the wrapper code.
409 #include <wx/hashmap.h>
410 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
413 // Maintains a hashmap of className to swig_type_info pointers. Given the
414 // name of a class either looks up the type info in the cache, or scans the
415 // SWIG tables for it.
416 extern PyObject
* wxPyPtrTypeMap
;
418 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
420 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
422 if (typeInfoCache
== NULL
)
423 typeInfoCache
= new wxPyTypeInfoHashMap
;
425 wxString
name(className
);
426 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
429 // it wasn't in the cache, so look it up from SWIG
430 name
.Append(wxT(" *"));
431 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
433 // if it still wasn't found, try looking for a mapped name
438 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
439 (char*)(const char*)name
.mbc_str())) != NULL
) {
440 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
441 name
.Append(wxT(" *"));
442 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
446 // and add it to the map if found
447 (*typeInfoCache
)[className
] = swigType
;
454 // Check if a class name is a type known to SWIG
455 bool wxPyCheckSwigType(const wxChar
* className
) {
457 swig_type_info
* swigType
= wxPyFindSwigType(className
);
458 return swigType
!= NULL
;
462 // Given a pointer to a C++ object and a class name, construct a Python proxy
464 PyObject
* wxPyConstructObject(void* ptr
,
465 const wxChar
* className
,
468 swig_type_info
* swigType
= wxPyFindSwigType(className
);
469 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
471 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
475 // Extract a pointer to the wrapped C++ object from a Python proxy object.
476 // Ensures that the proxy object is of the specified (or derived) type. If
477 // not able to perform the conversion then a Python exception is set and the
478 // error should be handled properly in the caller. Returns True on success.
479 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
480 const wxChar
* className
) {
482 swig_type_info
* swigType
= wxPyFindSwigType(className
);
483 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
485 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
489 // Make a SWIGified pointer object suitable for a .this attribute
490 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
492 PyObject
* robj
= NULL
;
494 swig_type_info
* swigType
= wxPyFindSwigType(className
);
495 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
497 #ifdef SWIG_COBJECT_TYPES
498 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
504 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
505 strcpy(r
, swigType
->name
);
506 robj
= PyString_FromString(result
);
516 // Export a C API in a struct. Other modules will be able to load this from
517 // the wx._core_ module and will then have safe access to these functions,
518 // even if they are located in another shared library.
519 static wxPyCoreAPI API
= {
521 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
522 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
523 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
524 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
525 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
526 (p_SWIG_Python_TypePrettyName_t
)SWIG_Python_TypePrettyName
,
527 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
528 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
529 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
530 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
531 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
532 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
533 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
534 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
535 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
536 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
537 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
538 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
545 wxPyBeginAllowThreads
,
547 wxPyBeginBlockThreads
,
561 wxBitmap_LIST_helper
,
562 wxString_LIST_helper
,
563 wxAcceleratorEntry_LIST_helper
,
572 wxPySimple_typecheck
,
575 wxPyCBH_setCallbackInfo
,
576 wxPyCBH_findCallback
,
577 wxPyCBH_callCallback
,
578 wxPyCBH_callCallbackObj
,
586 wxArrayString2PyList_helper
,
587 wxArrayInt2PyList_helper
,
591 wxPyOORClientData_dtor
,
593 wxPyCBInputStream_create
,
596 wxPySwigInstance_Check
,
606 enum wxHotkeyModifier
614 #define wxEVT_HOTKEY 9999
617 static const wxString
wxPyEmptyString(wxEmptyString
);
618 wxString
wxObject_GetClassName(wxObject
*self
){
619 return self
->GetClassInfo()->GetClassName();
621 void wxObject_Destroy(wxObject
*self
){
626 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
633 SWIGSTATICINLINE(int)
634 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
637 if (value
< min_value
) {
639 PyErr_Format(PyExc_OverflowError
,
640 "value %ld is less than '%s' minimum %ld",
641 value
, errmsg
, min_value
);
644 } else if (value
> max_value
) {
646 PyErr_Format(PyExc_OverflowError
,
647 "value %ld is greater than '%s' maximum %ld",
648 value
, errmsg
, max_value
);
656 // See my_fragments.i
657 SWIGSTATICINLINE(int)
658 SWIG_AsVal_long(PyObject
* obj
, long* val
)
660 if (PyNumber_Check(obj
)) {
661 if (val
) *val
= PyInt_AsLong(obj
);
665 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
666 obj
->ob_type
->tp_name
);
667 PyErr_SetObject(PyExc_TypeError
, errmsg
);
674 #if INT_MAX != LONG_MAX
675 SWIGSTATICINLINE(int)
676 SWIG_AsVal_int(PyObject
*obj
, int *val
)
678 const char* errmsg
= val
? "int" : 0;
680 if (SWIG_AsVal_long(obj
, &v
)) {
681 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
682 if (val
) *val
= swig_numeric_cast(v
, int);
691 PyErr_SetString(PyExc_TypeError
, "an int is expected");
696 SWIGSTATICINLINE(int)
697 SWIG_AsVal_int(PyObject
*obj
, int *val
)
699 return SWIG_AsVal_long(obj
,(long*)val
);
704 SWIGSTATICINLINE(int)
705 SWIG_As_int(PyObject
* obj
)
708 if (!SWIG_AsVal_int(obj
, &v
)) {
710 this is needed to make valgrind/purify happier. the other
711 solution is throw an exception, but since this code should work
714 memset((void*)&v
, 0, sizeof(int));
720 SWIGSTATICINLINE(int)
721 SWIG_Check_int(PyObject
* obj
)
723 return SWIG_AsVal_int(obj
, (int*)0);
726 PyObject
*wxSize_Get(wxSize
*self
){
727 bool blocked
= wxPyBeginBlockThreads();
728 PyObject
* tup
= PyTuple_New(2);
729 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
730 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
731 wxPyEndBlockThreads(blocked
);
735 // See my_fragments.i
736 SWIGSTATICINLINE(int)
737 SWIG_AsVal_double(PyObject
*obj
, double* val
)
739 if (PyNumber_Check(obj
)) {
740 if (val
) *val
= PyFloat_AsDouble(obj
);
744 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
745 obj
->ob_type
->tp_name
);
746 PyErr_SetObject(PyExc_TypeError
, errmsg
);
753 SWIGSTATICINLINE(double)
754 SWIG_As_double(PyObject
* obj
)
757 if (!SWIG_AsVal_double(obj
, &v
)) {
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
763 memset((void*)&v
, 0, sizeof(double));
769 SWIGSTATICINLINE(int)
770 SWIG_Check_double(PyObject
* obj
)
772 return SWIG_AsVal_double(obj
, (double*)0);
775 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
779 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
780 bool blocked
= wxPyBeginBlockThreads();
781 PyObject
* tup
= PyTuple_New(2);
782 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
783 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
784 wxPyEndBlockThreads(blocked
);
788 SWIGSTATICINLINE(long)
789 SWIG_As_long(PyObject
* obj
)
792 if (!SWIG_AsVal_long(obj
, &v
)) {
794 this is needed to make valgrind/purify happier. the other
795 solution is throw an exception, but since this code should work
798 memset((void*)&v
, 0, sizeof(long));
804 SWIGSTATICINLINE(int)
805 SWIG_Check_long(PyObject
* obj
)
807 return SWIG_AsVal_long(obj
, (long*)0);
810 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
814 PyObject
*wxPoint_Get(wxPoint
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
818 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
819 wxPyEndBlockThreads(blocked
);
822 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
826 self
->height
= height
;
828 PyObject
*wxRect_Get(wxRect
*self
){
829 bool blocked
= wxPyBeginBlockThreads();
830 PyObject
* tup
= PyTuple_New(4);
831 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
832 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
833 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
834 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
835 wxPyEndBlockThreads(blocked
);
839 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
842 wxRect
dest(0,0,0,0);
845 reg1
.Intersect(reg2
);
846 dest
= reg1
.GetBox();
848 if (dest
!= wxRect(0,0,0,0)) {
849 bool blocked
= wxPyBeginBlockThreads();
850 wxRect
* newRect
= new wxRect(dest
);
851 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
852 wxPyEndBlockThreads(blocked
);
860 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
866 } else if (target
== Py_None
) {
870 if (!PyTuple_Check(target
)) {
872 target
= PyTuple_New(1);
873 PyTuple_SetItem(target
, 0, o2
);
876 PyTuple_SetItem(o3
, 0, o
);
879 target
= PySequence_Concat(o2
, o3
);
887 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
891 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
892 bool blocked
= wxPyBeginBlockThreads();
893 PyObject
* tup
= PyTuple_New(2);
894 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
895 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
896 wxPyEndBlockThreads(blocked
);
900 #include "wx/wxPython/pyistream.h"
902 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
903 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
905 return new wxPyInputStream(wxis
);
910 SWIGSTATICINLINE(PyObject
*)
911 SWIG_From_char(char c
)
913 return PyString_FromStringAndSize(&c
,1);
917 SWIGSTATICINLINE(PyObject
* )
918 SWIG_From_unsigned_SS_long(unsigned long value
)
920 return (value
> LONG_MAX
) ?
921 PyLong_FromUnsignedLong(value
)
922 : PyInt_FromLong(swig_numeric_cast(value
,long));
926 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
928 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
930 static swig_type_info
* pchar_info
= 0;
932 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
933 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
934 if (cptr
) *cptr
= vptr
;
935 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
938 if (PyString_Check(obj
)) {
940 *cptr
= PyString_AS_STRING(obj
);
942 *psize
= PyString_GET_SIZE(obj
) + 1;
949 PyErr_SetString(PyExc_TypeError
, "a string is expected");
956 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
958 char* cptr
; size_t csize
;
959 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
964 ie, assing the array using an extra '0' char.
966 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
969 if (csize
) memcpy(val
, cptr
, csize
);
970 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
976 PyErr_Format(PyExc_TypeError
,
977 "a char array of maximum size %ld is expected",
984 SWIGSTATICINLINE(int)
985 SWIG_AsVal_char(PyObject
*obj
, char *val
)
987 const char* errmsg
= val
? "char" : 0;
989 if (SWIG_AsVal_long(obj
, &v
)) {
990 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
998 return SWIG_AsCharArray(obj
, val
, 1);
1003 SWIGSTATICINLINE(char)
1004 SWIG_As_char(PyObject
* obj
)
1007 if (!SWIG_AsVal_char(obj
, &v
)) {
1009 this is needed to make valgrind/purify happier. the other
1010 solution is throw an exception, but since this code should work
1013 memset((void*)&v
, 0, sizeof(char));
1019 SWIGSTATICINLINE(int)
1020 SWIG_Check_char(PyObject
* obj
)
1022 return SWIG_AsVal_char(obj
, (char*)0);
1025 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
1026 // We use only strings for the streams, not unicode
1027 PyObject
* str
= PyObject_Str(obj
);
1029 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
1032 self
->Write(PyString_AS_STRING(str
),
1033 PyString_GET_SIZE(str
));
1037 #include "wx/wxPython/pyistream.h"
1040 class wxPyFileSystemHandler
: public wxFileSystemHandler
1043 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1045 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
1046 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
1047 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
1048 DEC_PYCALLBACK_STRING__pure(FindNext
);
1050 wxString
GetProtocol(const wxString
& location
) {
1051 return wxFileSystemHandler::GetProtocol(location
);
1054 wxString
GetLeftLocation(const wxString
& location
) {
1055 return wxFileSystemHandler::GetLeftLocation(location
);
1058 wxString
GetAnchor(const wxString
& location
) {
1059 return wxFileSystemHandler::GetAnchor(location
);
1062 wxString
GetRightLocation(const wxString
& location
) {
1063 return wxFileSystemHandler::GetRightLocation(location
);
1066 wxString
GetMimeTypeFromExt(const wxString
& location
) {
1067 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
1074 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
1075 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
1076 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
1077 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
1080 SWIGSTATICINLINE(int)
1081 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1083 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1084 if (obj
== Py_True
) {
1085 if (val
) *val
= true;
1088 if (obj
== Py_False
) {
1089 if (val
) *val
= false;
1093 if (SWIG_AsVal_int(obj
, &res
)) {
1094 if (val
) *val
= (bool)res
;
1098 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
1104 SWIGSTATICINLINE(bool)
1105 SWIG_As_bool(PyObject
* obj
)
1108 if (!SWIG_AsVal_bool(obj
, &v
)) {
1110 this is needed to make valgrind/purify happier. the other
1111 solution is throw an exception, but since this code should work
1114 memset((void*)&v
, 0, sizeof(bool));
1120 SWIGSTATICINLINE(int)
1121 SWIG_Check_bool(PyObject
* obj
)
1123 return SWIG_AsVal_bool(obj
, (bool*)0);
1126 wxString
FileSystem_URLToFileName(wxString
const &url
){
1127 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1128 return fname
.GetFullPath();
1131 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1134 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1137 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1138 const wxBitmap
& bitmap
,
1140 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1143 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1145 if (! PyString_Check(data
)) {
1146 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1147 "Expected string object"));
1151 bool blocked
= wxPyBeginBlockThreads();
1152 void* ptr
= (void*)PyString_AsString(data
);
1153 size_t size
= PyString_Size(data
);
1154 wxPyEndBlockThreads(blocked
);
1156 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
1160 #include "wx/wxPython/pyistream.h"
1163 // See my_fragments.i
1164 SWIGSTATICINLINE(int)
1165 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1168 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1169 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1173 *val
= (unsigned long)v
;
1178 SWIGSTATICINLINE(int)
1179 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1180 unsigned long max_value
,
1183 if (value
> max_value
) {
1185 PyErr_Format(PyExc_OverflowError
,
1186 "value %ld is greater than '%s' minimum %ld",
1187 value
, errmsg
, max_value
);
1195 SWIGSTATICINLINE(int)
1196 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1198 const char* errmsg
= val
? "unsigned char" : 0;
1200 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1201 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1202 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
1211 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
1217 SWIGSTATICINLINE(unsigned char)
1218 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1221 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1223 this is needed to make valgrind/purify happier. the other
1224 solution is throw an exception, but since this code should work
1227 memset((void*)&v
, 0, sizeof(unsigned char));
1233 SWIGSTATICINLINE(int)
1234 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1236 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1240 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1241 if (width
> 0 && height
> 0)
1242 return new wxImage(width
, height
, clear
);
1246 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1247 return new wxImage(bitmap
.ConvertToImage());
1249 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1250 // Copy the source data so the wxImage can clean it up later
1251 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1256 memcpy(copy
, data
, width
*height
*3);
1257 return new wxImage(width
, height
, copy
, false);
1259 wxSize
wxImage_GetSize(wxImage
*self
){
1260 wxSize
size(self
->GetWidth(), self
->GetHeight());
1263 PyObject
*wxImage_GetData(wxImage
*self
){
1264 unsigned char* data
= self
->GetData();
1265 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1267 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1270 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1271 unsigned char* dataPtr
;
1273 if (! PyString_Check(data
)) {
1274 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1275 "Expected string object"));
1279 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1280 dataPtr
= (unsigned char*) malloc(len
);
1281 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1282 self
->SetData(dataPtr
);
1283 // wxImage takes ownership of dataPtr...
1285 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1286 unsigned char* data
= self
->GetData();
1287 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1289 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1292 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1293 unsigned char* buffer
;
1296 bool blocked
= wxPyBeginBlockThreads();
1297 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1300 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1301 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1304 self
->SetData(buffer
);
1306 wxPyEndBlockThreads(blocked
);
1308 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1309 unsigned char* data
= self
->GetAlpha();
1313 int len
= self
->GetWidth() * self
->GetHeight();
1315 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1319 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1320 unsigned char* dataPtr
;
1322 if (! PyString_Check(data
)) {
1323 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1327 size_t len
= self
->GetWidth() * self
->GetHeight();
1328 dataPtr
= (unsigned char*) malloc(len
);
1329 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1330 self
->SetAlpha(dataPtr
);
1331 // wxImage takes ownership of dataPtr...
1333 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1334 unsigned char* data
= self
->GetAlpha();
1335 int len
= self
->GetWidth() * self
->GetHeight();
1337 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1340 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1341 unsigned char* buffer
;
1344 bool blocked
= wxPyBeginBlockThreads();
1345 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1348 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1349 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1352 self
->SetAlpha(buffer
);
1354 wxPyEndBlockThreads(blocked
);
1357 SWIGSTATICINLINE(unsigned long)
1358 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1361 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1363 this is needed to make valgrind/purify happier. the other
1364 solution is throw an exception, but since this code should work
1367 memset((void*)&v
, 0, sizeof(unsigned long));
1373 SWIGSTATICINLINE(int)
1374 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1376 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1379 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
){
1380 wxBitmap
bitmap(*self
, depth
);
1383 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1384 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1385 wxBitmap
bitmap( mono
, 1 );
1388 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1389 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1390 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1391 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1392 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1394 #include <wx/quantize.h>
1396 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1397 return wxQuantize::Quantize(src
, dest
,
1400 NULL
, // eightBitData
1403 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1404 if (PyCallable_Check(func
)) {
1405 self
->Connect(id
, lastId
, eventType
,
1406 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1407 new wxPyCallback(func
));
1409 else if (func
== Py_None
) {
1410 self
->Disconnect(id
, lastId
, eventType
,
1411 (wxObjectEventFunction
)
1412 &wxPyCallback::EventThunker
);
1416 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1419 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1420 return self
->Disconnect(id
, lastId
, eventType
,
1421 (wxObjectEventFunction
)
1422 &wxPyCallback::EventThunker
);
1424 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1425 if (_self
&& _self
!= Py_None
) {
1426 self
->SetClientObject(new wxPyOORClientData(_self
));
1429 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1431 self
->SetClientObject(NULL
); // This will delete it too
1436 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1438 return self
->GetUnicodeKey();
1444 #if UINT_MAX < LONG_MAX
1445 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1446 #define SWIG_From_unsigned_SS_int SWIG_From_long
1449 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1450 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1455 #if UINT_MAX != ULONG_MAX
1456 SWIGSTATICINLINE(int)
1457 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1459 const char* errmsg
= val
? "unsigned int" : 0;
1461 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1462 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1463 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1470 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1475 SWIGSTATICINLINE(unsigned int)
1476 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1478 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1483 SWIGSTATICINLINE(unsigned int)
1484 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1487 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1489 this is needed to make valgrind/purify happier. the other
1490 solution is throw an exception, but since this code should work
1493 memset((void*)&v
, 0, sizeof(unsigned int));
1499 SWIGSTATICINLINE(int)
1500 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1502 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1505 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1506 self
->m_size
= size
;
1508 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1511 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1512 int count
= self
->GetNumberOfFiles();
1513 wxString
* files
= self
->GetFiles();
1514 PyObject
* list
= PyList_New(count
);
1517 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1521 for (int i
=0; i
<count
; i
++) {
1522 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1528 wxPyApp
*new_wxPyApp(){
1529 wxPythonApp
= new wxPyApp();
1532 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1534 void wxApp_CleanUp() {
1539 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1544 // A dummy class that raises an exception if used...
1548 wxEventLoop() { wxPyRaiseNotImplemented(); }
1549 int Run() { return 0; }
1550 void Exit(int rc
= 0) {}
1551 bool Pending() const { return false; }
1552 bool Dispatch() { return false; }
1553 bool IsRunning() const { return false; }
1554 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
1555 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
1560 #include <wx/evtloop.h>
1566 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1567 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1568 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1569 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1570 wxWindowList
& list
= self
->GetChildren();
1571 return wxPy_ConvertList(&list
);
1573 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1575 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1580 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1587 long wxWindow_GetHandle(wxWindow
*self
){
1588 return wxPyGetWinHandle(self
);
1590 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1591 self
->AssociateHandle((WXWidget
)handle
);
1594 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1595 return wxWindow::FindWindowById(id
, parent
);
1598 wxWindow
* wxFindWindowByName( const wxString
& name
,
1599 const wxWindow
*parent
= NULL
) {
1600 return wxWindow::FindWindowByName(name
, parent
);
1603 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1604 const wxWindow
*parent
= NULL
) {
1605 return wxWindow::FindWindowByLabel(label
, parent
);
1610 #include <wx/msw/private.h> // to get wxGetWindowId
1614 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1616 WXHWND hWnd
= (WXHWND
)_hWnd
;
1617 long id
= wxGetWindowId(hWnd
);
1618 wxWindow
* win
= new wxWindow
;
1619 parent
->AddChild(win
);
1620 win
->SetEventHandler(win
);
1623 win
->SubclassWin(hWnd
);
1624 win
->AdoptAttributesFromHWND();
1625 win
->SetupColours();
1628 wxPyRaiseNotImplemented();
1634 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1635 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1636 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1638 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1640 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1641 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1642 wxMenuItemList
& list
= self
->GetMenuItems();
1643 return wxPy_ConvertList(&list
);
1645 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1646 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1647 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1649 wxPyClientData
* data
= new wxPyClientData(clientData
);
1650 return self
->Append(item
, data
);
1652 return self
->Append(item
);
1654 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1656 wxPyClientData
* data
= new wxPyClientData(clientData
);
1657 return self
->Insert(item
, pos
, data
);
1659 return self
->Insert(item
, pos
);
1661 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1662 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1664 Py_INCREF(data
->m_obj
);
1671 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1672 wxPyClientData
* data
= new wxPyClientData(clientData
);
1673 self
->SetClientObject(n
, data
);
1677 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1678 wxPyUserData
* data
= NULL
;
1680 bool blocked
= wxPyBeginBlockThreads();
1681 data
= new wxPyUserData(userData
);
1682 wxPyEndBlockThreads(blocked
);
1684 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1686 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1687 wxPyUserData
* data
= NULL
;
1689 bool blocked
= wxPyBeginBlockThreads();
1690 data
= new wxPyUserData(userData
);
1691 wxPyEndBlockThreads(blocked
);
1693 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1695 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1696 wxPyUserData
* data
= NULL
;
1698 bool blocked
= wxPyBeginBlockThreads();
1699 data
= new wxPyUserData(userData
);
1700 wxPyEndBlockThreads(blocked
);
1702 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1706 SWIGSTATICINLINE(int)
1707 SWIG_CheckDoubleInRange(double value
, double min_value
,
1708 double max_value
, const char* errmsg
)
1710 if (value
< min_value
) {
1712 PyErr_Format(PyExc_OverflowError
,
1713 "value %g is less than %s minimum %g",
1714 value
, errmsg
, min_value
);
1717 } else if (value
> max_value
) {
1719 PyErr_Format(PyExc_OverflowError
,
1720 "value %g is greater than %s maximum %g",
1721 value
, errmsg
, max_value
);
1729 SWIGSTATICINLINE(int)
1730 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1732 const char* errmsg
= val
? "float" : 0;
1734 if (SWIG_AsVal_double(obj
, &v
)) {
1735 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1745 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1751 SWIGSTATICINLINE(float)
1752 SWIG_As_float(PyObject
* obj
)
1755 if (!SWIG_AsVal_float(obj
, &v
)) {
1757 this is needed to make valgrind/purify happier. the other
1758 solution is throw an exception, but since this code should work
1761 memset((void*)&v
, 0, sizeof(float));
1767 SWIGSTATICINLINE(int)
1768 SWIG_Check_float(PyObject
* obj
)
1770 return SWIG_AsVal_float(obj
, (float*)0);
1773 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1774 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1776 Py_INCREF(data
->m_obj
);
1784 // Figure out the type of the sizer item
1786 struct wxPySizerItemInfo
{
1788 : window(NULL
), sizer(NULL
), gotSize(false),
1789 size(wxDefaultSize
), gotPos(false), pos(-1)
1800 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1802 wxPySizerItemInfo info
;
1804 wxSize
* sizePtr
= &size
;
1806 // Find out what the type of the item is
1808 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1813 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1817 // try wxSize or (w,h)
1818 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1819 info
.size
= *sizePtr
;
1820 info
.gotSize
= true;
1824 if (checkIdx
&& PyInt_Check(item
)) {
1825 info
.pos
= PyInt_AsLong(item
);
1831 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1832 // no expected type, figure out what kind of error message to generate
1833 if ( !checkSize
&& !checkIdx
)
1834 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1835 else if ( checkSize
&& !checkIdx
)
1836 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1837 else if ( !checkSize
&& checkIdx
)
1838 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1840 // can this one happen?
1841 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1847 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1848 if (!self
->GetClientObject())
1849 self
->SetClientObject(new wxPyOORClientData(_self
));
1851 wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1853 wxPyUserData
* data
= NULL
;
1854 bool blocked
= wxPyBeginBlockThreads();
1855 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1856 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1857 data
= new wxPyUserData(userData
);
1858 wxPyEndBlockThreads(blocked
);
1860 // Now call the real Add method if a valid item type was found
1862 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
1863 else if ( info
.sizer
)
1864 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1865 else if (info
.gotSize
)
1866 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1867 proportion
, flag
, border
, data
);
1871 wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1873 wxPyUserData
* data
= NULL
;
1874 bool blocked
= wxPyBeginBlockThreads();
1875 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1876 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1877 data
= new wxPyUserData(userData
);
1878 wxPyEndBlockThreads(blocked
);
1880 // Now call the real Insert method if a valid item type was found
1882 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1883 else if ( info
.sizer
)
1884 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1885 else if (info
.gotSize
)
1886 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1887 proportion
, flag
, border
, data
);
1891 wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1893 wxPyUserData
* data
= NULL
;
1894 bool blocked
= wxPyBeginBlockThreads();
1895 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1896 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1897 data
= new wxPyUserData(userData
);
1898 wxPyEndBlockThreads(blocked
);
1900 // Now call the real Prepend method if a valid item type was found
1902 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1903 else if ( info
.sizer
)
1904 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1905 else if (info
.gotSize
)
1906 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1907 proportion
, flag
, border
, data
);
1911 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1912 bool blocked
= wxPyBeginBlockThreads();
1913 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1914 wxPyEndBlockThreads(blocked
);
1916 return self
->Remove(info
.window
);
1917 else if ( info
.sizer
)
1918 return self
->Remove(info
.sizer
);
1919 else if ( info
.gotPos
)
1920 return self
->Remove(info
.pos
);
1924 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1925 bool blocked
= wxPyBeginBlockThreads();
1926 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1927 wxPyEndBlockThreads(blocked
);
1929 return self
->Detach(info
.window
);
1930 else if ( info
.sizer
)
1931 return self
->Detach(info
.sizer
);
1932 else if ( info
.gotPos
)
1933 return self
->Detach(info
.pos
);
1937 wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
1938 bool blocked
= wxPyBeginBlockThreads();
1939 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1940 wxPyEndBlockThreads(blocked
);
1942 return self
->GetItem(info
.window
);
1943 else if ( info
.sizer
)
1944 return self
->GetItem(info
.sizer
);
1945 else if ( info
.gotPos
)
1946 return self
->GetItem(info
.pos
);
1950 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1951 bool blocked
= wxPyBeginBlockThreads();
1952 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1953 wxPyEndBlockThreads(blocked
);
1955 self
->SetItemMinSize(info
.window
, size
);
1956 else if ( info
.sizer
)
1957 self
->SetItemMinSize(info
.sizer
, size
);
1958 else if ( info
.gotPos
)
1959 self
->SetItemMinSize(info
.pos
, size
);
1961 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1962 wxSizerItemList
& list
= self
->GetChildren();
1963 return wxPy_ConvertList(&list
);
1965 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1966 bool blocked
= wxPyBeginBlockThreads();
1967 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1968 wxPyEndBlockThreads(blocked
);
1970 return self
->Show(info
.window
, show
, recursive
);
1971 else if ( info
.sizer
)
1972 return self
->Show(info
.sizer
, show
, recursive
);
1973 else if ( info
.gotPos
)
1974 return self
->Show(info
.pos
, show
);
1978 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1979 bool blocked
= wxPyBeginBlockThreads();
1980 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1981 wxPyEndBlockThreads(blocked
);
1983 return self
->IsShown(info
.window
);
1984 else if ( info
.sizer
)
1985 return self
->IsShown(info
.sizer
);
1986 else if ( info
.gotPos
)
1987 return self
->IsShown(info
.pos
);
1993 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1994 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1995 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
2000 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
2002 if (source
== Py_None
) {
2003 **obj
= wxGBPosition(-1,-1);
2006 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
2009 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
2011 if (source
== Py_None
) {
2012 **obj
= wxGBSpan(-1,-1);
2015 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
2019 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2023 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2024 bool blocked
= wxPyBeginBlockThreads();
2025 PyObject
* tup
= PyTuple_New(2);
2026 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2027 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2028 wxPyEndBlockThreads(blocked
);
2031 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2032 self
->SetRowspan(rowspan
);
2033 self
->SetColspan(colspan
);
2035 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2036 bool blocked
= wxPyBeginBlockThreads();
2037 PyObject
* tup
= PyTuple_New(2);
2038 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2039 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2040 wxPyEndBlockThreads(blocked
);
2043 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2044 wxPyUserData
* data
= NULL
;
2046 bool blocked
= wxPyBeginBlockThreads();
2047 data
= new wxPyUserData(userData
);
2048 wxPyEndBlockThreads(blocked
);
2050 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2052 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2053 wxPyUserData
* data
= NULL
;
2055 bool blocked
= wxPyBeginBlockThreads();
2056 data
= new wxPyUserData(userData
);
2057 wxPyEndBlockThreads(blocked
);
2059 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2061 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2062 wxPyUserData
* data
= NULL
;
2064 bool blocked
= wxPyBeginBlockThreads();
2065 data
= new wxPyUserData(userData
);
2066 wxPyEndBlockThreads(blocked
);
2068 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2070 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2072 self
->GetEndPos(row
, col
);
2073 return wxGBPosition(row
, col
);
2075 wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2077 wxPyUserData
* data
= NULL
;
2078 bool blocked
= wxPyBeginBlockThreads();
2079 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2080 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2081 data
= new wxPyUserData(userData
);
2082 wxPyEndBlockThreads(blocked
);
2084 // Now call the real Add method if a valid item type was found
2086 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2087 else if ( info
.sizer
)
2088 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2089 else if (info
.gotSize
)
2090 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2091 pos
, span
, flag
, border
, data
);
2099 static int _wrap_EmptyString_set(PyObject
*) {
2100 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2105 static PyObject
*_wrap_EmptyString_get() {
2110 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2112 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2119 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxObject
*arg1
= (wxObject
*) 0 ;
2123 PyObject
* obj0
= 0 ;
2125 (char *) "self", NULL
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 result
= wxObject_GetClassName(arg1
);
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) SWIG_fail
;
2140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2151 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxObject
*arg1
= (wxObject
*) 0 ;
2154 PyObject
* obj0
= 0 ;
2156 (char *) "self", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 wxObject_Destroy(arg1
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 Py_INCREF(Py_None
); resultobj
= Py_None
;
2176 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2179 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2181 return Py_BuildValue((char *)"");
2183 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2185 wxSize
*arg1
= (wxSize
*) 0 ;
2187 PyObject
* obj0
= 0 ;
2188 PyObject
* obj1
= 0 ;
2190 (char *) "self",(char *) "x", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2196 arg2
= (int)SWIG_As_int(obj1
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2198 if (arg1
) (arg1
)->x
= arg2
;
2200 Py_INCREF(Py_None
); resultobj
= Py_None
;
2207 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxSize
*arg1
= (wxSize
*) 0 ;
2211 PyObject
* obj0
= 0 ;
2213 (char *) "self", NULL
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2219 result
= (int) ((arg1
)->x
);
2221 resultobj
= SWIG_From_int((int)result
);
2228 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
*resultobj
;
2230 wxSize
*arg1
= (wxSize
*) 0 ;
2232 PyObject
* obj0
= 0 ;
2233 PyObject
* obj1
= 0 ;
2235 (char *) "self",(char *) "y", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2241 arg2
= (int)SWIG_As_int(obj1
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2243 if (arg1
) (arg1
)->y
= arg2
;
2245 Py_INCREF(Py_None
); resultobj
= Py_None
;
2252 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2254 wxSize
*arg1
= (wxSize
*) 0 ;
2256 PyObject
* obj0
= 0 ;
2258 (char *) "self", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 result
= (int) ((arg1
)->y
);
2266 resultobj
= SWIG_From_int((int)result
);
2273 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2275 int arg1
= (int) 0 ;
2276 int arg2
= (int) 0 ;
2278 PyObject
* obj0
= 0 ;
2279 PyObject
* obj1
= 0 ;
2281 (char *) "w",(char *) "h", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2286 arg1
= (int)SWIG_As_int(obj0
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2290 arg2
= (int)SWIG_As_int(obj1
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2307 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2309 wxSize
*arg1
= (wxSize
*) 0 ;
2310 PyObject
* obj0
= 0 ;
2312 (char *) "self", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 Py_INCREF(Py_None
); resultobj
= Py_None
;
2332 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 wxSize
*arg1
= (wxSize
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2339 PyObject
* obj1
= 0 ;
2341 (char *) "self",(char *) "sz", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2349 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2367 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2369 wxSize
*arg1
= (wxSize
*) 0 ;
2373 PyObject
* obj0
= 0 ;
2374 PyObject
* obj1
= 0 ;
2376 (char *) "self",(char *) "sz", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2384 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2402 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2404 wxSize
*arg1
= (wxSize
*) 0 ;
2408 PyObject
* obj0
= 0 ;
2409 PyObject
* obj1
= 0 ;
2411 (char *) "self",(char *) "sz", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2419 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2430 resultptr
= new wxSize((wxSize
&) result
);
2431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2439 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
*resultobj
;
2441 wxSize
*arg1
= (wxSize
*) 0 ;
2445 PyObject
* obj0
= 0 ;
2446 PyObject
* obj1
= 0 ;
2448 (char *) "self",(char *) "sz", NULL
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2456 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2467 resultptr
= new wxSize((wxSize
&) result
);
2468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2476 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2478 wxSize
*arg1
= (wxSize
*) 0 ;
2481 PyObject
* obj0
= 0 ;
2482 PyObject
* obj1
= 0 ;
2484 (char *) "self",(char *) "sz", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2496 (arg1
)->IncTo((wxSize
const &)*arg2
);
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2501 Py_INCREF(Py_None
); resultobj
= Py_None
;
2508 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
*resultobj
;
2510 wxSize
*arg1
= (wxSize
*) 0 ;
2513 PyObject
* obj0
= 0 ;
2514 PyObject
* obj1
= 0 ;
2516 (char *) "self",(char *) "sz", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2524 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 (arg1
)->DecTo((wxSize
const &)*arg2
);
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 Py_INCREF(Py_None
); resultobj
= Py_None
;
2540 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2542 wxSize
*arg1
= (wxSize
*) 0 ;
2545 PyObject
* obj0
= 0 ;
2546 PyObject
* obj1
= 0 ;
2547 PyObject
* obj2
= 0 ;
2549 (char *) "self",(char *) "w",(char *) "h", NULL
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2555 arg2
= (int)SWIG_As_int(obj1
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2557 arg3
= (int)SWIG_As_int(obj2
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 (arg1
)->Set(arg2
,arg3
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 Py_INCREF(Py_None
); resultobj
= Py_None
;
2573 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
*resultobj
;
2575 wxSize
*arg1
= (wxSize
*) 0 ;
2577 PyObject
* obj0
= 0 ;
2578 PyObject
* obj1
= 0 ;
2580 (char *) "self",(char *) "w", NULL
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2586 arg2
= (int)SWIG_As_int(obj1
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 (arg1
)->SetWidth(arg2
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2595 Py_INCREF(Py_None
); resultobj
= Py_None
;
2602 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 wxSize
*arg1
= (wxSize
*) 0 ;
2606 PyObject
* obj0
= 0 ;
2607 PyObject
* obj1
= 0 ;
2609 (char *) "self",(char *) "h", NULL
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2615 arg2
= (int)SWIG_As_int(obj1
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 (arg1
)->SetHeight(arg2
);
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2624 Py_INCREF(Py_None
); resultobj
= Py_None
;
2631 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2633 wxSize
*arg1
= (wxSize
*) 0 ;
2635 PyObject
* obj0
= 0 ;
2637 (char *) "self", NULL
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2650 resultobj
= SWIG_From_int((int)result
);
2657 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2659 wxSize
*arg1
= (wxSize
*) 0 ;
2661 PyObject
* obj0
= 0 ;
2663 (char *) "self", NULL
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 resultobj
= SWIG_From_int((int)result
);
2683 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
*resultobj
;
2685 wxSize
*arg1
= (wxSize
*) 0 ;
2687 PyObject
* obj0
= 0 ;
2689 (char *) "self", NULL
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2711 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
*resultobj
;
2713 wxSize
*arg1
= (wxSize
*) 0 ;
2716 PyObject
* obj0
= 0 ;
2717 PyObject
* obj1
= 0 ;
2719 (char *) "self",(char *) "size", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2727 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 Py_INCREF(Py_None
); resultobj
= Py_None
;
2743 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2745 wxSize
*arg1
= (wxSize
*) 0 ;
2747 PyObject
* obj0
= 0 ;
2749 (char *) "self", NULL
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 result
= (PyObject
*)wxSize_Get(arg1
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2769 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2772 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2774 return Py_BuildValue((char *)"");
2776 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
*resultobj
;
2778 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2780 PyObject
* obj0
= 0 ;
2781 PyObject
* obj1
= 0 ;
2783 (char *) "self",(char *) "x", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2789 arg2
= (double)SWIG_As_double(obj1
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2791 if (arg1
) (arg1
)->x
= arg2
;
2793 Py_INCREF(Py_None
); resultobj
= Py_None
;
2800 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2804 PyObject
* obj0
= 0 ;
2806 (char *) "self", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2812 result
= (double) ((arg1
)->x
);
2814 resultobj
= SWIG_From_double((double)result
);
2821 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
*resultobj
;
2823 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2825 PyObject
* obj0
= 0 ;
2826 PyObject
* obj1
= 0 ;
2828 (char *) "self",(char *) "y", NULL
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2834 arg2
= (double)SWIG_As_double(obj1
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2836 if (arg1
) (arg1
)->y
= arg2
;
2838 Py_INCREF(Py_None
); resultobj
= Py_None
;
2845 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
*resultobj
;
2847 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2849 PyObject
* obj0
= 0 ;
2851 (char *) "self", NULL
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2857 result
= (double) ((arg1
)->y
);
2859 resultobj
= SWIG_From_double((double)result
);
2866 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
*resultobj
;
2868 double arg1
= (double) 0.0 ;
2869 double arg2
= (double) 0.0 ;
2870 wxRealPoint
*result
;
2871 PyObject
* obj0
= 0 ;
2872 PyObject
* obj1
= 0 ;
2874 (char *) "x",(char *) "y", NULL
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2879 arg1
= (double)SWIG_As_double(obj0
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2883 arg2
= (double)SWIG_As_double(obj1
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2900 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
*resultobj
;
2902 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2903 PyObject
* obj0
= 0 ;
2905 (char *) "self", NULL
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2918 Py_INCREF(Py_None
); resultobj
= Py_None
;
2925 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2928 wxRealPoint
*arg2
= 0 ;
2931 PyObject
* obj0
= 0 ;
2932 PyObject
* obj1
= 0 ;
2934 (char *) "self",(char *) "pt", NULL
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2942 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) SWIG_fail
;
2952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2960 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
;
2962 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2963 wxRealPoint
*arg2
= 0 ;
2966 PyObject
* obj0
= 0 ;
2967 PyObject
* obj1
= 0 ;
2969 (char *) "self",(char *) "pt", NULL
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2977 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2995 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2998 wxRealPoint
*arg2
= 0 ;
3001 PyObject
* obj0
= 0 ;
3002 PyObject
* obj1
= 0 ;
3004 (char *) "self",(char *) "pt", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3012 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3022 wxRealPoint
* resultptr
;
3023 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3032 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3035 wxRealPoint
*arg2
= 0 ;
3038 PyObject
* obj0
= 0 ;
3039 PyObject
* obj1
= 0 ;
3041 (char *) "self",(char *) "pt", NULL
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3049 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3059 wxRealPoint
* resultptr
;
3060 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3069 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3076 PyObject
* obj2
= 0 ;
3078 (char *) "self",(char *) "x",(char *) "y", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3084 arg2
= (double)SWIG_As_double(obj1
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3086 arg3
= (double)SWIG_As_double(obj2
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 wxRealPoint_Set(arg1
,arg2
,arg3
);
3092 wxPyEndAllowThreads(__tstate
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3095 Py_INCREF(Py_None
); resultobj
= Py_None
;
3102 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3106 PyObject
* obj0
= 0 ;
3108 (char *) "self", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3128 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3131 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3133 return Py_BuildValue((char *)"");
3135 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxPoint
*arg1
= (wxPoint
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3140 PyObject
* obj1
= 0 ;
3142 (char *) "self",(char *) "x", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 arg2
= (int)SWIG_As_int(obj1
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3150 if (arg1
) (arg1
)->x
= arg2
;
3152 Py_INCREF(Py_None
); resultobj
= Py_None
;
3159 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxPoint
*arg1
= (wxPoint
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3165 (char *) "self", NULL
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3171 result
= (int) ((arg1
)->x
);
3173 resultobj
= SWIG_From_int((int)result
);
3180 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxPoint
*arg1
= (wxPoint
*) 0 ;
3184 PyObject
* obj0
= 0 ;
3185 PyObject
* obj1
= 0 ;
3187 (char *) "self",(char *) "y", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3193 arg2
= (int)SWIG_As_int(obj1
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3195 if (arg1
) (arg1
)->y
= arg2
;
3197 Py_INCREF(Py_None
); resultobj
= Py_None
;
3204 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxPoint
*arg1
= (wxPoint
*) 0 ;
3208 PyObject
* obj0
= 0 ;
3210 (char *) "self", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3216 result
= (int) ((arg1
)->y
);
3218 resultobj
= SWIG_From_int((int)result
);
3225 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
*resultobj
;
3227 int arg1
= (int) 0 ;
3228 int arg2
= (int) 0 ;
3230 PyObject
* obj0
= 0 ;
3231 PyObject
* obj1
= 0 ;
3233 (char *) "x",(char *) "y", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3238 arg1
= (int)SWIG_As_int(obj0
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3242 arg2
= (int)SWIG_As_int(obj1
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3259 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxPoint
*arg1
= (wxPoint
*) 0 ;
3262 PyObject
* obj0
= 0 ;
3264 (char *) "self", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxPoint
*arg1
= (wxPoint
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3291 PyObject
* obj1
= 0 ;
3293 (char *) "self",(char *) "pt", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3319 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxPoint
*arg1
= (wxPoint
*) 0 ;
3325 PyObject
* obj0
= 0 ;
3326 PyObject
* obj1
= 0 ;
3328 (char *) "self",(char *) "pt", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3354 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxPoint
*arg1
= (wxPoint
*) 0 ;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3363 (char *) "self",(char *) "pt", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3371 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3381 wxPoint
* resultptr
;
3382 resultptr
= new wxPoint((wxPoint
&) result
);
3383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3391 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxPoint
*arg1
= (wxPoint
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3398 PyObject
* obj1
= 0 ;
3400 (char *) "self",(char *) "pt", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3418 wxPoint
* resultptr
;
3419 resultptr
= new wxPoint((wxPoint
&) result
);
3420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3428 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxPoint
*arg1
= (wxPoint
*) 0 ;
3434 PyObject
* obj0
= 0 ;
3435 PyObject
* obj1
= 0 ;
3437 (char *) "self",(char *) "pt", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3442 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3445 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3451 result
= (wxPoint
*) &_result_ref
;
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3464 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxPoint
*arg1
= (wxPoint
*) 0 ;
3470 PyObject
* obj0
= 0 ;
3471 PyObject
* obj1
= 0 ;
3473 (char *) "self",(char *) "pt", NULL
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3478 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3487 result
= (wxPoint
*) &_result_ref
;
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3500 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxPoint
*arg1
= (wxPoint
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3506 PyObject
* obj1
= 0 ;
3507 PyObject
* obj2
= 0 ;
3509 (char *) "self",(char *) "x",(char *) "y", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3515 arg2
= (long)SWIG_As_long(obj1
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3517 arg3
= (long)SWIG_As_long(obj2
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 wxPoint_Set(arg1
,arg2
,arg3
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 Py_INCREF(Py_None
); resultobj
= Py_None
;
3533 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
;
3535 wxPoint
*arg1
= (wxPoint
*) 0 ;
3537 PyObject
* obj0
= 0 ;
3539 (char *) "self", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 result
= (PyObject
*)wxPoint_Get(arg1
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3559 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3562 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3564 return Py_BuildValue((char *)"");
3566 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3568 int arg1
= (int) 0 ;
3569 int arg2
= (int) 0 ;
3570 int arg3
= (int) 0 ;
3571 int arg4
= (int) 0 ;
3573 PyObject
* obj0
= 0 ;
3574 PyObject
* obj1
= 0 ;
3575 PyObject
* obj2
= 0 ;
3576 PyObject
* obj3
= 0 ;
3578 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3583 arg1
= (int)SWIG_As_int(obj0
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3587 arg2
= (int)SWIG_As_int(obj1
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3591 arg3
= (int)SWIG_As_int(obj2
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3595 arg4
= (int)SWIG_As_int(obj3
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3612 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj1
= 0 ;
3622 (char *) "topLeft",(char *) "bottomRight", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3628 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3648 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3658 (char *) "pos",(char *) "size", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3664 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3668 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3684 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3689 PyObject
* obj0
= 0 ;
3691 (char *) "size", NULL
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
3697 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3713 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 wxRect
*arg1
= (wxRect
*) 0 ;
3716 PyObject
* obj0
= 0 ;
3718 (char *) "self", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 Py_INCREF(Py_None
); resultobj
= Py_None
;
3738 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxRect
*arg1
= (wxRect
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3744 (char *) "self", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (int)((wxRect
const *)arg1
)->GetX();
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= SWIG_From_int((int)result
);
3764 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxRect
*arg1
= (wxRect
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3771 (char *) "self",(char *) "x", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3777 arg2
= (int)SWIG_As_int(obj1
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 Py_INCREF(Py_None
); resultobj
= Py_None
;
3793 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxRect
*arg1
= (wxRect
*) 0 ;
3797 PyObject
* obj0
= 0 ;
3799 (char *) "self", NULL
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 result
= (int)(arg1
)->GetY();
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3812 resultobj
= SWIG_From_int((int)result
);
3819 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxRect
*arg1
= (wxRect
*) 0 ;
3823 PyObject
* obj0
= 0 ;
3824 PyObject
* obj1
= 0 ;
3826 (char *) "self",(char *) "y", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3832 arg2
= (int)SWIG_As_int(obj1
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 Py_INCREF(Py_None
); resultobj
= Py_None
;
3848 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
;
3850 wxRect
*arg1
= (wxRect
*) 0 ;
3852 PyObject
* obj0
= 0 ;
3854 (char *) "self", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= SWIG_From_int((int)result
);
3874 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3876 wxRect
*arg1
= (wxRect
*) 0 ;
3878 PyObject
* obj0
= 0 ;
3879 PyObject
* obj1
= 0 ;
3881 (char *) "self",(char *) "w", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3887 arg2
= (int)SWIG_As_int(obj1
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 (arg1
)->SetWidth(arg2
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxRect
*arg1
= (wxRect
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3909 (char *) "self", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3922 resultobj
= SWIG_From_int((int)result
);
3929 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxRect
*arg1
= (wxRect
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3934 PyObject
* obj1
= 0 ;
3936 (char *) "self",(char *) "h", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3942 arg2
= (int)SWIG_As_int(obj1
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 (arg1
)->SetHeight(arg2
);
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 Py_INCREF(Py_None
); resultobj
= Py_None
;
3958 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxRect
*arg1
= (wxRect
*) 0 ;
3962 PyObject
* obj0
= 0 ;
3964 (char *) "self", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 result
= ((wxRect
const *)arg1
)->GetPosition();
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3978 wxPoint
* resultptr
;
3979 resultptr
= new wxPoint((wxPoint
&) result
);
3980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3988 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
;
3990 wxRect
*arg1
= (wxRect
*) 0 ;
3993 PyObject
* obj0
= 0 ;
3994 PyObject
* obj1
= 0 ;
3996 (char *) "self",(char *) "p", NULL
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4004 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 Py_INCREF(Py_None
); resultobj
= Py_None
;
4020 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxRect
*arg1
= (wxRect
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4026 (char *) "self", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= ((wxRect
const *)arg1
)->GetSize();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4041 resultptr
= new wxSize((wxSize
&) result
);
4042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4050 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxRect
*arg1
= (wxRect
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 (char *) "self",(char *) "s", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4066 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 (arg1
)->SetSize((wxSize
const &)*arg2
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 Py_INCREF(Py_None
); resultobj
= Py_None
;
4082 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxRect
*arg1
= (wxRect
*) 0 ;
4086 PyObject
* obj0
= 0 ;
4088 (char *) "self", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4102 wxPoint
* resultptr
;
4103 resultptr
= new wxPoint((wxPoint
&) result
);
4104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4112 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxRect
*arg1
= (wxRect
*) 0 ;
4117 PyObject
* obj0
= 0 ;
4118 PyObject
* obj1
= 0 ;
4120 (char *) "self",(char *) "p", NULL
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 Py_INCREF(Py_None
); resultobj
= Py_None
;
4144 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
;
4146 wxRect
*arg1
= (wxRect
*) 0 ;
4148 PyObject
* obj0
= 0 ;
4150 (char *) "self", NULL
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4164 wxPoint
* resultptr
;
4165 resultptr
= new wxPoint((wxPoint
&) result
);
4166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4174 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxRect
*arg1
= (wxRect
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4182 (char *) "self",(char *) "p", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 Py_INCREF(Py_None
); resultobj
= Py_None
;
4206 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxRect
*arg1
= (wxRect
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_From_int((int)result
);
4232 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxRect
*arg1
= (wxRect
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4238 (char *) "self", NULL
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (int)((wxRect
const *)arg1
)->GetTop();
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 resultobj
= SWIG_From_int((int)result
);
4258 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxRect
*arg1
= (wxRect
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4264 (char *) "self", NULL
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= SWIG_From_int((int)result
);
4284 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxRect
*arg1
= (wxRect
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4290 (char *) "self", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (int)((wxRect
const *)arg1
)->GetRight();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= SWIG_From_int((int)result
);
4310 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxRect
*arg1
= (wxRect
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4315 PyObject
* obj1
= 0 ;
4317 (char *) "self",(char *) "left", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4323 arg2
= (int)SWIG_As_int(obj1
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 (arg1
)->SetLeft(arg2
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 Py_INCREF(Py_None
); resultobj
= Py_None
;
4339 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxRect
*arg1
= (wxRect
*) 0 ;
4343 PyObject
* obj0
= 0 ;
4344 PyObject
* obj1
= 0 ;
4346 (char *) "self",(char *) "right", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4352 arg2
= (int)SWIG_As_int(obj1
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 (arg1
)->SetRight(arg2
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 Py_INCREF(Py_None
); resultobj
= Py_None
;
4368 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4370 wxRect
*arg1
= (wxRect
*) 0 ;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4375 (char *) "self",(char *) "top", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4381 arg2
= (int)SWIG_As_int(obj1
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 (arg1
)->SetTop(arg2
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 Py_INCREF(Py_None
); resultobj
= Py_None
;
4397 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxRect
*arg1
= (wxRect
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4404 (char *) "self",(char *) "bottom", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4410 arg2
= (int)SWIG_As_int(obj1
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 (arg1
)->SetBottom(arg2
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 Py_INCREF(Py_None
); resultobj
= Py_None
;
4426 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 wxRect
*arg1
= (wxRect
*) 0 ;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4434 PyObject
* obj2
= 0 ;
4436 (char *) "self",(char *) "dx",(char *) "dy", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4442 arg2
= (int)SWIG_As_int(obj1
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4444 arg3
= (int)SWIG_As_int(obj2
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4450 result
= (wxRect
*) &_result_ref
;
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4463 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxRect
*arg1
= (wxRect
*) 0 ;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4471 PyObject
* obj2
= 0 ;
4473 (char *) "self",(char *) "dx",(char *) "dy", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4479 arg2
= (int)SWIG_As_int(obj1
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4481 arg3
= (int)SWIG_As_int(obj2
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4487 result
= (wxRect
*) &_result_ref
;
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4500 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4502 wxRect
*arg1
= (wxRect
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4507 PyObject
* obj2
= 0 ;
4509 (char *) "self",(char *) "dx",(char *) "dy", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4515 arg2
= (int)SWIG_As_int(obj1
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4517 arg3
= (int)SWIG_As_int(obj2
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 (arg1
)->Offset(arg2
,arg3
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 Py_INCREF(Py_None
); resultobj
= Py_None
;
4533 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxRect
*arg1
= (wxRect
*) 0 ;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4541 (char *) "self",(char *) "pt", NULL
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 (arg1
)->Offset((wxPoint
const &)*arg2
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 Py_INCREF(Py_None
); resultobj
= Py_None
;
4565 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxRect
*arg1
= (wxRect
*) 0 ;
4571 PyObject
* obj0
= 0 ;
4572 PyObject
* obj1
= 0 ;
4574 (char *) "self",(char *) "rect", NULL
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4582 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4588 result
= (wxRect
*) &_result_ref
;
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4601 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxRect
*arg1
= (wxRect
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4610 (char *) "self",(char *) "rect", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4618 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4629 resultptr
= new wxRect((wxRect
&) result
);
4630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4638 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxRect
*arg1
= (wxRect
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4647 (char *) "self",(char *) "rect", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4652 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4655 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4661 result
= (wxRect
*) &_result_ref
;
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4674 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxRect
*arg1
= (wxRect
*) 0 ;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4683 (char *) "self",(char *) "rect", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4691 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4709 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxRect
*arg1
= (wxRect
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4718 (char *) "self",(char *) "rect", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4726 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4744 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxRect
*arg1
= (wxRect
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4752 PyObject
* obj2
= 0 ;
4754 (char *) "self",(char *) "x",(char *) "y", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4760 arg2
= (int)SWIG_As_int(obj1
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4762 arg3
= (int)SWIG_As_int(obj2
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4780 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxRect
*arg1
= (wxRect
*) 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4789 (char *) "self",(char *) "pt", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4815 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxRect
*arg1
= (wxRect
*) 0 ;
4821 PyObject
* obj0
= 0 ;
4822 PyObject
* obj1
= 0 ;
4824 (char *) "self",(char *) "rect", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4832 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4850 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 wxRect
*arg1
= (wxRect
*) 0 ;
4854 PyObject
* obj0
= 0 ;
4855 PyObject
* obj1
= 0 ;
4857 (char *) "self",(char *) "x", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4863 arg2
= (int)SWIG_As_int(obj1
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4865 if (arg1
) (arg1
)->x
= arg2
;
4867 Py_INCREF(Py_None
); resultobj
= Py_None
;
4874 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4876 wxRect
*arg1
= (wxRect
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4880 (char *) "self", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4886 result
= (int) ((arg1
)->x
);
4888 resultobj
= SWIG_From_int((int)result
);
4895 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxRect
*arg1
= (wxRect
*) 0 ;
4899 PyObject
* obj0
= 0 ;
4900 PyObject
* obj1
= 0 ;
4902 (char *) "self",(char *) "y", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4908 arg2
= (int)SWIG_As_int(obj1
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4910 if (arg1
) (arg1
)->y
= arg2
;
4912 Py_INCREF(Py_None
); resultobj
= Py_None
;
4919 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxRect
*arg1
= (wxRect
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4925 (char *) "self", NULL
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4931 result
= (int) ((arg1
)->y
);
4933 resultobj
= SWIG_From_int((int)result
);
4940 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxRect
*arg1
= (wxRect
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4947 (char *) "self",(char *) "width", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4953 arg2
= (int)SWIG_As_int(obj1
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4955 if (arg1
) (arg1
)->width
= arg2
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxRect
*arg1
= (wxRect
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 result
= (int) ((arg1
)->width
);
4978 resultobj
= SWIG_From_int((int)result
);
4985 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxRect
*arg1
= (wxRect
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4992 (char *) "self",(char *) "height", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4998 arg2
= (int)SWIG_As_int(obj1
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5000 if (arg1
) (arg1
)->height
= arg2
;
5002 Py_INCREF(Py_None
); resultobj
= Py_None
;
5009 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxRect
*arg1
= (wxRect
*) 0 ;
5013 PyObject
* obj0
= 0 ;
5015 (char *) "self", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
5019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5021 result
= (int) ((arg1
)->height
);
5023 resultobj
= SWIG_From_int((int)result
);
5030 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxRect
*arg1
= (wxRect
*) 0 ;
5033 int arg2
= (int) 0 ;
5034 int arg3
= (int) 0 ;
5035 int arg4
= (int) 0 ;
5036 int arg5
= (int) 0 ;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5039 PyObject
* obj2
= 0 ;
5040 PyObject
* obj3
= 0 ;
5041 PyObject
* obj4
= 0 ;
5043 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5050 arg2
= (int)SWIG_As_int(obj1
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5054 arg3
= (int)SWIG_As_int(obj2
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5058 arg4
= (int)SWIG_As_int(obj3
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5062 arg5
= (int)SWIG_As_int(obj4
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 Py_INCREF(Py_None
); resultobj
= Py_None
;
5079 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxRect
*arg1
= (wxRect
*) 0 ;
5083 PyObject
* obj0
= 0 ;
5085 (char *) "self", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= (PyObject
*)wxRect_Get(arg1
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5105 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5108 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5110 return Py_BuildValue((char *)"");
5112 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxRect
*arg1
= (wxRect
*) 0 ;
5115 wxRect
*arg2
= (wxRect
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5120 (char *) "r1",(char *) "r2", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5129 if (!wxPyCheckForApp()) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5143 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 double arg1
= (double) 0.0 ;
5146 double arg2
= (double) 0.0 ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5151 (char *) "x",(char *) "y", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5156 arg1
= (double)SWIG_As_double(obj0
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5160 arg2
= (double)SWIG_As_double(obj1
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5177 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxPoint2D
*arg1
= 0 ;
5182 PyObject
* obj0
= 0 ;
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5190 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5206 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5211 PyObject
* obj0
= 0 ;
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5219 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5235 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5238 int *arg2
= (int *) 0 ;
5239 int *arg3
= (int *) 0 ;
5244 PyObject
* obj0
= 0 ;
5246 (char *) "self", NULL
5249 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5250 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 Py_INCREF(Py_None
); resultobj
= Py_None
;
5262 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5263 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5264 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5265 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5272 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
;
5274 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5275 int *arg2
= (int *) 0 ;
5276 int *arg3
= (int *) 0 ;
5281 PyObject
* obj0
= 0 ;
5283 (char *) "self", NULL
5286 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5287 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 Py_INCREF(Py_None
); resultobj
= Py_None
;
5299 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5300 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5301 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5302 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5309 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5315 (char *) "self", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= SWIG_From_double((double)result
);
5335 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5339 PyObject
* obj0
= 0 ;
5341 (char *) "self", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= SWIG_From_double((double)result
);
5361 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5368 (char *) "self",(char *) "length", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 arg2
= (double)SWIG_As_double(obj1
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->SetVectorLength(arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 Py_INCREF(Py_None
); resultobj
= Py_None
;
5390 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5395 PyObject
* obj1
= 0 ;
5397 (char *) "self",(char *) "degrees", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5403 arg2
= (double)SWIG_As_double(obj1
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 (arg1
)->SetVectorAngle(arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 Py_INCREF(Py_None
); resultobj
= Py_None
;
5419 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5422 wxPoint2D
*arg2
= 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5428 (char *) "self",(char *) "pt", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= SWIG_From_double((double)result
);
5452 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5455 wxPoint2D
*arg2
= 0 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5461 (char *) "self",(char *) "pt", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5469 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= SWIG_From_double((double)result
);
5485 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5488 wxPoint2D
*arg2
= 0 ;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "vec", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5502 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= SWIG_From_double((double)result
);
5518 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5521 wxPoint2D
*arg2
= 0 ;
5524 PyObject
* obj0
= 0 ;
5525 PyObject
* obj1
= 0 ;
5527 (char *) "self",(char *) "vec", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5535 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_From_double((double)result
);
5551 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5557 (char *) "self", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= (arg1
)->operator -();
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5571 wxPoint2D
* resultptr
;
5572 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5581 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5584 wxPoint2D
*arg2
= 0 ;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5590 (char *) "self",(char *) "pt", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5595 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5598 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5604 result
= (wxPoint2D
*) &_result_ref
;
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5617 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
;
5619 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5620 wxPoint2D
*arg2
= 0 ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5626 (char *) "self",(char *) "pt", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5631 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5634 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5640 result
= (wxPoint2D
*) &_result_ref
;
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5653 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5656 wxPoint2D
*arg2
= 0 ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5662 (char *) "self",(char *) "pt", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5667 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5670 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5676 result
= (wxPoint2D
*) &_result_ref
;
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5689 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5692 wxPoint2D
*arg2
= 0 ;
5695 PyObject
* obj0
= 0 ;
5696 PyObject
* obj1
= 0 ;
5698 (char *) "self",(char *) "pt", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5703 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5706 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5712 result
= (wxPoint2D
*) &_result_ref
;
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5725 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5728 wxPoint2D
*arg2
= 0 ;
5731 PyObject
* obj0
= 0 ;
5732 PyObject
* obj1
= 0 ;
5734 (char *) "self",(char *) "pt", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5742 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5760 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
;
5762 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5763 wxPoint2D
*arg2
= 0 ;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5769 (char *) "self",(char *) "pt", NULL
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5777 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5795 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5802 (char *) "self",(char *) "m_x", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5808 arg2
= (double)SWIG_As_double(obj1
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5810 if (arg1
) (arg1
)->m_x
= arg2
;
5812 Py_INCREF(Py_None
); resultobj
= Py_None
;
5819 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5823 PyObject
* obj0
= 0 ;
5825 (char *) "self", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 result
= (double) ((arg1
)->m_x
);
5833 resultobj
= SWIG_From_double((double)result
);
5840 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5847 (char *) "self",(char *) "m_y", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 arg2
= (double)SWIG_As_double(obj1
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5855 if (arg1
) (arg1
)->m_y
= arg2
;
5857 Py_INCREF(Py_None
); resultobj
= Py_None
;
5864 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5870 (char *) "self", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 result
= (double) ((arg1
)->m_y
);
5878 resultobj
= SWIG_From_double((double)result
);
5885 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5888 double arg2
= (double) 0 ;
5889 double arg3
= (double) 0 ;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5892 PyObject
* obj2
= 0 ;
5894 (char *) "self",(char *) "x",(char *) "y", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5901 arg2
= (double)SWIG_As_double(obj1
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5905 arg3
= (double)SWIG_As_double(obj2
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 wxPoint2D_Set(arg1
,arg2
,arg3
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5922 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5928 (char *) "self", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5948 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5951 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5953 return Py_BuildValue((char *)"");
5955 static int _wrap_DefaultPosition_set(PyObject
*) {
5956 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5961 static PyObject
*_wrap_DefaultPosition_get() {
5964 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5969 static int _wrap_DefaultSize_set(PyObject
*) {
5970 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5975 static PyObject
*_wrap_DefaultSize_get() {
5978 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5983 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 PyObject
*arg1
= (PyObject
*) 0 ;
5986 wxPyInputStream
*result
;
5987 PyObject
* obj0
= 0 ;
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
6008 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6013 (char *) "self", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 Py_INCREF(Py_None
); resultobj
= Py_None
;
6033 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6038 (char *) "self", NULL
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
6042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 Py_INCREF(Py_None
); resultobj
= Py_None
;
6058 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6063 (char *) "self", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 Py_INCREF(Py_None
); resultobj
= Py_None
;
6083 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6087 PyObject
* obj0
= 0 ;
6089 (char *) "self", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (bool)(arg1
)->eof();
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6111 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
;
6113 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6114 int arg2
= (int) -1 ;
6116 PyObject
* obj0
= 0 ;
6117 PyObject
* obj1
= 0 ;
6119 (char *) "self",(char *) "size", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6126 arg2
= (int)SWIG_As_int(obj1
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (PyObject
*)(arg1
)->read(arg2
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6143 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6146 int arg2
= (int) -1 ;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6151 (char *) "self",(char *) "size", NULL
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6158 arg2
= (int)SWIG_As_int(obj1
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 result
= (PyObject
*)(arg1
)->readline(arg2
);
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6175 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
;
6177 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6178 int arg2
= (int) -1 ;
6180 PyObject
* obj0
= 0 ;
6181 PyObject
* obj1
= 0 ;
6183 (char *) "self",(char *) "sizehint", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6190 arg2
= (int)SWIG_As_int(obj1
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6207 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6211 int arg3
= (int) 0 ;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6214 PyObject
* obj2
= 0 ;
6216 (char *) "self",(char *) "offset",(char *) "whence", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6222 arg2
= (int)SWIG_As_int(obj1
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 arg3
= (int)SWIG_As_int(obj2
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 (arg1
)->seek(arg2
,arg3
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6235 Py_INCREF(Py_None
); resultobj
= Py_None
;
6242 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
*resultobj
;
6244 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6246 PyObject
* obj0
= 0 ;
6248 (char *) "self", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (int)(arg1
)->tell();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_From_int((int)result
);
6268 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (char)(arg1
)->Peek();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= SWIG_From_char((char)result
);
6294 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6300 (char *) "self", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (char)(arg1
)->GetC();
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= SWIG_From_char((char)result
);
6320 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6324 PyObject
* obj0
= 0 ;
6326 (char *) "self", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (size_t)(arg1
)->LastRead();
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6346 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
;
6348 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6350 PyObject
* obj0
= 0 ;
6352 (char *) "self", NULL
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 result
= (bool)(arg1
)->CanRead();
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6374 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6380 (char *) "self", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= (bool)(arg1
)->Eof();
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6402 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6404 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6410 (char *) "self",(char *) "c", NULL
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6416 arg2
= (char)SWIG_As_char(obj1
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (bool)(arg1
)->Ungetch(arg2
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6434 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6438 int arg3
= (int) wxFromStart
;
6440 PyObject
* obj0
= 0 ;
6441 PyObject
* obj1
= 0 ;
6442 PyObject
* obj2
= 0 ;
6444 (char *) "self",(char *) "pos",(char *) "mode", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 arg2
= (long)SWIG_As_long(obj1
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 arg3
= (int)SWIG_As_int(obj2
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= SWIG_From_long((long)result
);
6470 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
;
6472 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6474 PyObject
* obj0
= 0 ;
6476 (char *) "self", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (long)(arg1
)->TellI();
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_From_long((long)result
);
6496 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6499 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6501 return Py_BuildValue((char *)"");
6503 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6506 PyObject
*arg2
= (PyObject
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6510 (char *) "self",(char *) "obj", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 wxOutputStream_write(arg1
,arg2
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 Py_INCREF(Py_None
); resultobj
= Py_None
;
6531 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6534 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6536 return Py_BuildValue((char *)"");
6538 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6541 wxString
*arg2
= 0 ;
6542 wxString
*arg3
= 0 ;
6543 wxString
*arg4
= 0 ;
6546 wxPyInputStream
*temp1
;
6548 bool temp2
= false ;
6549 bool temp3
= false ;
6550 bool temp4
= false ;
6552 PyObject
* obj0
= 0 ;
6553 PyObject
* obj1
= 0 ;
6554 PyObject
* obj2
= 0 ;
6555 PyObject
* obj3
= 0 ;
6556 PyObject
* obj4
= 0 ;
6558 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6563 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6564 arg1
= temp1
->m_wxis
;
6567 PyErr_Clear(); // clear the failure of the wxPyConvert above
6568 arg1
= wxPyCBInputStream_create(obj0
, false);
6570 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6577 arg2
= wxString_in_helper(obj1
);
6578 if (arg2
== NULL
) SWIG_fail
;
6582 arg3
= wxString_in_helper(obj2
);
6583 if (arg3
== NULL
) SWIG_fail
;
6587 arg4
= wxString_in_helper(obj3
);
6588 if (arg4
== NULL
) SWIG_fail
;
6591 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6592 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= wxPyMake_wxObject(result
, 1);
6642 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6645 PyObject
* obj0
= 0 ;
6647 (char *) "self", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 Py_INCREF(Py_None
); resultobj
= Py_None
;
6667 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6670 wxInputStream
*result
;
6671 PyObject
* obj0
= 0 ;
6673 (char *) "self", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (wxInputStream
*)(arg1
)->GetStream();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6687 wxPyInputStream
* _ptr
= NULL
;
6690 _ptr
= new wxPyInputStream(result
);
6692 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
6700 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6706 (char *) "self", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6716 result
= (wxString
*) &_result_ref
;
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6724 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6726 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6735 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
;
6737 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6739 PyObject
* obj0
= 0 ;
6741 (char *) "self", NULL
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 wxString
const &_result_ref
= (arg1
)->GetLocation();
6751 result
= (wxString
*) &_result_ref
;
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6759 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6761 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6770 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
;
6772 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6776 (char *) "self", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6786 result
= (wxString
*) &_result_ref
;
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6796 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6805 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6809 PyObject
* obj0
= 0 ;
6811 (char *) "self", NULL
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (arg1
)->GetModificationTime();
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 wxDateTime
* resultptr
;
6826 resultptr
= new wxDateTime((wxDateTime
&) result
);
6827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6835 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6838 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6840 return Py_BuildValue((char *)"");
6842 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6845 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6847 return Py_BuildValue((char *)"");
6849 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxPyFileSystemHandler
*result
;
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6871 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
;
6873 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6874 PyObject
*arg2
= (PyObject
*) 0 ;
6875 PyObject
*arg3
= (PyObject
*) 0 ;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6878 PyObject
* obj2
= 0 ;
6880 (char *) "self",(char *) "self",(char *) "_class", NULL
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 Py_INCREF(Py_None
); resultobj
= Py_None
;
6902 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6905 wxString
*arg2
= 0 ;
6907 bool temp2
= false ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6911 (char *) "self",(char *) "location", NULL
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6918 arg2
= wxString_in_helper(obj1
);
6919 if (arg2
== NULL
) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6946 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6949 wxFileSystem
*arg2
= 0 ;
6950 wxString
*arg3
= 0 ;
6952 bool temp3
= false ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6955 PyObject
* obj2
= 0 ;
6957 (char *) "self",(char *) "fs",(char *) "location", NULL
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6967 PyErr_SetString(PyExc_TypeError
,"null reference");
6971 arg3
= wxString_in_helper(obj2
);
6972 if (arg3
== NULL
) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= wxPyMake_wxObject(result
, 1);
6999 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7002 wxString
*arg2
= 0 ;
7003 int arg3
= (int) 0 ;
7005 bool temp2
= false ;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7008 PyObject
* obj2
= 0 ;
7010 (char *) "self",(char *) "spec",(char *) "flags", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7017 arg2
= wxString_in_helper(obj1
);
7018 if (arg2
== NULL
) SWIG_fail
;
7022 arg3
= (int)SWIG_As_int(obj2
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7053 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7057 PyObject
* obj0
= 0 ;
7059 (char *) "self", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 result
= (arg1
)->FindNext();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7085 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7088 wxString
*arg2
= 0 ;
7090 bool temp2
= false ;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7094 (char *) "self",(char *) "location", NULL
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7101 arg2
= wxString_in_helper(obj1
);
7102 if (arg2
== NULL
) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7133 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7136 wxString
*arg2
= 0 ;
7138 bool temp2
= false ;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7142 (char *) "self",(char *) "location", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7149 arg2
= wxString_in_helper(obj1
);
7150 if (arg2
== NULL
) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7181 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7184 wxString
*arg2
= 0 ;
7186 bool temp2
= false ;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7190 (char *) "self",(char *) "location", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7197 arg2
= wxString_in_helper(obj1
);
7198 if (arg2
== NULL
) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7229 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7232 wxString
*arg2
= 0 ;
7234 bool temp2
= false ;
7235 PyObject
* obj0
= 0 ;
7236 PyObject
* obj1
= 0 ;
7238 (char *) "self",(char *) "location", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7245 arg2
= wxString_in_helper(obj1
);
7246 if (arg2
== NULL
) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7277 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7280 wxString
*arg2
= 0 ;
7282 bool temp2
= false ;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7286 (char *) "self",(char *) "location", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7293 arg2
= wxString_in_helper(obj1
);
7294 if (arg2
== NULL
) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7325 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7328 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7330 return Py_BuildValue((char *)"");
7332 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxFileSystem
*result
;
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= (wxFileSystem
*)new wxFileSystem();
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7348 resultobj
= wxPyMake_wxObject(result
, 1);
7356 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7361 (char *) "self", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 Py_INCREF(Py_None
); resultobj
= Py_None
;
7381 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7384 wxString
*arg2
= 0 ;
7385 bool arg3
= (bool) false ;
7386 bool temp2
= false ;
7387 PyObject
* obj0
= 0 ;
7388 PyObject
* obj1
= 0 ;
7389 PyObject
* obj2
= 0 ;
7391 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7398 arg2
= wxString_in_helper(obj1
);
7399 if (arg2
== NULL
) SWIG_fail
;
7403 arg3
= (bool)SWIG_As_bool(obj2
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 Py_INCREF(Py_None
); resultobj
= Py_None
;
7428 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7432 PyObject
* obj0
= 0 ;
7434 (char *) "self", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 result
= (arg1
)->GetPath();
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7460 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7463 wxString
*arg2
= 0 ;
7465 bool temp2
= false ;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7469 (char *) "self",(char *) "location", NULL
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7476 arg2
= wxString_in_helper(obj1
);
7477 if (arg2
== NULL
) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= wxPyMake_wxObject(result
, 1);
7504 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7507 wxString
*arg2
= 0 ;
7508 int arg3
= (int) 0 ;
7510 bool temp2
= false ;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7513 PyObject
* obj2
= 0 ;
7515 (char *) "self",(char *) "spec",(char *) "flags", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7522 arg2
= wxString_in_helper(obj1
);
7523 if (arg2
== NULL
) SWIG_fail
;
7527 arg3
= (int)SWIG_As_int(obj2
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7558 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7562 PyObject
* obj0
= 0 ;
7564 (char *) "self", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (arg1
)->FindNext();
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7590 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7593 PyObject
* obj0
= 0 ;
7595 (char *) "handler", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 wxFileSystem::AddHandler(arg1
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 Py_INCREF(Py_None
); resultobj
= Py_None
;
7615 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 wxFileSystem::CleanUpHandlers();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 Py_INCREF(Py_None
); resultobj
= Py_None
;
7636 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxString
*arg1
= 0 ;
7640 bool temp1
= false ;
7641 PyObject
* obj0
= 0 ;
7643 (char *) "filename", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7648 arg1
= wxString_in_helper(obj0
);
7649 if (arg1
== NULL
) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7680 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7682 wxString
*arg1
= 0 ;
7684 bool temp1
= false ;
7685 PyObject
* obj0
= 0 ;
7687 (char *) "url", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7692 arg1
= wxString_in_helper(obj0
);
7693 if (arg1
== NULL
) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7724 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7727 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7729 return Py_BuildValue((char *)"");
7731 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxInternetFSHandler
*result
;
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7753 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7756 wxString
*arg2
= 0 ;
7758 bool temp2
= false ;
7759 PyObject
* obj0
= 0 ;
7760 PyObject
* obj1
= 0 ;
7762 (char *) "self",(char *) "location", NULL
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7769 arg2
= wxString_in_helper(obj1
);
7770 if (arg2
== NULL
) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7797 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7800 wxFileSystem
*arg2
= 0 ;
7801 wxString
*arg3
= 0 ;
7803 bool temp3
= false ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7806 PyObject
* obj2
= 0 ;
7808 (char *) "self",(char *) "fs",(char *) "location", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7818 PyErr_SetString(PyExc_TypeError
,"null reference");
7822 arg3
= wxString_in_helper(obj2
);
7823 if (arg3
== NULL
) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= wxPyMake_wxObject(result
, 1);
7850 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7853 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7855 return Py_BuildValue((char *)"");
7857 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxZipFSHandler
*result
;
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7879 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7882 wxString
*arg2
= 0 ;
7884 bool temp2
= false ;
7885 PyObject
* obj0
= 0 ;
7886 PyObject
* obj1
= 0 ;
7888 (char *) "self",(char *) "location", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 arg2
= wxString_in_helper(obj1
);
7896 if (arg2
== NULL
) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7923 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7926 wxFileSystem
*arg2
= 0 ;
7927 wxString
*arg3
= 0 ;
7929 bool temp3
= false ;
7930 PyObject
* obj0
= 0 ;
7931 PyObject
* obj1
= 0 ;
7932 PyObject
* obj2
= 0 ;
7934 (char *) "self",(char *) "fs",(char *) "location", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7944 PyErr_SetString(PyExc_TypeError
,"null reference");
7948 arg3
= wxString_in_helper(obj2
);
7949 if (arg3
== NULL
) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= wxPyMake_wxObject(result
, 1);
7976 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7979 wxString
*arg2
= 0 ;
7980 int arg3
= (int) 0 ;
7982 bool temp2
= false ;
7983 PyObject
* obj0
= 0 ;
7984 PyObject
* obj1
= 0 ;
7985 PyObject
* obj2
= 0 ;
7987 (char *) "self",(char *) "spec",(char *) "flags", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7994 arg2
= wxString_in_helper(obj1
);
7995 if (arg2
== NULL
) SWIG_fail
;
7999 arg3
= (int)SWIG_As_int(obj2
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8030 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8036 (char *) "self", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (arg1
)->FindNext();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8062 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8065 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
8067 return Py_BuildValue((char *)"");
8069 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxString
*arg1
= 0 ;
8074 bool temp1
= false ;
8075 PyObject
* obj0
= 0 ;
8076 PyObject
* obj1
= 0 ;
8077 PyObject
* obj2
= 0 ;
8079 (char *) "filename",(char *) "image",(char *) "type", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8084 arg1
= wxString_in_helper(obj0
);
8085 if (arg1
== NULL
) SWIG_fail
;
8088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8092 PyErr_SetString(PyExc_TypeError
,"null reference");
8095 arg3
= (long)SWIG_As_long(obj2
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8119 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxString
*arg1
= 0 ;
8122 wxBitmap
*arg2
= 0 ;
8124 bool temp1
= false ;
8125 PyObject
* obj0
= 0 ;
8126 PyObject
* obj1
= 0 ;
8127 PyObject
* obj2
= 0 ;
8129 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8134 arg1
= wxString_in_helper(obj0
);
8135 if (arg1
== NULL
) SWIG_fail
;
8138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8142 PyErr_SetString(PyExc_TypeError
,"null reference");
8145 arg3
= (long)SWIG_As_long(obj2
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 Py_INCREF(Py_None
); resultobj
= Py_None
;
8169 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxString
*arg1
= 0 ;
8172 PyObject
*arg2
= (PyObject
*) 0 ;
8173 bool temp1
= false ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8177 (char *) "filename",(char *) "data", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8182 arg1
= wxString_in_helper(obj0
);
8183 if (arg1
== NULL
) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 Py_INCREF(Py_None
); resultobj
= Py_None
;
8209 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxMemoryFSHandler
*result
;
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8231 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxString
*arg1
= 0 ;
8234 bool temp1
= false ;
8235 PyObject
* obj0
= 0 ;
8237 (char *) "filename", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8242 arg1
= wxString_in_helper(obj0
);
8243 if (arg1
== NULL
) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 Py_INCREF(Py_None
); resultobj
= Py_None
;
8268 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8271 wxString
*arg2
= 0 ;
8273 bool temp2
= false ;
8274 PyObject
* obj0
= 0 ;
8275 PyObject
* obj1
= 0 ;
8277 (char *) "self",(char *) "location", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8284 arg2
= wxString_in_helper(obj1
);
8285 if (arg2
== NULL
) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8312 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8315 wxFileSystem
*arg2
= 0 ;
8316 wxString
*arg3
= 0 ;
8318 bool temp3
= false ;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8321 PyObject
* obj2
= 0 ;
8323 (char *) "self",(char *) "fs",(char *) "location", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8333 PyErr_SetString(PyExc_TypeError
,"null reference");
8337 arg3
= wxString_in_helper(obj2
);
8338 if (arg3
== NULL
) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= wxPyMake_wxObject(result
, 1);
8365 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8368 wxString
*arg2
= 0 ;
8369 int arg3
= (int) 0 ;
8371 bool temp2
= false ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8374 PyObject
* obj2
= 0 ;
8376 (char *) "self",(char *) "spec",(char *) "flags", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 arg2
= wxString_in_helper(obj1
);
8384 if (arg2
== NULL
) SWIG_fail
;
8388 arg3
= (int)SWIG_As_int(obj2
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8419 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8423 PyObject
* obj0
= 0 ;
8425 (char *) "self", NULL
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 result
= (arg1
)->FindNext();
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8451 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8454 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8456 return Py_BuildValue((char *)"");
8458 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "self", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (arg1
)->GetName();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8490 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8494 PyObject
* obj0
= 0 ;
8496 (char *) "self", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= (arg1
)->GetExtension();
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8522 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
;
8524 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8528 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 result
= (long)(arg1
)->GetType();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_From_long((long)result
);
8548 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (arg1
)->GetMimeType();
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8580 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8583 wxString
*arg2
= 0 ;
8585 bool temp2
= false ;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8589 (char *) "self",(char *) "name", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8596 arg2
= wxString_in_helper(obj1
);
8597 if (arg2
== NULL
) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8624 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8627 wxString
*arg2
= 0 ;
8628 bool temp2
= false ;
8629 PyObject
* obj0
= 0 ;
8630 PyObject
* obj1
= 0 ;
8632 (char *) "self",(char *) "name", NULL
8635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8639 arg2
= wxString_in_helper(obj1
);
8640 if (arg2
== NULL
) SWIG_fail
;
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 (arg1
)->SetName((wxString
const &)*arg2
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 Py_INCREF(Py_None
); resultobj
= Py_None
;
8665 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8668 wxString
*arg2
= 0 ;
8669 bool temp2
= false ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8673 (char *) "self",(char *) "extension", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8680 arg2
= wxString_in_helper(obj1
);
8681 if (arg2
== NULL
) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 (arg1
)->SetExtension((wxString
const &)*arg2
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 Py_INCREF(Py_None
); resultobj
= Py_None
;
8706 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8708 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8713 (char *) "self",(char *) "type", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8719 arg2
= (long)SWIG_As_long(obj1
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 (arg1
)->SetType(arg2
);
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 Py_INCREF(Py_None
); resultobj
= Py_None
;
8735 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
;
8737 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8738 wxString
*arg2
= 0 ;
8739 bool temp2
= false ;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8743 (char *) "self",(char *) "mimetype", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8750 arg2
= wxString_in_helper(obj1
);
8751 if (arg2
== NULL
) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 Py_INCREF(Py_None
); resultobj
= Py_None
;
8776 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8779 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8781 return Py_BuildValue((char *)"");
8783 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxImageHistogram
*result
;
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 result
= (wxImageHistogram
*)new wxImageHistogram();
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8805 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 unsigned char arg1
;
8808 unsigned char arg2
;
8809 unsigned char arg3
;
8810 unsigned long result
;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8815 (char *) "r",(char *) "g",(char *) "b", NULL
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8819 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8821 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8823 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8839 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8842 unsigned char *arg2
= (unsigned char *) 0 ;
8843 unsigned char *arg3
= (unsigned char *) 0 ;
8844 unsigned char *arg4
= (unsigned char *) 0 ;
8845 unsigned char arg5
= (unsigned char) 1 ;
8846 unsigned char arg6
= (unsigned char) 0 ;
8847 unsigned char arg7
= (unsigned char) 0 ;
8849 unsigned char temp2
;
8851 unsigned char temp3
;
8853 unsigned char temp4
;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8857 PyObject
* obj2
= 0 ;
8858 PyObject
* obj3
= 0 ;
8860 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8863 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8864 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8865 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8870 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8874 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8878 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8891 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8892 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8893 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8894 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8895 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8896 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8903 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8906 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8908 return Py_BuildValue((char *)"");
8910 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxString
*arg1
= 0 ;
8913 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8914 int arg3
= (int) -1 ;
8916 bool temp1
= false ;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8919 PyObject
* obj2
= 0 ;
8921 (char *) "name",(char *) "type",(char *) "index", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8926 arg1
= wxString_in_helper(obj0
);
8927 if (arg1
== NULL
) SWIG_fail
;
8931 arg2
= (long)SWIG_As_long(obj1
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8935 arg3
= (int)SWIG_As_int(obj2
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8960 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
;
8962 wxImage
*arg1
= (wxImage
*) 0 ;
8963 PyObject
* obj0
= 0 ;
8965 (char *) "self", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 Py_INCREF(Py_None
); resultobj
= Py_None
;
8985 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
;
8987 wxString
*arg1
= 0 ;
8988 wxString
*arg2
= 0 ;
8989 int arg3
= (int) -1 ;
8991 bool temp1
= false ;
8992 bool temp2
= false ;
8993 PyObject
* obj0
= 0 ;
8994 PyObject
* obj1
= 0 ;
8995 PyObject
* obj2
= 0 ;
8997 (char *) "name",(char *) "mimetype",(char *) "index", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9002 arg1
= wxString_in_helper(obj0
);
9003 if (arg1
== NULL
) SWIG_fail
;
9007 arg2
= wxString_in_helper(obj1
);
9008 if (arg2
== NULL
) SWIG_fail
;
9012 arg3
= (int)SWIG_As_int(obj2
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9045 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxInputStream
*arg1
= 0 ;
9048 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9049 int arg3
= (int) -1 ;
9051 wxPyInputStream
*temp1
;
9053 PyObject
* obj0
= 0 ;
9054 PyObject
* obj1
= 0 ;
9055 PyObject
* obj2
= 0 ;
9057 (char *) "stream",(char *) "type",(char *) "index", NULL
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9062 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9063 arg1
= temp1
->m_wxis
;
9066 PyErr_Clear(); // clear the failure of the wxPyConvert above
9067 arg1
= wxPyCBInputStream_create(obj0
, false);
9069 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9076 arg2
= (long)SWIG_As_long(obj1
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9080 arg3
= (int)SWIG_As_int(obj2
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9105 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
;
9107 wxInputStream
*arg1
= 0 ;
9108 wxString
*arg2
= 0 ;
9109 int arg3
= (int) -1 ;
9111 wxPyInputStream
*temp1
;
9113 bool temp2
= false ;
9114 PyObject
* obj0
= 0 ;
9115 PyObject
* obj1
= 0 ;
9116 PyObject
* obj2
= 0 ;
9118 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9123 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9124 arg1
= temp1
->m_wxis
;
9127 PyErr_Clear(); // clear the failure of the wxPyConvert above
9128 arg1
= wxPyCBInputStream_create(obj0
, false);
9130 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9137 arg2
= wxString_in_helper(obj1
);
9138 if (arg2
== NULL
) SWIG_fail
;
9142 arg3
= (int)SWIG_As_int(obj2
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9175 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 int arg1
= (int) 0 ;
9178 int arg2
= (int) 0 ;
9179 bool arg3
= (bool) true ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9183 PyObject
* obj2
= 0 ;
9185 (char *) "width",(char *) "height",(char *) "clear", NULL
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9190 arg1
= (int)SWIG_As_int(obj0
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9194 arg2
= (int)SWIG_As_int(obj1
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 arg3
= (bool)SWIG_As_bool(obj2
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9215 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxBitmap
*arg1
= 0 ;
9219 PyObject
* obj0
= 0 ;
9221 (char *) "bitmap", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9229 PyErr_SetString(PyExc_TypeError
,"null reference");
9233 if (!wxPyCheckForApp()) SWIG_fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9247 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9251 unsigned char *arg3
= (unsigned char *) 0 ;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9255 PyObject
* obj2
= 0 ;
9257 (char *) "width",(char *) "height",(char *) "data", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9261 arg1
= (int)SWIG_As_int(obj0
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9263 arg2
= (int)SWIG_As_int(obj1
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9265 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9281 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxImage
*arg1
= (wxImage
*) 0 ;
9286 PyObject
* obj0
= 0 ;
9287 PyObject
* obj1
= 0 ;
9288 PyObject
* obj2
= 0 ;
9290 (char *) "self",(char *) "width",(char *) "height", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9296 arg2
= (int)SWIG_As_int(obj1
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9298 arg3
= (int)SWIG_As_int(obj2
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 (arg1
)->Create(arg2
,arg3
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 Py_INCREF(Py_None
); resultobj
= Py_None
;
9314 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxImage
*arg1
= (wxImage
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9319 (char *) "self", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 Py_INCREF(Py_None
); resultobj
= Py_None
;
9339 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxImage
*arg1
= (wxImage
*) 0 ;
9344 SwigValueWrapper
< wxImage
> result
;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9347 PyObject
* obj2
= 0 ;
9349 (char *) "self",(char *) "width",(char *) "height", NULL
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9355 arg2
= (int)SWIG_As_int(obj1
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9357 arg3
= (int)SWIG_As_int(obj2
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (arg1
)->Scale(arg2
,arg3
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 wxImage
* resultptr
;
9368 resultptr
= new wxImage((wxImage
&) result
);
9369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9377 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxImage
*arg1
= (wxImage
*) 0 ;
9382 SwigValueWrapper
< wxImage
> result
;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9385 PyObject
* obj2
= 0 ;
9387 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9393 arg2
= (int)SWIG_As_int(obj1
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9395 arg3
= (int)SWIG_As_int(obj2
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9405 wxImage
* resultptr
;
9406 resultptr
= new wxImage((wxImage
&) result
);
9407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9415 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
;
9417 wxImage
*arg1
= (wxImage
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9422 PyObject
* obj1
= 0 ;
9423 PyObject
* obj2
= 0 ;
9425 (char *) "self",(char *) "width",(char *) "height", NULL
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9431 arg2
= (int)SWIG_As_int(obj1
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9433 arg3
= (int)SWIG_As_int(obj2
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9439 result
= (wxImage
*) &_result_ref
;
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9452 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 wxImage
*arg1
= (wxImage
*) 0 ;
9457 unsigned char arg4
;
9458 unsigned char arg5
;
9459 unsigned char arg6
;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9462 PyObject
* obj2
= 0 ;
9463 PyObject
* obj3
= 0 ;
9464 PyObject
* obj4
= 0 ;
9465 PyObject
* obj5
= 0 ;
9467 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9473 arg2
= (int)SWIG_As_int(obj1
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9475 arg3
= (int)SWIG_As_int(obj2
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9477 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9479 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9481 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 Py_INCREF(Py_None
); resultobj
= Py_None
;
9497 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxImage
*arg1
= (wxImage
*) 0 ;
9502 unsigned char result
;
9503 PyObject
* obj0
= 0 ;
9504 PyObject
* obj1
= 0 ;
9505 PyObject
* obj2
= 0 ;
9507 (char *) "self",(char *) "x",(char *) "y", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9513 arg2
= (int)SWIG_As_int(obj1
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9515 arg3
= (int)SWIG_As_int(obj2
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9531 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxImage
*arg1
= (wxImage
*) 0 ;
9536 unsigned char result
;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9539 PyObject
* obj2
= 0 ;
9541 (char *) "self",(char *) "x",(char *) "y", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9547 arg2
= (int)SWIG_As_int(obj1
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9549 arg3
= (int)SWIG_As_int(obj2
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9565 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxImage
*arg1
= (wxImage
*) 0 ;
9570 unsigned char result
;
9571 PyObject
* obj0
= 0 ;
9572 PyObject
* obj1
= 0 ;
9573 PyObject
* obj2
= 0 ;
9575 (char *) "self",(char *) "x",(char *) "y", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9581 arg2
= (int)SWIG_As_int(obj1
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9583 arg3
= (int)SWIG_As_int(obj2
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9599 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxImage
*arg1
= (wxImage
*) 0 ;
9604 unsigned char arg4
;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9607 PyObject
* obj2
= 0 ;
9608 PyObject
* obj3
= 0 ;
9610 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 arg2
= (int)SWIG_As_int(obj1
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9618 arg3
= (int)SWIG_As_int(obj2
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9620 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 Py_INCREF(Py_None
); resultobj
= Py_None
;
9636 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxImage
*arg1
= (wxImage
*) 0 ;
9641 unsigned char result
;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9644 PyObject
* obj2
= 0 ;
9646 (char *) "self",(char *) "x",(char *) "y", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9652 arg2
= (int)SWIG_As_int(obj1
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9654 arg3
= (int)SWIG_As_int(obj2
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9670 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxImage
*arg1
= (wxImage
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9676 (char *) "self", NULL
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (bool)(arg1
)->HasAlpha();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9698 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
;
9700 wxImage
*arg1
= (wxImage
*) 0 ;
9701 byte
*arg2
= (byte
*) 0 ;
9702 byte
*arg3
= (byte
*) 0 ;
9703 byte
*arg4
= (byte
*) 0 ;
9704 byte arg5
= (byte
) 0 ;
9705 byte arg6
= (byte
) 0 ;
9706 byte arg7
= (byte
) 0 ;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9716 PyObject
* obj2
= 0 ;
9717 PyObject
* obj3
= 0 ;
9719 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9722 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9723 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9724 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9729 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9733 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9737 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9750 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9751 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9752 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9753 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9754 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9755 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9762 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxImage
*arg1
= (wxImage
*) 0 ;
9765 byte arg2
= (byte
) 128 ;
9767 PyObject
* obj0
= 0 ;
9768 PyObject
* obj1
= 0 ;
9770 (char *) "self",(char *) "threshold", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9777 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9796 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxImage
*arg1
= (wxImage
*) 0 ;
9799 unsigned char arg2
;
9800 unsigned char arg3
;
9801 unsigned char arg4
;
9803 PyObject
* obj0
= 0 ;
9804 PyObject
* obj1
= 0 ;
9805 PyObject
* obj2
= 0 ;
9806 PyObject
* obj3
= 0 ;
9808 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9814 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9816 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9818 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9836 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
;
9838 wxImage
*arg1
= (wxImage
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9845 PyObject
* obj1
= 0 ;
9846 PyObject
* obj2
= 0 ;
9847 PyObject
* obj3
= 0 ;
9848 PyObject
* obj4
= 0 ;
9850 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9860 PyErr_SetString(PyExc_TypeError
,"null reference");
9863 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9865 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9867 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9885 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxString
*arg1
= 0 ;
9889 bool temp1
= false ;
9890 PyObject
* obj0
= 0 ;
9892 (char *) "name", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9897 arg1
= wxString_in_helper(obj0
);
9898 if (arg1
== NULL
) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9925 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxString
*arg1
= 0 ;
9928 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9930 bool temp1
= false ;
9931 PyObject
* obj0
= 0 ;
9932 PyObject
* obj1
= 0 ;
9934 (char *) "name",(char *) "type", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9939 arg1
= wxString_in_helper(obj0
);
9940 if (arg1
== NULL
) SWIG_fail
;
9944 arg2
= (long)SWIG_As_long(obj1
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= SWIG_From_int((int)result
);
9969 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxImage
*arg1
= (wxImage
*) 0 ;
9972 wxString
*arg2
= 0 ;
9973 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9974 int arg4
= (int) -1 ;
9976 bool temp2
= false ;
9977 PyObject
* obj0
= 0 ;
9978 PyObject
* obj1
= 0 ;
9979 PyObject
* obj2
= 0 ;
9980 PyObject
* obj3
= 0 ;
9982 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9989 arg2
= wxString_in_helper(obj1
);
9990 if (arg2
== NULL
) SWIG_fail
;
9994 arg3
= (long)SWIG_As_long(obj2
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9998 arg4
= (int)SWIG_As_int(obj3
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10025 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxImage
*arg1
= (wxImage
*) 0 ;
10028 wxString
*arg2
= 0 ;
10029 wxString
*arg3
= 0 ;
10030 int arg4
= (int) -1 ;
10032 bool temp2
= false ;
10033 bool temp3
= false ;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 PyObject
* obj2
= 0 ;
10037 PyObject
* obj3
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10046 arg2
= wxString_in_helper(obj1
);
10047 if (arg2
== NULL
) SWIG_fail
;
10051 arg3
= wxString_in_helper(obj2
);
10052 if (arg3
== NULL
) SWIG_fail
;
10056 arg4
= (int)SWIG_As_int(obj3
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10091 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxImage
*arg1
= (wxImage
*) 0 ;
10094 wxString
*arg2
= 0 ;
10097 bool temp2
= false ;
10098 PyObject
* obj0
= 0 ;
10099 PyObject
* obj1
= 0 ;
10100 PyObject
* obj2
= 0 ;
10101 char *kwnames
[] = {
10102 (char *) "self",(char *) "name",(char *) "type", NULL
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10109 arg2
= wxString_in_helper(obj1
);
10110 if (arg2
== NULL
) SWIG_fail
;
10113 arg3
= (int)SWIG_As_int(obj2
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10139 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
*resultobj
;
10141 wxImage
*arg1
= (wxImage
*) 0 ;
10142 wxString
*arg2
= 0 ;
10143 wxString
*arg3
= 0 ;
10145 bool temp2
= false ;
10146 bool temp3
= false ;
10147 PyObject
* obj0
= 0 ;
10148 PyObject
* obj1
= 0 ;
10149 PyObject
* obj2
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10158 arg2
= wxString_in_helper(obj1
);
10159 if (arg2
== NULL
) SWIG_fail
;
10163 arg3
= wxString_in_helper(obj2
);
10164 if (arg3
== NULL
) SWIG_fail
;
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10199 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
;
10201 wxInputStream
*arg1
= 0 ;
10203 wxPyInputStream
*temp1
;
10205 PyObject
* obj0
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "stream", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10212 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10213 arg1
= temp1
->m_wxis
;
10216 PyErr_Clear(); // clear the failure of the wxPyConvert above
10217 arg1
= wxPyCBInputStream_create(obj0
, false);
10218 if (arg1
== NULL
) {
10219 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (bool)wxImage::CanRead(*arg1
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10249 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxImage
*arg1
= (wxImage
*) 0 ;
10252 wxInputStream
*arg2
= 0 ;
10253 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10254 int arg4
= (int) -1 ;
10256 wxPyInputStream
*temp2
;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 PyObject
* obj2
= 0 ;
10261 PyObject
* obj3
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10270 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10271 arg2
= temp2
->m_wxis
;
10274 PyErr_Clear(); // clear the failure of the wxPyConvert above
10275 arg2
= wxPyCBInputStream_create(obj1
, false);
10276 if (arg2
== NULL
) {
10277 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10284 arg3
= (long)SWIG_As_long(obj2
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 arg4
= (int)SWIG_As_int(obj3
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10315 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxImage
*arg1
= (wxImage
*) 0 ;
10318 wxInputStream
*arg2
= 0 ;
10319 wxString
*arg3
= 0 ;
10320 int arg4
= (int) -1 ;
10322 wxPyInputStream
*temp2
;
10324 bool temp3
= false ;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 PyObject
* obj2
= 0 ;
10328 PyObject
* obj3
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10337 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10338 arg2
= temp2
->m_wxis
;
10341 PyErr_Clear(); // clear the failure of the wxPyConvert above
10342 arg2
= wxPyCBInputStream_create(obj1
, false);
10343 if (arg2
== NULL
) {
10344 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10351 arg3
= wxString_in_helper(obj2
);
10352 if (arg3
== NULL
) SWIG_fail
;
10356 arg4
= (int)SWIG_As_int(obj3
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10391 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxImage
*arg1
= (wxImage
*) 0 ;
10395 PyObject
* obj0
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (bool)(arg1
)->Ok();
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10419 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
;
10421 wxImage
*arg1
= (wxImage
*) 0 ;
10423 PyObject
* obj0
= 0 ;
10424 char *kwnames
[] = {
10425 (char *) "self", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (int)(arg1
)->GetWidth();
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_From_int((int)result
);
10445 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxImage
*arg1
= (wxImage
*) 0 ;
10449 PyObject
* obj0
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (int)(arg1
)->GetHeight();
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= SWIG_From_int((int)result
);
10471 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxImage
*arg1
= (wxImage
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= wxImage_GetSize(arg1
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10491 wxSize
* resultptr
;
10492 resultptr
= new wxSize((wxSize
&) result
);
10493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10501 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
;
10503 wxImage
*arg1
= (wxImage
*) 0 ;
10505 SwigValueWrapper
< wxImage
> result
;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "rect", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10528 wxImage
* resultptr
;
10529 resultptr
= new wxImage((wxImage
&) result
);
10530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10538 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxImage
*arg1
= (wxImage
*) 0 ;
10541 SwigValueWrapper
< wxImage
> result
;
10542 PyObject
* obj0
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "self", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 result
= (arg1
)->Copy();
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10558 wxImage
* resultptr
;
10559 resultptr
= new wxImage((wxImage
&) result
);
10560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10568 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxImage
*arg1
= (wxImage
*) 0 ;
10571 wxImage
*arg2
= 0 ;
10574 PyObject
* obj0
= 0 ;
10575 PyObject
* obj1
= 0 ;
10576 PyObject
* obj2
= 0 ;
10577 PyObject
* obj3
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10588 if (arg2
== NULL
) {
10589 PyErr_SetString(PyExc_TypeError
,"null reference");
10592 arg3
= (int)SWIG_As_int(obj2
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10594 arg4
= (int)SWIG_As_int(obj3
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 Py_INCREF(Py_None
); resultobj
= Py_None
;
10610 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
*resultobj
;
10612 wxImage
*arg1
= (wxImage
*) 0 ;
10614 PyObject
* obj0
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "self", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (PyObject
*)wxImage_GetData(arg1
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= result
;
10636 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxImage
*arg1
= (wxImage
*) 0 ;
10639 PyObject
*arg2
= (PyObject
*) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self",(char *) "data", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 wxImage_SetData(arg1
,arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 Py_INCREF(Py_None
); resultobj
= Py_None
;
10664 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxImage
*arg1
= (wxImage
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= result
;
10690 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxImage
*arg1
= (wxImage
*) 0 ;
10693 PyObject
*arg2
= (PyObject
*) 0 ;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 char *kwnames
[] = {
10697 (char *) "self",(char *) "data", NULL
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 wxImage_SetDataBuffer(arg1
,arg2
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 Py_INCREF(Py_None
); resultobj
= Py_None
;
10718 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxImage
*arg1
= (wxImage
*) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= result
;
10744 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxImage
*arg1
= (wxImage
*) 0 ;
10747 PyObject
*arg2
= (PyObject
*) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self",(char *) "data", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 wxImage_SetAlphaData(arg1
,arg2
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 Py_INCREF(Py_None
); resultobj
= Py_None
;
10772 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxImage
*arg1
= (wxImage
*) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= result
;
10798 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxImage
*arg1
= (wxImage
*) 0 ;
10801 PyObject
*arg2
= (PyObject
*) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self",(char *) "data", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 wxImage_SetAlphaBuffer(arg1
,arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 Py_INCREF(Py_None
); resultobj
= Py_None
;
10826 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxImage
*arg1
= (wxImage
*) 0 ;
10829 unsigned char arg2
;
10830 unsigned char arg3
;
10831 unsigned char arg4
;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 PyObject
* obj2
= 0 ;
10835 PyObject
* obj3
= 0 ;
10836 char *kwnames
[] = {
10837 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10843 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10845 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10847 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 Py_INCREF(Py_None
); resultobj
= Py_None
;
10863 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxImage
*arg1
= (wxImage
*) 0 ;
10866 unsigned char result
;
10867 PyObject
* obj0
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= (unsigned char)(arg1
)->GetMaskRed();
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10889 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxImage
*arg1
= (wxImage
*) 0 ;
10892 unsigned char result
;
10893 PyObject
* obj0
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (unsigned char)(arg1
)->GetMaskGreen();
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10915 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxImage
*arg1
= (wxImage
*) 0 ;
10918 unsigned char result
;
10919 PyObject
* obj0
= 0 ;
10920 char *kwnames
[] = {
10921 (char *) "self", NULL
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 result
= (unsigned char)(arg1
)->GetMaskBlue();
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10941 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxImage
*arg1
= (wxImage
*) 0 ;
10944 bool arg2
= (bool) true ;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "mask", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10955 arg2
= (bool)SWIG_As_bool(obj1
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 (arg1
)->SetMask(arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 Py_INCREF(Py_None
); resultobj
= Py_None
;
10972 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxImage
*arg1
= (wxImage
*) 0 ;
10976 PyObject
* obj0
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (bool)(arg1
)->HasMask();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11000 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11002 wxImage
*arg1
= (wxImage
*) 0 ;
11004 wxPoint
*arg3
= 0 ;
11005 bool arg4
= (bool) true ;
11006 wxPoint
*arg5
= (wxPoint
*) NULL
;
11007 SwigValueWrapper
< wxImage
> result
;
11009 PyObject
* obj0
= 0 ;
11010 PyObject
* obj1
= 0 ;
11011 PyObject
* obj2
= 0 ;
11012 PyObject
* obj3
= 0 ;
11013 PyObject
* obj4
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11021 arg2
= (double)SWIG_As_double(obj1
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11025 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11028 arg4
= (bool)SWIG_As_bool(obj3
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11032 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
11033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11043 wxImage
* resultptr
;
11044 resultptr
= new wxImage((wxImage
&) result
);
11045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11053 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxImage
*arg1
= (wxImage
*) 0 ;
11056 bool arg2
= (bool) true ;
11057 SwigValueWrapper
< wxImage
> result
;
11058 PyObject
* obj0
= 0 ;
11059 PyObject
* obj1
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "self",(char *) "clockwise", NULL
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
11065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11068 arg2
= (bool)SWIG_As_bool(obj1
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (arg1
)->Rotate90(arg2
);
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11079 wxImage
* resultptr
;
11080 resultptr
= new wxImage((wxImage
&) result
);
11081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11089 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxImage
*arg1
= (wxImage
*) 0 ;
11092 bool arg2
= (bool) true ;
11093 SwigValueWrapper
< wxImage
> result
;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 char *kwnames
[] = {
11097 (char *) "self",(char *) "horizontally", NULL
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
11101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11104 arg2
= (bool)SWIG_As_bool(obj1
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 result
= (arg1
)->Mirror(arg2
);
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11115 wxImage
* resultptr
;
11116 resultptr
= new wxImage((wxImage
&) result
);
11117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11125 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxImage
*arg1
= (wxImage
*) 0 ;
11128 unsigned char arg2
;
11129 unsigned char arg3
;
11130 unsigned char arg4
;
11131 unsigned char arg5
;
11132 unsigned char arg6
;
11133 unsigned char arg7
;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 PyObject
* obj2
= 0 ;
11137 PyObject
* obj3
= 0 ;
11138 PyObject
* obj4
= 0 ;
11139 PyObject
* obj5
= 0 ;
11140 PyObject
* obj6
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11148 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11150 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11152 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11154 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11156 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11158 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11167 Py_INCREF(Py_None
); resultobj
= Py_None
;
11174 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
;
11176 wxImage
*arg1
= (wxImage
*) 0 ;
11177 unsigned char arg2
;
11178 unsigned char arg3
;
11179 unsigned char arg4
;
11180 SwigValueWrapper
< wxImage
> result
;
11181 PyObject
* obj0
= 0 ;
11182 PyObject
* obj1
= 0 ;
11183 PyObject
* obj2
= 0 ;
11184 PyObject
* obj3
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11192 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11194 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11196 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
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_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxImage
*arg1
= (wxImage
*) 0 ;
11219 wxString
*arg2
= 0 ;
11220 wxString
*arg3
= 0 ;
11221 bool temp2
= false ;
11222 bool temp3
= false ;
11223 PyObject
* obj0
= 0 ;
11224 PyObject
* obj1
= 0 ;
11225 PyObject
* obj2
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "self",(char *) "name",(char *) "value", NULL
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11234 arg2
= wxString_in_helper(obj1
);
11235 if (arg2
== NULL
) SWIG_fail
;
11239 arg3
= wxString_in_helper(obj2
);
11240 if (arg3
== NULL
) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 Py_INCREF(Py_None
); resultobj
= Py_None
;
11273 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxImage
*arg1
= (wxImage
*) 0 ;
11276 wxString
*arg2
= 0 ;
11278 bool temp2
= false ;
11279 PyObject
* obj0
= 0 ;
11280 PyObject
* obj1
= 0 ;
11281 PyObject
* obj2
= 0 ;
11282 char *kwnames
[] = {
11283 (char *) "self",(char *) "name",(char *) "value", NULL
11286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11290 arg2
= wxString_in_helper(obj1
);
11291 if (arg2
== NULL
) SWIG_fail
;
11294 arg3
= (int)SWIG_As_int(obj2
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 Py_INCREF(Py_None
); resultobj
= Py_None
;
11318 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxImage
*arg1
= (wxImage
*) 0 ;
11321 wxString
*arg2
= 0 ;
11323 bool temp2
= false ;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj1
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self",(char *) "name", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11334 arg2
= wxString_in_helper(obj1
);
11335 if (arg2
== NULL
) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11366 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxImage
*arg1
= (wxImage
*) 0 ;
11369 wxString
*arg2
= 0 ;
11371 bool temp2
= false ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "self",(char *) "name", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11382 arg2
= wxString_in_helper(obj1
);
11383 if (arg2
== NULL
) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= SWIG_From_int((int)result
);
11408 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxImage
*arg1
= (wxImage
*) 0 ;
11411 wxString
*arg2
= 0 ;
11413 bool temp2
= false ;
11414 PyObject
* obj0
= 0 ;
11415 PyObject
* obj1
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "self",(char *) "name", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11424 arg2
= wxString_in_helper(obj1
);
11425 if (arg2
== NULL
) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11452 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxImage
*arg1
= (wxImage
*) 0 ;
11455 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11456 unsigned long result
;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self",(char *) "stopafter", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11467 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11484 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
;
11486 wxImage
*arg1
= (wxImage
*) 0 ;
11487 wxImageHistogram
*arg2
= 0 ;
11488 unsigned long result
;
11489 PyObject
* obj0
= 0 ;
11490 PyObject
* obj1
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self",(char *) "h", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11501 if (arg2
== NULL
) {
11502 PyErr_SetString(PyExc_TypeError
,"null reference");
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11519 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11522 PyObject
* obj0
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "handler", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 wxImage::AddHandler(arg1
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 Py_INCREF(Py_None
); resultobj
= Py_None
;
11544 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11547 PyObject
* obj0
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "handler", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 wxImage::InsertHandler(arg1
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 Py_INCREF(Py_None
); resultobj
= Py_None
;
11569 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxString
*arg1
= 0 ;
11573 bool temp1
= false ;
11574 PyObject
* obj0
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "name", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11581 arg1
= wxString_in_helper(obj0
);
11582 if (arg1
== NULL
) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11609 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11612 char *kwnames
[] = {
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 result
= wxImage::GetImageExtWildcard();
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11637 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
;
11639 wxImage
*arg1
= (wxImage
*) 0 ;
11640 int arg2
= (int) -1 ;
11642 PyObject
* obj0
= 0 ;
11643 PyObject
* obj1
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self",(char *) "depth", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11652 arg2
= (int)SWIG_As_int(obj1
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11656 if (!wxPyCheckForApp()) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11664 wxBitmap
* resultptr
;
11665 resultptr
= new wxBitmap((wxBitmap
&) result
);
11666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11674 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
;
11676 wxImage
*arg1
= (wxImage
*) 0 ;
11677 unsigned char arg2
;
11678 unsigned char arg3
;
11679 unsigned char arg4
;
11681 PyObject
* obj0
= 0 ;
11682 PyObject
* obj1
= 0 ;
11683 PyObject
* obj2
= 0 ;
11684 PyObject
* obj3
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11692 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11694 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11696 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 if (!wxPyCheckForApp()) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11707 wxBitmap
* resultptr
;
11708 resultptr
= new wxBitmap((wxBitmap
&) result
);
11709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11717 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11720 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11722 return Py_BuildValue((char *)"");
11724 static int _wrap_NullImage_set(PyObject
*) {
11725 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11730 static PyObject
*_wrap_NullImage_get() {
11733 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11738 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11739 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11744 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11749 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11751 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11758 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11759 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11764 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11769 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11771 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11778 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11779 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11784 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11789 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11791 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11798 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11799 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11804 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11809 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11811 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11818 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11819 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11824 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11829 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11831 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11838 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
;
11840 wxBMPHandler
*result
;
11841 char *kwnames
[] = {
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 result
= (wxBMPHandler
*)new wxBMPHandler();
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11860 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11863 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11865 return Py_BuildValue((char *)"");
11867 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
;
11869 wxICOHandler
*result
;
11870 char *kwnames
[] = {
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (wxICOHandler
*)new wxICOHandler();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11889 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11892 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11894 return Py_BuildValue((char *)"");
11896 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
;
11898 wxCURHandler
*result
;
11899 char *kwnames
[] = {
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (wxCURHandler
*)new wxCURHandler();
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11918 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11921 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11923 return Py_BuildValue((char *)"");
11925 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11926 PyObject
*resultobj
;
11927 wxANIHandler
*result
;
11928 char *kwnames
[] = {
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (wxANIHandler
*)new wxANIHandler();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11947 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11950 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11952 return Py_BuildValue((char *)"");
11954 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
;
11956 wxPNGHandler
*result
;
11957 char *kwnames
[] = {
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 result
= (wxPNGHandler
*)new wxPNGHandler();
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11976 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11979 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11981 return Py_BuildValue((char *)"");
11983 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
;
11985 wxGIFHandler
*result
;
11986 char *kwnames
[] = {
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (wxGIFHandler
*)new wxGIFHandler();
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
12005 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
12007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12008 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
12010 return Py_BuildValue((char *)"");
12012 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxPCXHandler
*result
;
12015 char *kwnames
[] = {
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (wxPCXHandler
*)new wxPCXHandler();
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
12034 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
12036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12037 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
12039 return Py_BuildValue((char *)"");
12041 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
;
12043 wxJPEGHandler
*result
;
12044 char *kwnames
[] = {
12048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (wxJPEGHandler
*)new wxJPEGHandler();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
12063 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
12065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12066 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
12068 return Py_BuildValue((char *)"");
12070 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxPNMHandler
*result
;
12073 char *kwnames
[] = {
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (wxPNMHandler
*)new wxPNMHandler();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
12092 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
12094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12095 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
12097 return Py_BuildValue((char *)"");
12099 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxXPMHandler
*result
;
12102 char *kwnames
[] = {
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
12108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12109 result
= (wxXPMHandler
*)new wxXPMHandler();
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12121 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12124 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12126 return Py_BuildValue((char *)"");
12128 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxTIFFHandler
*result
;
12131 char *kwnames
[] = {
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12150 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12153 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12155 return Py_BuildValue((char *)"");
12157 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
;
12159 wxImage
*arg1
= 0 ;
12160 wxImage
*arg2
= 0 ;
12161 int arg3
= (int) 236 ;
12162 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 PyObject
* obj2
= 0 ;
12167 PyObject
* obj3
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12176 if (arg1
== NULL
) {
12177 PyErr_SetString(PyExc_TypeError
,"null reference");
12180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12181 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12183 if (arg2
== NULL
) {
12184 PyErr_SetString(PyExc_TypeError
,"null reference");
12188 arg3
= (int)SWIG_As_int(obj2
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 arg4
= (int)SWIG_As_int(obj3
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12211 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12214 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12216 return Py_BuildValue((char *)"");
12218 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxEvtHandler
*result
;
12221 char *kwnames
[] = {
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (wxEvtHandler
*)new wxEvtHandler();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12240 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12243 wxEvtHandler
*result
;
12244 PyObject
* obj0
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= wxPyMake_wxObject(result
, 0);
12268 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12271 wxEvtHandler
*result
;
12272 PyObject
* obj0
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= wxPyMake_wxObject(result
, 0);
12296 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12299 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 char *kwnames
[] = {
12303 (char *) "self",(char *) "handler", NULL
12306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 (arg1
)->SetNextHandler(arg2
);
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 Py_INCREF(Py_None
); resultobj
= Py_None
;
12325 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12328 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 PyObject
* obj1
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self",(char *) "handler", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 (arg1
)->SetPreviousHandler(arg2
);
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 Py_INCREF(Py_None
); resultobj
= Py_None
;
12354 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12382 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 PyObject
* obj1
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self",(char *) "enabled", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12395 arg2
= (bool)SWIG_As_bool(obj1
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 (arg1
)->SetEvtHandlerEnabled(arg2
);
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 Py_INCREF(Py_None
); resultobj
= Py_None
;
12411 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12414 wxEvent
*arg2
= 0 ;
12416 PyObject
* obj0
= 0 ;
12417 PyObject
* obj1
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self",(char *) "event", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12428 if (arg2
== NULL
) {
12429 PyErr_SetString(PyExc_TypeError
,"null reference");
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12448 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12451 wxEvent
*arg2
= 0 ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self",(char *) "event", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12464 if (arg2
== NULL
) {
12465 PyErr_SetString(PyExc_TypeError
,"null reference");
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 (arg1
)->AddPendingEvent(*arg2
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 Py_INCREF(Py_None
); resultobj
= Py_None
;
12482 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",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 (arg1
)->ProcessPendingEvents();
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 Py_INCREF(Py_None
); resultobj
= Py_None
;
12507 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
;
12509 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12513 PyObject
*arg5
= (PyObject
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 PyObject
* obj1
= 0 ;
12516 PyObject
* obj2
= 0 ;
12517 PyObject
* obj3
= 0 ;
12518 PyObject
* obj4
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12526 arg2
= (int)SWIG_As_int(obj1
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12528 arg3
= (int)SWIG_As_int(obj2
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12530 arg4
= (int)SWIG_As_int(obj3
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 Py_INCREF(Py_None
); resultobj
= Py_None
;
12547 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
;
12549 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12551 int arg3
= (int) -1 ;
12552 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12554 PyObject
* obj0
= 0 ;
12555 PyObject
* obj1
= 0 ;
12556 PyObject
* obj2
= 0 ;
12557 PyObject
* obj3
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12565 arg2
= (int)SWIG_As_int(obj1
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 arg3
= (int)SWIG_As_int(obj2
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12572 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12591 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12594 PyObject
*arg2
= (PyObject
*) 0 ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self",(char *) "_self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 wxEvtHandler__setOORInfo(arg1
,arg2
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 Py_INCREF(Py_None
); resultobj
= Py_None
;
12619 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12622 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12624 return Py_BuildValue((char *)"");
12626 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
;
12628 wxEventType result
;
12629 char *kwnames
[] = {
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 result
= (wxEventType
)wxNewEventType();
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 resultobj
= SWIG_From_int((int)result
);
12648 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxEvent
*arg1
= (wxEvent
*) 0 ;
12651 PyObject
* obj0
= 0 ;
12652 char *kwnames
[] = {
12653 (char *) "self", NULL
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 Py_INCREF(Py_None
); resultobj
= Py_None
;
12673 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxEvent
*arg1
= (wxEvent
*) 0 ;
12677 PyObject
* obj0
= 0 ;
12678 PyObject
* obj1
= 0 ;
12679 char *kwnames
[] = {
12680 (char *) "self",(char *) "typ", NULL
12683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12686 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 (arg1
)->SetEventType(arg2
);
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 Py_INCREF(Py_None
); resultobj
= Py_None
;
12702 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxEvent
*arg1
= (wxEvent
*) 0 ;
12705 wxEventType result
;
12706 PyObject
* obj0
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= SWIG_From_int((int)result
);
12728 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxEvent
*arg1
= (wxEvent
*) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= wxPyMake_wxObject(result
, 0);
12756 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxEvent
*arg1
= (wxEvent
*) 0 ;
12759 wxObject
*arg2
= (wxObject
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self",(char *) "obj", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 (arg1
)->SetEventObject(arg2
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 Py_INCREF(Py_None
); resultobj
= Py_None
;
12785 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxEvent
*arg1
= (wxEvent
*) 0 ;
12789 PyObject
* obj0
= 0 ;
12790 char *kwnames
[] = {
12791 (char *) "self", NULL
12794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= SWIG_From_long((long)result
);
12811 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxEvent
*arg1
= (wxEvent
*) 0 ;
12814 long arg2
= (long) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 PyObject
* obj1
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self",(char *) "ts", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12825 arg2
= (long)SWIG_As_long(obj1
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 (arg1
)->SetTimestamp(arg2
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 Py_INCREF(Py_None
); resultobj
= Py_None
;
12842 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxEvent
*arg1
= (wxEvent
*) 0 ;
12846 PyObject
* obj0
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (int)((wxEvent
const *)arg1
)->GetId();
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= SWIG_From_int((int)result
);
12868 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxEvent
*arg1
= (wxEvent
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self",(char *) "Id", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12881 arg2
= (int)SWIG_As_int(obj1
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetId(arg2
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxEvent
*arg1
= (wxEvent
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12925 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxEvent
*arg1
= (wxEvent
*) 0 ;
12928 bool arg2
= (bool) true ;
12929 PyObject
* obj0
= 0 ;
12930 PyObject
* obj1
= 0 ;
12931 char *kwnames
[] = {
12932 (char *) "self",(char *) "skip", NULL
12935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12939 arg2
= (bool)SWIG_As_bool(obj1
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 (arg1
)->Skip(arg2
);
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 Py_INCREF(Py_None
); resultobj
= Py_None
;
12956 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
;
12958 wxEvent
*arg1
= (wxEvent
*) 0 ;
12960 PyObject
* obj0
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12984 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxEvent
*arg1
= (wxEvent
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13012 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxEvent
*arg1
= (wxEvent
*) 0 ;
13016 PyObject
* obj0
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
13022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (int)(arg1
)->StopPropagation();
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= SWIG_From_int((int)result
);
13038 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
;
13040 wxEvent
*arg1
= (wxEvent
*) 0 ;
13042 PyObject
* obj0
= 0 ;
13043 PyObject
* obj1
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "self",(char *) "propagationLevel", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
13049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13051 arg2
= (int)SWIG_As_int(obj1
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 (arg1
)->ResumePropagation(arg2
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 Py_INCREF(Py_None
); resultobj
= Py_None
;
13067 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxEvent
*arg1
= (wxEvent
*) 0 ;
13071 PyObject
* obj0
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "self", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
13077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (wxEvent
*)(arg1
)->Clone();
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13093 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
13095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13096 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
13098 return Py_BuildValue((char *)"");
13100 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxEvent
*arg1
= 0 ;
13103 wxPropagationDisabler
*result
;
13104 PyObject
* obj0
= 0 ;
13105 char *kwnames
[] = {
13106 (char *) "event", NULL
13109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13113 if (arg1
== NULL
) {
13114 PyErr_SetString(PyExc_TypeError
,"null reference");
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13131 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13134 PyObject
* obj0
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 Py_INCREF(Py_None
); resultobj
= Py_None
;
13156 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13159 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13161 return Py_BuildValue((char *)"");
13163 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
;
13165 wxEvent
*arg1
= 0 ;
13166 wxPropagateOnce
*result
;
13167 PyObject
* obj0
= 0 ;
13168 char *kwnames
[] = {
13169 (char *) "event", NULL
13172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13176 if (arg1
== NULL
) {
13177 PyErr_SetString(PyExc_TypeError
,"null reference");
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13194 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 Py_INCREF(Py_None
); resultobj
= Py_None
;
13219 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13222 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13224 return Py_BuildValue((char *)"");
13226 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13229 int arg2
= (int) 0 ;
13230 wxCommandEvent
*result
;
13231 PyObject
* obj0
= 0 ;
13232 PyObject
* obj1
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "commandType",(char *) "winid", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13239 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13243 arg2
= (int)SWIG_As_int(obj1
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13260 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_From_int((int)result
);
13286 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13289 wxString
*arg2
= 0 ;
13290 bool temp2
= false ;
13291 PyObject
* obj0
= 0 ;
13292 PyObject
* obj1
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self",(char *) "s", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13301 arg2
= wxString_in_helper(obj1
);
13302 if (arg2
== NULL
) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 (arg1
)->SetString((wxString
const &)*arg2
);
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 Py_INCREF(Py_None
); resultobj
= Py_None
;
13327 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 char *kwnames
[] = {
13333 (char *) "self", NULL
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13359 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13387 static PyObject
*_wrap_CommandEvent_IsSelection(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_IsSelection",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
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13415 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
;
13417 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self",(char *) "extraLong", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13428 arg2
= (long)SWIG_As_long(obj1
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 (arg1
)->SetExtraLong(arg2
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 Py_INCREF(Py_None
); resultobj
= Py_None
;
13444 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13448 PyObject
* obj0
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_From_long((long)result
);
13470 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13474 PyObject
* obj0
= 0 ;
13475 PyObject
* obj1
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self",(char *) "i", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13483 arg2
= (int)SWIG_As_int(obj1
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 (arg1
)->SetInt(arg2
);
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 Py_INCREF(Py_None
); resultobj
= Py_None
;
13499 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
;
13501 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13503 PyObject
* obj0
= 0 ;
13504 char *kwnames
[] = {
13505 (char *) "self", NULL
13508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= SWIG_From_long((long)result
);
13525 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13551 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13554 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13556 return Py_BuildValue((char *)"");
13558 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13561 int arg2
= (int) 0 ;
13562 wxNotifyEvent
*result
;
13563 PyObject
* obj0
= 0 ;
13564 PyObject
* obj1
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "commandType",(char *) "winid", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13571 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13575 arg2
= (int)SWIG_As_int(obj1
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13592 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13595 PyObject
* obj0
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 Py_INCREF(Py_None
); resultobj
= Py_None
;
13617 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13620 PyObject
* obj0
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 Py_INCREF(Py_None
); resultobj
= Py_None
;
13642 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (bool)(arg1
)->IsAllowed();
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13670 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13673 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13675 return Py_BuildValue((char *)"");
13677 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13680 int arg2
= (int) 0 ;
13681 int arg3
= (int) 0 ;
13682 int arg4
= (int) 0 ;
13683 wxScrollEvent
*result
;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 PyObject
* obj2
= 0 ;
13687 PyObject
* obj3
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13694 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13698 arg2
= (int)SWIG_As_int(obj1
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13702 arg3
= (int)SWIG_As_int(obj2
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13706 arg4
= (int)SWIG_As_int(obj3
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13723 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "self", NULL
13732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13739 wxPyEndAllowThreads(__tstate
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 resultobj
= SWIG_From_int((int)result
);
13749 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13753 PyObject
* obj0
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "self", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= SWIG_From_int((int)result
);
13775 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 char *kwnames
[] = {
13782 (char *) "self",(char *) "orient", NULL
13785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13788 arg2
= (int)SWIG_As_int(obj1
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 (arg1
)->SetOrientation(arg2
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 Py_INCREF(Py_None
); resultobj
= Py_None
;
13804 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 PyObject
* obj1
= 0 ;
13810 char *kwnames
[] = {
13811 (char *) "self",(char *) "pos", NULL
13814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13817 arg2
= (int)SWIG_As_int(obj1
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 (arg1
)->SetPosition(arg2
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 Py_INCREF(Py_None
); resultobj
= Py_None
;
13833 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13836 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13838 return Py_BuildValue((char *)"");
13840 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
;
13842 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13843 int arg2
= (int) 0 ;
13844 int arg3
= (int) 0 ;
13845 wxScrollWinEvent
*result
;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 PyObject
* obj2
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13855 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13859 arg2
= (int)SWIG_As_int(obj1
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13863 arg3
= (int)SWIG_As_int(obj2
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13880 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= SWIG_From_int((int)result
);
13906 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
;
13908 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13910 PyObject
* obj0
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "self", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= SWIG_From_int((int)result
);
13932 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self",(char *) "orient", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13945 arg2
= (int)SWIG_As_int(obj1
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 (arg1
)->SetOrientation(arg2
);
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 Py_INCREF(Py_None
); resultobj
= Py_None
;
13961 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self",(char *) "pos", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 arg2
= (int)SWIG_As_int(obj1
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 (arg1
)->SetPosition(arg2
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 Py_INCREF(Py_None
); resultobj
= Py_None
;
13990 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13993 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13995 return Py_BuildValue((char *)"");
13997 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14000 wxMouseEvent
*result
;
14001 PyObject
* obj0
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "mouseType", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
14008 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14019 resultobj
= wxPyMake_wxObject(result
, 1);
14027 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14031 PyObject
* obj0
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14055 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
;
14057 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14058 int arg2
= (int) wxMOUSE_BTN_ANY
;
14060 PyObject
* obj0
= 0 ;
14061 PyObject
* obj1
= 0 ;
14062 char *kwnames
[] = {
14063 (char *) "self",(char *) "but", NULL
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14070 arg2
= (int)SWIG_As_int(obj1
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14089 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14092 int arg2
= (int) wxMOUSE_BTN_ANY
;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self",(char *) "but", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
14101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14104 arg2
= (int)SWIG_As_int(obj1
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14123 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14126 int arg2
= (int) wxMOUSE_BTN_ANY
;
14128 PyObject
* obj0
= 0 ;
14129 PyObject
* obj1
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self",(char *) "but", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14138 arg2
= (int)SWIG_As_int(obj1
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14157 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14162 PyObject
* obj0
= 0 ;
14163 PyObject
* obj1
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self",(char *) "but", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14171 arg2
= (int)SWIG_As_int(obj1
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14189 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 PyObject
* obj1
= 0 ;
14196 char *kwnames
[] = {
14197 (char *) "self",(char *) "but", NULL
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14203 arg2
= (int)SWIG_As_int(obj1
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14221 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14225 PyObject
* obj0
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_From_int((int)result
);
14247 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14251 PyObject
* obj0
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "self", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14275 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14279 PyObject
* obj0
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14303 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14307 PyObject
* obj0
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14331 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14359 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14387 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14391 PyObject
* obj0
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14415 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14419 PyObject
* obj0
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14443 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
;
14445 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14447 PyObject
* obj0
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14471 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14475 PyObject
* obj0
= 0 ;
14476 char *kwnames
[] = {
14477 (char *) "self", NULL
14480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14485 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14499 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14500 PyObject
*resultobj
;
14501 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14503 PyObject
* obj0
= 0 ;
14504 char *kwnames
[] = {
14505 (char *) "self", NULL
14508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14527 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14531 PyObject
* obj0
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14555 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14583 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
;
14585 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14587 PyObject
* obj0
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14611 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14639 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14643 PyObject
* obj0
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "self", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (bool)(arg1
)->LeftIsDown();
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14667 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
;
14669 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14671 PyObject
* obj0
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "self", NULL
14676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= (bool)(arg1
)->MiddleIsDown();
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14695 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14699 PyObject
* obj0
= 0 ;
14700 char *kwnames
[] = {
14701 (char *) "self", NULL
14704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (bool)(arg1
)->RightIsDown();
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14723 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14751 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
;
14753 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14779 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14807 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "self", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14835 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14839 PyObject
* obj0
= 0 ;
14840 char *kwnames
[] = {
14841 (char *) "self", NULL
14844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 result
= (arg1
)->GetPosition();
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14855 wxPoint
* resultptr
;
14856 resultptr
= new wxPoint((wxPoint
&) result
);
14857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14865 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14868 long *arg2
= (long *) 0 ;
14869 long *arg3
= (long *) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self", NULL
14879 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14880 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 (arg1
)->GetPosition(arg2
,arg3
);
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 Py_INCREF(Py_None
); resultobj
= Py_None
;
14892 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14893 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14894 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14895 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14902 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 PyObject
* obj1
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self",(char *) "dc", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14919 if (arg2
== NULL
) {
14920 PyErr_SetString(PyExc_TypeError
,"null reference");
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14931 wxPoint
* resultptr
;
14932 resultptr
= new wxPoint((wxPoint
&) result
);
14933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14941 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
;
14943 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_From_int((int)result
);
14967 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_From_int((int)result
);
14993 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14997 PyObject
* obj0
= 0 ;
14998 char *kwnames
[] = {
14999 (char *) "self", NULL
15002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
15003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= SWIG_From_int((int)result
);
15019 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15023 PyObject
* obj0
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= SWIG_From_int((int)result
);
15045 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_From_int((int)result
);
15071 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
15081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15099 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self",(char *) "m_x", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15112 arg2
= (int)SWIG_As_int(obj1
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15114 if (arg1
) (arg1
)->m_x
= arg2
;
15116 Py_INCREF(Py_None
); resultobj
= Py_None
;
15123 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15135 result
= (int) ((arg1
)->m_x
);
15137 resultobj
= SWIG_From_int((int)result
);
15144 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 PyObject
* obj1
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self",(char *) "m_y", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15157 arg2
= (int)SWIG_As_int(obj1
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15159 if (arg1
) (arg1
)->m_y
= arg2
;
15161 Py_INCREF(Py_None
); resultobj
= Py_None
;
15168 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15172 PyObject
* obj0
= 0 ;
15173 char *kwnames
[] = {
15174 (char *) "self", NULL
15177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15180 result
= (int) ((arg1
)->m_y
);
15182 resultobj
= SWIG_From_int((int)result
);
15189 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15193 PyObject
* obj0
= 0 ;
15194 PyObject
* obj1
= 0 ;
15195 char *kwnames
[] = {
15196 (char *) "self",(char *) "m_leftDown", NULL
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15202 arg2
= (bool)SWIG_As_bool(obj1
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15204 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15206 Py_INCREF(Py_None
); resultobj
= Py_None
;
15213 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15217 PyObject
* obj0
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15225 result
= (bool) ((arg1
)->m_leftDown
);
15228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15236 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15240 PyObject
* obj0
= 0 ;
15241 PyObject
* obj1
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self",(char *) "m_middleDown", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15249 arg2
= (bool)SWIG_As_bool(obj1
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15251 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15253 Py_INCREF(Py_None
); resultobj
= Py_None
;
15260 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15264 PyObject
* obj0
= 0 ;
15265 char *kwnames
[] = {
15266 (char *) "self", NULL
15269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15272 result
= (bool) ((arg1
)->m_middleDown
);
15275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15283 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15287 PyObject
* obj0
= 0 ;
15288 PyObject
* obj1
= 0 ;
15289 char *kwnames
[] = {
15290 (char *) "self",(char *) "m_rightDown", NULL
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15296 arg2
= (bool)SWIG_As_bool(obj1
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15298 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15300 Py_INCREF(Py_None
); resultobj
= Py_None
;
15307 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 result
= (bool) ((arg1
)->m_rightDown
);
15322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15330 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self",(char *) "m_controlDown", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15343 arg2
= (bool)SWIG_As_bool(obj1
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15345 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15347 Py_INCREF(Py_None
); resultobj
= Py_None
;
15354 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15366 result
= (bool) ((arg1
)->m_controlDown
);
15369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15377 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 PyObject
* obj1
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self",(char *) "m_shiftDown", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15390 arg2
= (bool)SWIG_As_bool(obj1
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15392 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15394 Py_INCREF(Py_None
); resultobj
= Py_None
;
15401 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15413 result
= (bool) ((arg1
)->m_shiftDown
);
15416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15424 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 PyObject
* obj1
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self",(char *) "m_altDown", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15437 arg2
= (bool)SWIG_As_bool(obj1
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15439 if (arg1
) (arg1
)->m_altDown
= arg2
;
15441 Py_INCREF(Py_None
); resultobj
= Py_None
;
15448 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15460 result
= (bool) ((arg1
)->m_altDown
);
15463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15471 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self",(char *) "m_metaDown", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15484 arg2
= (bool)SWIG_As_bool(obj1
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15486 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15488 Py_INCREF(Py_None
); resultobj
= Py_None
;
15495 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15499 PyObject
* obj0
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15507 result
= (bool) ((arg1
)->m_metaDown
);
15510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15518 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 PyObject
* obj1
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self",(char *) "m_wheelRotation", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15531 arg2
= (int)SWIG_As_int(obj1
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15533 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15535 Py_INCREF(Py_None
); resultobj
= Py_None
;
15542 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15554 result
= (int) ((arg1
)->m_wheelRotation
);
15556 resultobj
= SWIG_From_int((int)result
);
15563 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 PyObject
* obj1
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self",(char *) "m_wheelDelta", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15576 arg2
= (int)SWIG_As_int(obj1
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15578 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15580 Py_INCREF(Py_None
); resultobj
= Py_None
;
15587 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15591 PyObject
* obj0
= 0 ;
15592 char *kwnames
[] = {
15593 (char *) "self", NULL
15596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15599 result
= (int) ((arg1
)->m_wheelDelta
);
15601 resultobj
= SWIG_From_int((int)result
);
15608 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15610 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15612 PyObject
* obj0
= 0 ;
15613 PyObject
* obj1
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "self",(char *) "m_linesPerAction", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15621 arg2
= (int)SWIG_As_int(obj1
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15623 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15625 Py_INCREF(Py_None
); resultobj
= Py_None
;
15632 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 result
= (int) ((arg1
)->m_linesPerAction
);
15646 resultobj
= SWIG_From_int((int)result
);
15653 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15656 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15658 return Py_BuildValue((char *)"");
15660 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 int arg1
= (int) 0 ;
15663 int arg2
= (int) 0 ;
15664 wxSetCursorEvent
*result
;
15665 PyObject
* obj0
= 0 ;
15666 PyObject
* obj1
= 0 ;
15667 char *kwnames
[] = {
15668 (char *) "x",(char *) "y", NULL
15671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15673 arg1
= (int)SWIG_As_int(obj0
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15677 arg2
= (int)SWIG_As_int(obj1
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15694 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
;
15696 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15698 PyObject
* obj0
= 0 ;
15699 char *kwnames
[] = {
15700 (char *) "self", NULL
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15710 wxPyEndAllowThreads(__tstate
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15713 resultobj
= SWIG_From_int((int)result
);
15720 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15721 PyObject
*resultobj
;
15722 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15724 PyObject
* obj0
= 0 ;
15725 char *kwnames
[] = {
15726 (char *) "self", NULL
15729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= SWIG_From_int((int)result
);
15746 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
;
15748 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15749 wxCursor
*arg2
= 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self",(char *) "cursor", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15762 if (arg2
== NULL
) {
15763 PyErr_SetString(PyExc_TypeError
,"null reference");
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 Py_INCREF(Py_None
); resultobj
= Py_None
;
15780 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
;
15782 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15784 PyObject
* obj0
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "self", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15796 result
= (wxCursor
*) &_result_ref
;
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15803 wxCursor
* resultptr
= new wxCursor(*result
);
15804 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15812 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15816 PyObject
* obj0
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "self", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15840 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15843 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15845 return Py_BuildValue((char *)"");
15847 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
;
15849 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15850 wxKeyEvent
*result
;
15851 PyObject
* obj0
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "keyType", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15858 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15875 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15879 PyObject
* obj0
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15903 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15907 PyObject
* obj0
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15931 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
;
15933 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15935 PyObject
* obj0
= 0 ;
15936 char *kwnames
[] = {
15937 (char *) "self", NULL
15940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15947 wxPyEndAllowThreads(__tstate
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15959 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 char *kwnames
[] = {
15965 (char *) "self", NULL
15968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15975 wxPyEndAllowThreads(__tstate
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15987 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15991 PyObject
* obj0
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16015 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16019 PyObject
* obj0
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
16025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16043 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 resultobj
= SWIG_From_int((int)result
);
16069 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16071 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= SWIG_From_int((int)result
);
16095 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16098 unsigned int result
;
16099 PyObject
* obj0
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "self", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
16105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16121 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
;
16123 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16124 unsigned int result
;
16125 PyObject
* obj0
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16147 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (arg1
)->GetPosition();
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16167 wxPoint
* resultptr
;
16168 resultptr
= new wxPoint((wxPoint
&) result
);
16169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16177 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16180 long *arg2
= (long *) 0 ;
16181 long *arg3
= (long *) 0 ;
16186 PyObject
* obj0
= 0 ;
16187 char *kwnames
[] = {
16188 (char *) "self", NULL
16191 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16192 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 (arg1
)->GetPosition(arg2
,arg3
);
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16203 Py_INCREF(Py_None
); resultobj
= Py_None
;
16204 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16205 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16206 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16207 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16214 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
;
16216 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16218 PyObject
* obj0
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "self", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= SWIG_From_int((int)result
);
16240 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16242 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16244 PyObject
* obj0
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "self", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= SWIG_From_int((int)result
);
16266 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
;
16268 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self",(char *) "m_x", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 arg2
= (int)SWIG_As_int(obj1
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16281 if (arg1
) (arg1
)->m_x
= arg2
;
16283 Py_INCREF(Py_None
); resultobj
= Py_None
;
16290 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16302 result
= (int) ((arg1
)->m_x
);
16304 resultobj
= SWIG_From_int((int)result
);
16311 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16315 PyObject
* obj0
= 0 ;
16316 PyObject
* obj1
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self",(char *) "m_y", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 arg2
= (int)SWIG_As_int(obj1
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16326 if (arg1
) (arg1
)->m_y
= arg2
;
16328 Py_INCREF(Py_None
); resultobj
= Py_None
;
16335 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16339 PyObject
* obj0
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16347 result
= (int) ((arg1
)->m_y
);
16349 resultobj
= SWIG_From_int((int)result
);
16356 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 PyObject
* obj1
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self",(char *) "m_keyCode", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16369 arg2
= (long)SWIG_As_long(obj1
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16371 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16373 Py_INCREF(Py_None
); resultobj
= Py_None
;
16380 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self", NULL
16389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16392 result
= (long) ((arg1
)->m_keyCode
);
16394 resultobj
= SWIG_From_long((long)result
);
16401 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 PyObject
* obj1
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self",(char *) "m_controlDown", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16414 arg2
= (bool)SWIG_As_bool(obj1
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16416 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16418 Py_INCREF(Py_None
); resultobj
= Py_None
;
16425 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16437 result
= (bool) ((arg1
)->m_controlDown
);
16440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16448 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 PyObject
* obj1
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self",(char *) "m_shiftDown", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 arg2
= (bool)SWIG_As_bool(obj1
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16463 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16465 Py_INCREF(Py_None
); resultobj
= Py_None
;
16472 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16476 PyObject
* obj0
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16484 result
= (bool) ((arg1
)->m_shiftDown
);
16487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16495 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16499 PyObject
* obj0
= 0 ;
16500 PyObject
* obj1
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self",(char *) "m_altDown", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16508 arg2
= (bool)SWIG_As_bool(obj1
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16510 if (arg1
) (arg1
)->m_altDown
= arg2
;
16512 Py_INCREF(Py_None
); resultobj
= Py_None
;
16519 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16523 PyObject
* obj0
= 0 ;
16524 char *kwnames
[] = {
16525 (char *) "self", NULL
16528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16531 result
= (bool) ((arg1
)->m_altDown
);
16534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16542 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 PyObject
* obj1
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self",(char *) "m_metaDown", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16555 arg2
= (bool)SWIG_As_bool(obj1
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16557 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16559 Py_INCREF(Py_None
); resultobj
= Py_None
;
16566 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16578 result
= (bool) ((arg1
)->m_metaDown
);
16581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16589 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16593 PyObject
* obj0
= 0 ;
16594 PyObject
* obj1
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self",(char *) "m_scanCode", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16602 arg2
= (bool)SWIG_As_bool(obj1
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16604 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16606 Py_INCREF(Py_None
); resultobj
= Py_None
;
16613 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16614 PyObject
*resultobj
;
16615 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16617 PyObject
* obj0
= 0 ;
16618 char *kwnames
[] = {
16619 (char *) "self", NULL
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16625 result
= (bool) ((arg1
)->m_scanCode
);
16628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16636 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16639 unsigned int arg2
;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self",(char *) "m_rawCode", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16651 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16653 Py_INCREF(Py_None
); resultobj
= Py_None
;
16660 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16662 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16663 unsigned int result
;
16664 PyObject
* obj0
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "self", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16672 result
= (unsigned int) ((arg1
)->m_rawCode
);
16674 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16681 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16684 unsigned int arg2
;
16685 PyObject
* obj0
= 0 ;
16686 PyObject
* obj1
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "self",(char *) "m_rawFlags", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16694 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16696 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16698 Py_INCREF(Py_None
); resultobj
= Py_None
;
16705 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
;
16707 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16708 unsigned int result
;
16709 PyObject
* obj0
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "self", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16717 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16719 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16726 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16729 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16731 return Py_BuildValue((char *)"");
16733 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16736 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16737 int arg2
= (int) 0 ;
16738 wxSizeEvent
*result
;
16740 PyObject
* obj0
= 0 ;
16741 PyObject
* obj1
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "sz",(char *) "winid", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16750 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16754 arg2
= (int)SWIG_As_int(obj1
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16771 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16791 wxSize
* resultptr
;
16792 resultptr
= new wxSize((wxSize
&) result
);
16793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16801 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 wxRect
* resultptr
;
16822 resultptr
= new wxRect((wxRect
&) result
);
16823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16831 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16836 PyObject
* obj0
= 0 ;
16837 PyObject
* obj1
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self",(char *) "rect", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16845 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16846 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 (arg1
)->SetRect(arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 Py_INCREF(Py_None
); resultobj
= Py_None
;
16862 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16867 PyObject
* obj0
= 0 ;
16868 PyObject
* obj1
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self",(char *) "size", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16876 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16877 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 wxSizeEvent_SetSize(arg1
,arg2
);
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16886 Py_INCREF(Py_None
); resultobj
= Py_None
;
16893 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16894 PyObject
*resultobj
;
16895 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16896 wxSize
*arg2
= (wxSize
*) 0 ;
16897 PyObject
* obj0
= 0 ;
16898 PyObject
* obj1
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "self",(char *) "m_size", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16908 if (arg1
) (arg1
)->m_size
= *arg2
;
16910 Py_INCREF(Py_None
); resultobj
= Py_None
;
16917 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16929 result
= (wxSize
*)& ((arg1
)->m_size
);
16931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16938 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16941 wxRect
*arg2
= (wxRect
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "self",(char *) "m_rect", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16953 if (arg1
) (arg1
)->m_rect
= *arg2
;
16955 Py_INCREF(Py_None
); resultobj
= Py_None
;
16962 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16974 result
= (wxRect
*)& ((arg1
)->m_rect
);
16976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16983 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16986 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16988 return Py_BuildValue((char *)"");
16990 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
;
16992 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16993 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16994 int arg2
= (int) 0 ;
16995 wxMoveEvent
*result
;
16997 PyObject
* obj0
= 0 ;
16998 PyObject
* obj1
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "pos",(char *) "winid", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17007 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
17011 arg2
= (int)SWIG_As_int(obj1
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
17028 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17032 PyObject
* obj0
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17048 wxPoint
* resultptr
;
17049 resultptr
= new wxPoint((wxPoint
&) result
);
17050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17058 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
;
17060 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17062 PyObject
* obj0
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
17068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17078 wxRect
* resultptr
;
17079 resultptr
= new wxRect((wxRect
&) result
);
17080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
17088 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
;
17090 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17093 PyObject
* obj0
= 0 ;
17094 PyObject
* obj1
= 0 ;
17095 char *kwnames
[] = {
17096 (char *) "self",(char *) "rect", NULL
17099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
17100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17102 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
17103 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 (arg1
)->SetRect(arg2
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 Py_INCREF(Py_None
); resultobj
= Py_None
;
17119 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17121 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17124 PyObject
* obj0
= 0 ;
17125 PyObject
* obj1
= 0 ;
17126 char *kwnames
[] = {
17127 (char *) "self",(char *) "pos", NULL
17130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17133 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17134 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 wxMoveEvent_SetPosition(arg1
,arg2
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 Py_INCREF(Py_None
); resultobj
= Py_None
;
17150 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17153 wxPoint
*arg2
= (wxPoint
*) 0 ;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 char *kwnames
[] = {
17157 (char *) "self",(char *) "m_pos", NULL
17160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17165 if (arg1
) (arg1
)->m_pos
= *arg2
;
17167 Py_INCREF(Py_None
); resultobj
= Py_None
;
17174 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17178 PyObject
* obj0
= 0 ;
17179 char *kwnames
[] = {
17180 (char *) "self", NULL
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17186 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17195 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17198 wxRect
*arg2
= (wxRect
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 char *kwnames
[] = {
17202 (char *) "self",(char *) "m_rect", NULL
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17210 if (arg1
) (arg1
)->m_rect
= *arg2
;
17212 Py_INCREF(Py_None
); resultobj
= Py_None
;
17219 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17223 PyObject
* obj0
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17231 result
= (wxRect
*)& ((arg1
)->m_rect
);
17233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17240 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17243 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17245 return Py_BuildValue((char *)"");
17247 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 int arg1
= (int) 0 ;
17250 wxPaintEvent
*result
;
17251 PyObject
* obj0
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "Id", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17258 arg1
= (int)SWIG_As_int(obj0
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17275 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17278 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17280 return Py_BuildValue((char *)"");
17282 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 int arg1
= (int) 0 ;
17285 wxNcPaintEvent
*result
;
17286 PyObject
* obj0
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "winid", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17293 arg1
= (int)SWIG_As_int(obj0
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17310 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17313 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17315 return Py_BuildValue((char *)"");
17317 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 int arg1
= (int) 0 ;
17320 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17321 wxEraseEvent
*result
;
17322 PyObject
* obj0
= 0 ;
17323 PyObject
* obj1
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "Id",(char *) "dc", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17330 arg1
= (int)SWIG_As_int(obj0
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17351 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= wxPyMake_wxObject(result
, 0);
17379 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17382 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17384 return Py_BuildValue((char *)"");
17386 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17388 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17389 int arg2
= (int) 0 ;
17390 wxFocusEvent
*result
;
17391 PyObject
* obj0
= 0 ;
17392 PyObject
* obj1
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "type",(char *) "winid", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17399 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17403 arg2
= (int)SWIG_As_int(obj1
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17420 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17421 PyObject
*resultobj
;
17422 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17424 PyObject
* obj0
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= wxPyMake_wxObject(result
, 0);
17448 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17451 wxWindow
*arg2
= (wxWindow
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "win", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 (arg1
)->SetWindow(arg2
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 Py_INCREF(Py_None
); resultobj
= Py_None
;
17477 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17480 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17482 return Py_BuildValue((char *)"");
17484 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxWindow
*arg1
= (wxWindow
*) NULL
;
17487 wxChildFocusEvent
*result
;
17488 PyObject
* obj0
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "win", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17512 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17516 PyObject
* obj0
= 0 ;
17517 char *kwnames
[] = {
17518 (char *) "self", NULL
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= wxPyMake_wxObject(result
, 0);
17540 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17543 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17545 return Py_BuildValue((char *)"");
17547 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17550 bool arg2
= (bool) true ;
17551 int arg3
= (int) 0 ;
17552 wxActivateEvent
*result
;
17553 PyObject
* obj0
= 0 ;
17554 PyObject
* obj1
= 0 ;
17555 PyObject
* obj2
= 0 ;
17556 char *kwnames
[] = {
17557 (char *) "type",(char *) "active",(char *) "Id", NULL
17560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17562 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17566 arg2
= (bool)SWIG_As_bool(obj1
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17570 arg3
= (int)SWIG_As_int(obj2
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17587 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17591 PyObject
* obj0
= 0 ;
17592 char *kwnames
[] = {
17593 (char *) "self", NULL
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17615 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17618 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17620 return Py_BuildValue((char *)"");
17622 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 int arg1
= (int) 0 ;
17625 wxInitDialogEvent
*result
;
17626 PyObject
* obj0
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "Id", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17633 arg1
= (int)SWIG_As_int(obj0
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17650 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17653 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17655 return Py_BuildValue((char *)"");
17657 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17660 int arg2
= (int) 0 ;
17661 wxMenu
*arg3
= (wxMenu
*) NULL
;
17662 wxMenuEvent
*result
;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 PyObject
* obj2
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "type",(char *) "winid",(char *) "menu", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17672 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 arg2
= (int)SWIG_As_int(obj1
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17697 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17701 PyObject
* obj0
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= SWIG_From_int((int)result
);
17723 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17727 PyObject
* obj0
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17751 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= wxPyMake_wxObject(result
, 0);
17779 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17782 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17784 return Py_BuildValue((char *)"");
17786 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17789 int arg2
= (int) 0 ;
17790 wxCloseEvent
*result
;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "type",(char *) "winid", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17820 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "logOff", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 arg2
= (bool)SWIG_As_bool(obj1
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 (arg1
)->SetLoggingOff(arg2
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 Py_INCREF(Py_None
); resultobj
= Py_None
;
17849 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17877 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17880 bool arg2
= (bool) true ;
17881 PyObject
* obj0
= 0 ;
17882 PyObject
* obj1
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self",(char *) "veto", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 arg2
= (bool)SWIG_As_bool(obj1
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 (arg1
)->Veto(arg2
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 Py_INCREF(Py_None
); resultobj
= Py_None
;
17908 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self",(char *) "canVeto", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17921 arg2
= (bool)SWIG_As_bool(obj1
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 (arg1
)->SetCanVeto(arg2
);
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 Py_INCREF(Py_None
); resultobj
= Py_None
;
17937 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17965 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17993 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17996 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17998 return Py_BuildValue((char *)"");
18000 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18002 int arg1
= (int) 0 ;
18003 bool arg2
= (bool) false ;
18004 wxShowEvent
*result
;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "winid",(char *) "show", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18013 arg1
= (int)SWIG_As_int(obj0
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18017 arg2
= (bool)SWIG_As_bool(obj1
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
18034 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
;
18036 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self",(char *) "show", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18047 arg2
= (bool)SWIG_As_bool(obj1
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 (arg1
)->SetShow(arg2
);
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 Py_INCREF(Py_None
); resultobj
= Py_None
;
18063 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
18073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18091 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
18093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18094 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
18096 return Py_BuildValue((char *)"");
18098 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 int arg1
= (int) 0 ;
18101 bool arg2
= (bool) true ;
18102 wxIconizeEvent
*result
;
18103 PyObject
* obj0
= 0 ;
18104 PyObject
* obj1
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "id",(char *) "iconized", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18111 arg1
= (int)SWIG_As_int(obj0
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18115 arg2
= (bool)SWIG_As_bool(obj1
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18132 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
;
18134 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18136 PyObject
* obj0
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "self", NULL
18141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 result
= (bool)(arg1
)->Iconized();
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18160 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18163 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18165 return Py_BuildValue((char *)"");
18167 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 int arg1
= (int) 0 ;
18170 wxMaximizeEvent
*result
;
18171 PyObject
* obj0
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "id", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18178 arg1
= (int)SWIG_As_int(obj0
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18195 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18198 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18200 return Py_BuildValue((char *)"");
18202 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 result
= (arg1
)->GetPosition();
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18222 wxPoint
* resultptr
;
18223 resultptr
= new wxPoint((wxPoint
&) result
);
18224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18232 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
;
18234 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (int)(arg1
)->GetNumberOfFiles();
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= SWIG_From_int((int)result
);
18258 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= result
;
18284 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18287 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18289 return Py_BuildValue((char *)"");
18291 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 int arg1
= (int) 0 ;
18294 wxUpdateUIEvent
*result
;
18295 PyObject
* obj0
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "commandId", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18302 arg1
= (int)SWIG_As_int(obj0
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18319 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18347 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18375 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
;
18377 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18407 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18408 PyObject
*resultobj
;
18409 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18411 PyObject
* obj0
= 0 ;
18412 char *kwnames
[] = {
18413 (char *) "self", NULL
18416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18435 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18437 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18439 PyObject
* obj0
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "self", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18463 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18467 PyObject
* obj0
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "self", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18491 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18495 PyObject
* obj0
= 0 ;
18496 PyObject
* obj1
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self",(char *) "check", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18504 arg2
= (bool)SWIG_As_bool(obj1
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 (arg1
)->Check(arg2
);
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 Py_INCREF(Py_None
); resultobj
= Py_None
;
18520 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 char *kwnames
[] = {
18527 (char *) "self",(char *) "enable", NULL
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18533 arg2
= (bool)SWIG_As_bool(obj1
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 (arg1
)->Enable(arg2
);
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 Py_INCREF(Py_None
); resultobj
= Py_None
;
18549 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18550 PyObject
*resultobj
;
18551 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18552 wxString
*arg2
= 0 ;
18553 bool temp2
= false ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self",(char *) "text", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18564 arg2
= wxString_in_helper(obj1
);
18565 if (arg2
== NULL
) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 (arg1
)->SetText((wxString
const &)*arg2
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 Py_INCREF(Py_None
); resultobj
= Py_None
;
18590 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
;
18593 PyObject
* obj0
= 0 ;
18594 char *kwnames
[] = {
18595 (char *) "updateInterval", NULL
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18599 arg1
= (long)SWIG_As_long(obj0
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 Py_INCREF(Py_None
); resultobj
= Py_None
;
18615 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18618 char *kwnames
[] = {
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= SWIG_From_long((long)result
);
18637 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxWindow
*arg1
= (wxWindow
*) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 char *kwnames
[] = {
18643 (char *) "win", NULL
18646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18665 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
;
18667 char *kwnames
[] = {
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 wxUpdateUIEvent::ResetUpdateTime();
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 Py_INCREF(Py_None
); resultobj
= Py_None
;
18686 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
;
18689 PyObject
* obj0
= 0 ;
18690 char *kwnames
[] = {
18691 (char *) "mode", NULL
18694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18695 arg1
= (int)SWIG_As_int(obj0
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 Py_INCREF(Py_None
); resultobj
= Py_None
;
18711 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18712 PyObject
*resultobj
;
18714 char *kwnames
[] = {
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (int)wxUpdateUIEvent::GetMode();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_From_int((int)result
);
18733 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18736 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18738 return Py_BuildValue((char *)"");
18740 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18741 PyObject
*resultobj
;
18742 wxSysColourChangedEvent
*result
;
18743 char *kwnames
[] = {
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18762 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18765 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18767 return Py_BuildValue((char *)"");
18769 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
;
18771 int arg1
= (int) 0 ;
18772 wxWindow
*arg2
= (wxWindow
*) NULL
;
18773 wxMouseCaptureChangedEvent
*result
;
18774 PyObject
* obj0
= 0 ;
18775 PyObject
* obj1
= 0 ;
18776 char *kwnames
[] = {
18777 (char *) "winid",(char *) "gainedCapture", NULL
18780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18782 arg1
= (int)SWIG_As_int(obj0
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18803 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= wxPyMake_wxObject(result
, 0);
18831 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18834 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18836 return Py_BuildValue((char *)"");
18838 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxDisplayChangedEvent
*result
;
18841 char *kwnames
[] = {
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18860 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18863 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18865 return Py_BuildValue((char *)"");
18867 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 int arg1
= (int) 0 ;
18870 wxPaletteChangedEvent
*result
;
18871 PyObject
* obj0
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "id", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18878 arg1
= (int)SWIG_As_int(obj0
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18895 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18898 wxWindow
*arg2
= (wxWindow
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self",(char *) "win", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 (arg1
)->SetChangedWindow(arg2
);
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 Py_INCREF(Py_None
); resultobj
= Py_None
;
18924 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18928 PyObject
* obj0
= 0 ;
18929 char *kwnames
[] = {
18930 (char *) "self", NULL
18933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18944 resultobj
= wxPyMake_wxObject(result
, 0);
18952 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18955 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18957 return Py_BuildValue((char *)"");
18959 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18960 PyObject
*resultobj
;
18961 int arg1
= (int) 0 ;
18962 wxQueryNewPaletteEvent
*result
;
18963 PyObject
* obj0
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "winid", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18970 arg1
= (int)SWIG_As_int(obj0
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18977 wxPyEndAllowThreads(__tstate
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18987 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 char *kwnames
[] = {
18994 (char *) "self",(char *) "realized", NULL
18997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19000 arg2
= (bool)SWIG_As_bool(obj1
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 (arg1
)->SetPaletteRealized(arg2
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 Py_INCREF(Py_None
); resultobj
= Py_None
;
19016 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19044 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
19046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19047 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
19049 return Py_BuildValue((char *)"");
19051 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxNavigationKeyEvent
*result
;
19054 char *kwnames
[] = {
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
19073 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19101 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 PyObject
* obj1
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self",(char *) "forward", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
19112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19114 arg2
= (bool)SWIG_As_bool(obj1
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 (arg1
)->SetDirection(arg2
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 Py_INCREF(Py_None
); resultobj
= Py_None
;
19130 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19158 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19160 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self",(char *) "ischange", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19171 arg2
= (bool)SWIG_As_bool(obj1
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 (arg1
)->SetWindowChange(arg2
);
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 Py_INCREF(Py_None
); resultobj
= Py_None
;
19187 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19191 PyObject
* obj0
= 0 ;
19192 PyObject
* obj1
= 0 ;
19193 char *kwnames
[] = {
19194 (char *) "self",(char *) "flags", NULL
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19200 arg2
= (long)SWIG_As_long(obj1
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 (arg1
)->SetFlags(arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 Py_INCREF(Py_None
); resultobj
= Py_None
;
19216 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19220 PyObject
* obj0
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= wxPyMake_wxObject(result
, 0);
19244 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19247 wxWindow
*arg2
= (wxWindow
*) 0 ;
19248 PyObject
* obj0
= 0 ;
19249 PyObject
* obj1
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self",(char *) "win", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 (arg1
)->SetCurrentFocus(arg2
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 Py_INCREF(Py_None
); resultobj
= Py_None
;
19273 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19276 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19278 return Py_BuildValue((char *)"");
19280 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxWindow
*arg1
= (wxWindow
*) NULL
;
19283 wxWindowCreateEvent
*result
;
19284 PyObject
* obj0
= 0 ;
19285 char *kwnames
[] = {
19286 (char *) "win", NULL
19289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19308 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19309 PyObject
*resultobj
;
19310 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19312 PyObject
* obj0
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "self", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= wxPyMake_wxObject(result
, 0);
19336 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19339 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19341 return Py_BuildValue((char *)"");
19343 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
;
19345 wxWindow
*arg1
= (wxWindow
*) NULL
;
19346 wxWindowDestroyEvent
*result
;
19347 PyObject
* obj0
= 0 ;
19348 char *kwnames
[] = {
19349 (char *) "win", NULL
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19371 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19391 resultobj
= wxPyMake_wxObject(result
, 0);
19399 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19402 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19404 return Py_BuildValue((char *)"");
19406 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19409 int arg2
= (int) 0 ;
19410 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19411 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19412 wxContextMenuEvent
*result
;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 PyObject
* obj2
= 0 ;
19417 char *kwnames
[] = {
19418 (char *) "type",(char *) "winid",(char *) "pt", NULL
19421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19423 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19427 arg2
= (int)SWIG_As_int(obj1
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19450 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
;
19452 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19454 PyObject
* obj0
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "self", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19466 result
= (wxPoint
*) &_result_ref
;
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19479 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
;
19481 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19482 wxPoint
*arg2
= 0 ;
19484 PyObject
* obj0
= 0 ;
19485 PyObject
* obj1
= 0 ;
19486 char *kwnames
[] = {
19487 (char *) "self",(char *) "pos", NULL
19490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 Py_INCREF(Py_None
); resultobj
= Py_None
;
19511 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19514 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19516 return Py_BuildValue((char *)"");
19518 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxIdleEvent
*result
;
19521 char *kwnames
[] = {
19525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 result
= (wxIdleEvent
*)new wxIdleEvent();
19530 wxPyEndAllowThreads(__tstate
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19540 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
;
19542 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19543 bool arg2
= (bool) true ;
19544 PyObject
* obj0
= 0 ;
19545 PyObject
* obj1
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self",(char *) "needMore", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 arg2
= (bool)SWIG_As_bool(obj1
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 (arg1
)->RequestMore(arg2
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 Py_INCREF(Py_None
); resultobj
= Py_None
;
19571 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19575 PyObject
* obj0
= 0 ;
19576 char *kwnames
[] = {
19577 (char *) "self", NULL
19580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19599 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19602 PyObject
* obj0
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "mode", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19608 arg1
= (int)SWIG_As_int(obj0
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 Py_INCREF(Py_None
); resultobj
= Py_None
;
19624 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19627 char *kwnames
[] = {
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= (int)wxIdleEvent::GetMode();
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 resultobj
= SWIG_From_int((int)result
);
19646 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
;
19648 wxWindow
*arg1
= (wxWindow
*) 0 ;
19650 PyObject
* obj0
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "win", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= (bool)wxIdleEvent::CanSend(arg1
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19674 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19677 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19679 return Py_BuildValue((char *)"");
19681 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19683 int arg1
= (int) 0 ;
19684 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "winid",(char *) "commandType", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19694 arg1
= (int)SWIG_As_int(obj0
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19698 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19715 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "self", NULL
19723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 Py_INCREF(Py_None
); resultobj
= Py_None
;
19740 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
;
19742 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19743 PyObject
*arg2
= (PyObject
*) 0 ;
19744 PyObject
* obj0
= 0 ;
19745 PyObject
* obj1
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self",(char *) "self", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 (arg1
)->SetSelf(arg2
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 Py_INCREF(Py_None
); resultobj
= Py_None
;
19768 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19772 PyObject
* obj0
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (PyObject
*)(arg1
)->GetSelf();
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= result
;
19794 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19797 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19799 return Py_BuildValue((char *)"");
19801 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19804 int arg2
= (int) 0 ;
19805 wxPyCommandEvent
*result
;
19806 PyObject
* obj0
= 0 ;
19807 PyObject
* obj1
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "commandType",(char *) "id", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19814 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19818 arg2
= (int)SWIG_As_int(obj1
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19835 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19837 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "self", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 Py_INCREF(Py_None
); resultobj
= Py_None
;
19860 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19863 PyObject
*arg2
= (PyObject
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self",(char *) "self", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 (arg1
)->SetSelf(arg2
);
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 Py_INCREF(Py_None
); resultobj
= Py_None
;
19888 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 result
= (PyObject
*)(arg1
)->GetSelf();
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= result
;
19914 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19917 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19919 return Py_BuildValue((char *)"");
19921 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19924 char *kwnames
[] = {
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 result
= (wxPyApp
*)new_wxPyApp();
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19943 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
;
19945 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19946 PyObject
* obj0
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 Py_INCREF(Py_None
); resultobj
= Py_None
;
19968 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19971 PyObject
*arg2
= (PyObject
*) 0 ;
19972 PyObject
*arg3
= (PyObject
*) 0 ;
19973 PyObject
* obj0
= 0 ;
19974 PyObject
* obj1
= 0 ;
19975 PyObject
* obj2
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self",(char *) "self",(char *) "_class", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 Py_INCREF(Py_None
); resultobj
= Py_None
;
19999 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= ((wxPyApp
const *)arg1
)->GetAppName();
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20031 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
;
20033 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20034 wxString
*arg2
= 0 ;
20035 bool temp2
= false ;
20036 PyObject
* obj0
= 0 ;
20037 PyObject
* obj1
= 0 ;
20038 char *kwnames
[] = {
20039 (char *) "self",(char *) "name", NULL
20042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
20043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20046 arg2
= wxString_in_helper(obj1
);
20047 if (arg2
== NULL
) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 (arg1
)->SetAppName((wxString
const &)*arg2
);
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 Py_INCREF(Py_None
); resultobj
= Py_None
;
20072 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
20082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= ((wxPyApp
const *)arg1
)->GetClassName();
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20104 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20107 wxString
*arg2
= 0 ;
20108 bool temp2
= false ;
20109 PyObject
* obj0
= 0 ;
20110 PyObject
* obj1
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self",(char *) "name", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20119 arg2
= wxString_in_helper(obj1
);
20120 if (arg2
== NULL
) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 (arg1
)->SetClassName((wxString
const &)*arg2
);
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 Py_INCREF(Py_None
); resultobj
= Py_None
;
20145 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20161 result
= (wxString
*) &_result_ref
;
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20171 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20180 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20183 wxString
*arg2
= 0 ;
20184 bool temp2
= false ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self",(char *) "name", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20195 arg2
= wxString_in_helper(obj1
);
20196 if (arg2
== NULL
) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20206 Py_INCREF(Py_None
); resultobj
= Py_None
;
20221 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20222 PyObject
*resultobj
;
20223 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20224 wxAppTraits
*result
;
20225 PyObject
* obj0
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20247 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20250 PyObject
* obj0
= 0 ;
20251 char *kwnames
[] = {
20252 (char *) "self", NULL
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->ProcessPendingEvents();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 Py_INCREF(Py_None
); resultobj
= Py_None
;
20272 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20275 bool arg2
= (bool) false ;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self",(char *) "onlyIfNeeded", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 arg2
= (bool)SWIG_As_bool(obj1
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (bool)(arg1
)->Yield(arg2
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20306 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20307 PyObject
*resultobj
;
20308 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 (arg1
)->WakeUpIdle();
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 Py_INCREF(Py_None
); resultobj
= Py_None
;
20331 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20334 char *kwnames
[] = {
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20341 result
= (bool)wxPyApp::IsMainLoopRunning();
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20355 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
;
20357 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20359 PyObject
* obj0
= 0 ;
20360 char *kwnames
[] = {
20361 (char *) "self", NULL
20364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 result
= (int)(arg1
)->MainLoop();
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= SWIG_From_int((int)result
);
20381 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 Py_INCREF(Py_None
); resultobj
= Py_None
;
20406 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20409 PyObject
* obj0
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "self", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 (arg1
)->ExitMainLoop();
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 Py_INCREF(Py_None
); resultobj
= Py_None
;
20431 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20435 PyObject
* obj0
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= (bool)(arg1
)->Pending();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20459 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20463 PyObject
* obj0
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 result
= (bool)(arg1
)->Dispatch();
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20487 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20491 PyObject
* obj0
= 0 ;
20492 char *kwnames
[] = {
20493 (char *) "self", NULL
20496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 result
= (bool)(arg1
)->ProcessIdle();
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20515 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20517 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20518 wxWindow
*arg2
= (wxWindow
*) 0 ;
20519 wxIdleEvent
*arg3
= 0 ;
20521 PyObject
* obj0
= 0 ;
20522 PyObject
* obj1
= 0 ;
20523 PyObject
* obj2
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self",(char *) "win",(char *) "event", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20533 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20536 if (arg3
== NULL
) {
20537 PyErr_SetString(PyExc_TypeError
,"null reference");
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20556 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20584 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20587 wxWindow
*arg2
= (wxWindow
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 PyObject
* obj1
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "self",(char *) "win", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 (arg1
)->SetTopWindow(arg2
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 Py_INCREF(Py_None
); resultobj
= Py_None
;
20613 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= wxPyMake_wxObject(result
, 0);
20641 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 PyObject
* obj1
= 0 ;
20647 char *kwnames
[] = {
20648 (char *) "self",(char *) "flag", NULL
20651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20654 arg2
= (bool)SWIG_As_bool(obj1
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 (arg1
)->SetExitOnFrameDelete(arg2
);
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20663 Py_INCREF(Py_None
); resultobj
= Py_None
;
20670 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20674 PyObject
* obj0
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "self", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20698 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20702 PyObject
* obj0
= 0 ;
20703 PyObject
* obj1
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self",(char *) "flag", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20711 arg2
= (bool)SWIG_As_bool(obj1
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 (arg1
)->SetUseBestVisual(arg2
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 Py_INCREF(Py_None
); resultobj
= Py_None
;
20727 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
;
20729 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20731 PyObject
* obj0
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "self", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20755 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 char *kwnames
[] = {
20762 (char *) "self",(char *) "mode", NULL
20765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20768 arg2
= (int)SWIG_As_int(obj1
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 (arg1
)->SetPrintMode(arg2
);
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 Py_INCREF(Py_None
); resultobj
= Py_None
;
20784 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20788 PyObject
* obj0
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= SWIG_From_int((int)result
);
20810 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20814 PyObject
* obj0
= 0 ;
20815 PyObject
* obj1
= 0 ;
20816 char *kwnames
[] = {
20817 (char *) "self",(char *) "mode", NULL
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20823 arg2
= (int)SWIG_As_int(obj1
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 (arg1
)->SetAssertMode(arg2
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 Py_INCREF(Py_None
); resultobj
= Py_None
;
20839 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20843 PyObject
* obj0
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (int)(arg1
)->GetAssertMode();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= SWIG_From_int((int)result
);
20865 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
;
20868 char *kwnames
[] = {
20872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20889 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20892 char *kwnames
[] = {
20896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= SWIG_From_long((long)result
);
20911 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20914 char *kwnames
[] = {
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= SWIG_From_long((long)result
);
20933 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
;
20936 char *kwnames
[] = {
20940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (long)wxPyApp::GetMacExitMenuItemId();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_From_long((long)result
);
20955 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20958 char *kwnames
[] = {
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= wxPyApp::GetMacHelpMenuTitleName();
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20983 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "val", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20992 arg1
= (bool)SWIG_As_bool(obj0
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 Py_INCREF(Py_None
); resultobj
= Py_None
;
21008 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21011 PyObject
* obj0
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "val", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
21017 arg1
= (long)SWIG_As_long(obj0
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 wxPyApp::SetMacAboutMenuItemId(arg1
);
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 Py_INCREF(Py_None
); resultobj
= Py_None
;
21033 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
;
21036 PyObject
* obj0
= 0 ;
21037 char *kwnames
[] = {
21038 (char *) "val", NULL
21041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
21042 arg1
= (long)SWIG_As_long(obj0
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 Py_INCREF(Py_None
); resultobj
= Py_None
;
21058 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21061 PyObject
* obj0
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "val", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
21067 arg1
= (long)SWIG_As_long(obj0
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 wxPyApp::SetMacExitMenuItemId(arg1
);
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 Py_INCREF(Py_None
); resultobj
= Py_None
;
21083 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 wxString
*arg1
= 0 ;
21086 bool temp1
= false ;
21087 PyObject
* obj0
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "val", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
21094 arg1
= wxString_in_helper(obj0
);
21095 if (arg1
== NULL
) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 Py_INCREF(Py_None
); resultobj
= Py_None
;
21120 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21123 PyObject
* obj0
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "self", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 (arg1
)->_BootstrapApp();
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 Py_INCREF(Py_None
); resultobj
= Py_None
;
21145 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21148 char *kwnames
[] = {
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (int)PyApp_GetComCtl32Version();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= SWIG_From_int((int)result
);
21167 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21170 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21172 return Py_BuildValue((char *)"");
21174 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 char *kwnames
[] = {
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 Py_INCREF(Py_None
); resultobj
= Py_None
;
21195 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
;
21198 char *kwnames
[] = {
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 result
= (bool)wxYield();
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21219 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
;
21222 char *kwnames
[] = {
21226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= (bool)wxYieldIfNeeded();
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21243 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
;
21245 wxWindow
*arg1
= (wxWindow
*) NULL
;
21246 bool arg2
= (bool) false ;
21248 PyObject
* obj0
= 0 ;
21249 PyObject
* obj1
= 0 ;
21250 char *kwnames
[] = {
21251 (char *) "win",(char *) "onlyIfNeeded", NULL
21254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21260 arg2
= (bool)SWIG_As_bool(obj1
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (bool)wxSafeYield(arg1
,arg2
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21279 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 char *kwnames
[] = {
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 Py_INCREF(Py_None
); resultobj
= Py_None
;
21300 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
;
21302 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21303 wxEvent
*arg2
= 0 ;
21304 PyObject
* obj0
= 0 ;
21305 PyObject
* obj1
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "dest",(char *) "event", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21316 if (arg2
== NULL
) {
21317 PyErr_SetString(PyExc_TypeError
,"null reference");
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 wxPostEvent(arg1
,*arg2
);
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 Py_INCREF(Py_None
); resultobj
= Py_None
;
21334 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 char *kwnames
[] = {
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 Py_INCREF(Py_None
); resultobj
= Py_None
;
21355 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21358 char *kwnames
[] = {
21362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 result
= (wxPyApp
*)wxPyGetApp();
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= wxPyMake_wxObject(result
, 0);
21379 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21380 PyObject
*resultobj
;
21381 wxEventLoop
*result
;
21382 char *kwnames
[] = {
21386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= (wxEventLoop
*)new wxEventLoop();
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21401 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21403 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21404 PyObject
* obj0
= 0 ;
21405 char *kwnames
[] = {
21406 (char *) "self", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 Py_INCREF(Py_None
); resultobj
= Py_None
;
21426 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self", NULL
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (int)(arg1
)->Run();
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= SWIG_From_int((int)result
);
21452 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21455 int arg2
= (int) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 char *kwnames
[] = {
21459 (char *) "self",(char *) "rc", NULL
21462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21466 arg2
= (int)SWIG_As_int(obj1
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 (arg1
)->Exit(arg2
);
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21476 Py_INCREF(Py_None
); resultobj
= Py_None
;
21483 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
;
21485 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21487 PyObject
* obj0
= 0 ;
21488 char *kwnames
[] = {
21489 (char *) "self", NULL
21492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21511 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
;
21513 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21515 PyObject
* obj0
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 result
= (bool)(arg1
)->Dispatch();
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21539 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21543 PyObject
* obj0
= 0 ;
21544 char *kwnames
[] = {
21545 (char *) "self", NULL
21548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21567 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxEventLoop
*result
;
21570 char *kwnames
[] = {
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21589 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
;
21591 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21592 PyObject
* obj0
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "loop", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 wxEventLoop::SetActive(arg1
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 Py_INCREF(Py_None
); resultobj
= Py_None
;
21614 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21617 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21619 return Py_BuildValue((char *)"");
21621 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
;
21623 int arg1
= (int) 0 ;
21624 int arg2
= (int) 0 ;
21625 int arg3
= (int) 0 ;
21626 wxAcceleratorEntry
*result
;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 PyObject
* obj2
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21636 arg1
= (int)SWIG_As_int(obj0
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 arg2
= (int)SWIG_As_int(obj1
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21644 arg3
= (int)SWIG_As_int(obj2
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21661 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
;
21663 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21664 PyObject
* obj0
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 Py_INCREF(Py_None
); resultobj
= Py_None
;
21686 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 PyObject
* obj2
= 0 ;
21695 PyObject
* obj3
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21703 arg2
= (int)SWIG_As_int(obj1
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21705 arg3
= (int)SWIG_As_int(obj2
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21707 arg4
= (int)SWIG_As_int(obj3
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 (arg1
)->Set(arg2
,arg3
,arg4
);
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 Py_INCREF(Py_None
); resultobj
= Py_None
;
21723 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
;
21725 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21727 PyObject
* obj0
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "self", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 result
= (int)(arg1
)->GetFlags();
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= SWIG_From_int((int)result
);
21749 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21750 PyObject
*resultobj
;
21751 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21753 PyObject
* obj0
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 result
= (int)(arg1
)->GetKeyCode();
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 resultobj
= SWIG_From_int((int)result
);
21775 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21779 PyObject
* obj0
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 result
= (int)(arg1
)->GetCommand();
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= SWIG_From_int((int)result
);
21801 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21804 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21806 return Py_BuildValue((char *)"");
21808 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21811 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21812 wxAcceleratorTable
*result
;
21813 PyObject
* obj0
= 0 ;
21814 char *kwnames
[] = {
21818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21820 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21821 if (arg2
) arg1
= PyList_Size(obj0
);
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21844 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21847 PyObject
* obj0
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 Py_INCREF(Py_None
); resultobj
= Py_None
;
21869 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21870 PyObject
*resultobj
;
21871 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21897 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21900 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21902 return Py_BuildValue((char *)"");
21904 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21905 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21910 static PyObject
*_wrap_NullAcceleratorTable_get() {
21913 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21918 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
;
21920 wxString
*arg1
= 0 ;
21921 wxAcceleratorEntry
*result
;
21922 bool temp1
= false ;
21923 PyObject
* obj0
= 0 ;
21924 char *kwnames
[] = {
21925 (char *) "label", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21930 arg1
= wxString_in_helper(obj0
);
21931 if (arg1
== NULL
) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21956 static int _wrap_PanelNameStr_set(PyObject
*) {
21957 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21962 static PyObject
*_wrap_PanelNameStr_get() {
21967 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21969 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21976 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxVisualAttributes
*result
;
21979 char *kwnames
[] = {
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21998 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
;
22000 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
22007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 delete_wxVisualAttributes(arg1
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 Py_INCREF(Py_None
); resultobj
= Py_None
;
22023 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22026 wxFont
*arg2
= (wxFont
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self",(char *) "font", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
22037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22038 if (arg1
) (arg1
)->font
= *arg2
;
22040 Py_INCREF(Py_None
); resultobj
= Py_None
;
22047 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22051 PyObject
* obj0
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
22057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22059 result
= (wxFont
*)& ((arg1
)->font
);
22061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
22068 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
;
22070 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22071 wxColour
*arg2
= (wxColour
*) 0 ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self",(char *) "colFg", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22083 if (arg1
) (arg1
)->colFg
= *arg2
;
22085 Py_INCREF(Py_None
); resultobj
= Py_None
;
22092 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22094 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22096 PyObject
* obj0
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22104 result
= (wxColour
*)& ((arg1
)->colFg
);
22106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22113 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
;
22115 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22116 wxColour
*arg2
= (wxColour
*) 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self",(char *) "colBg", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22128 if (arg1
) (arg1
)->colBg
= *arg2
;
22130 Py_INCREF(Py_None
); resultobj
= Py_None
;
22137 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22141 PyObject
* obj0
= 0 ;
22142 char *kwnames
[] = {
22143 (char *) "self", NULL
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22149 result
= (wxColour
*)& ((arg1
)->colBg
);
22151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22158 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22161 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22163 return Py_BuildValue((char *)"");
22165 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxWindow
*arg1
= (wxWindow
*) 0 ;
22168 int arg2
= (int) (int)-1 ;
22169 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22170 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22171 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22172 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22173 long arg5
= (long) 0 ;
22174 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22175 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22179 bool temp6
= false ;
22180 PyObject
* obj0
= 0 ;
22181 PyObject
* obj1
= 0 ;
22182 PyObject
* obj2
= 0 ;
22183 PyObject
* obj3
= 0 ;
22184 PyObject
* obj4
= 0 ;
22185 PyObject
* obj5
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22194 arg2
= (int)SWIG_As_int(obj1
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22200 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22206 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22210 arg5
= (long)SWIG_As_long(obj4
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22215 arg6
= wxString_in_helper(obj5
);
22216 if (arg6
== NULL
) SWIG_fail
;
22221 if (!wxPyCheckForApp()) SWIG_fail
;
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22243 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
;
22246 char *kwnames
[] = {
22250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22252 if (!wxPyCheckForApp()) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= (wxWindow
*)new wxWindow();
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22266 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxWindow
*arg1
= (wxWindow
*) 0 ;
22269 wxWindow
*arg2
= (wxWindow
*) 0 ;
22270 int arg3
= (int) (int)-1 ;
22271 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22272 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22273 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22274 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22275 long arg6
= (long) 0 ;
22276 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22277 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22281 bool temp7
= false ;
22282 PyObject
* obj0
= 0 ;
22283 PyObject
* obj1
= 0 ;
22284 PyObject
* obj2
= 0 ;
22285 PyObject
* obj3
= 0 ;
22286 PyObject
* obj4
= 0 ;
22287 PyObject
* obj5
= 0 ;
22288 PyObject
* obj6
= 0 ;
22289 char *kwnames
[] = {
22290 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22299 arg3
= (int)SWIG_As_int(obj2
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22315 arg6
= (long)SWIG_As_long(obj5
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22320 arg7
= wxString_in_helper(obj6
);
22321 if (arg7
== NULL
) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22349 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
;
22351 wxWindow
*arg1
= (wxWindow
*) 0 ;
22352 bool arg2
= (bool) false ;
22354 PyObject
* obj0
= 0 ;
22355 PyObject
* obj1
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "self",(char *) "force", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22364 arg2
= (bool)SWIG_As_bool(obj1
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 result
= (bool)(arg1
)->Close(arg2
);
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22383 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
;
22385 wxWindow
*arg1
= (wxWindow
*) 0 ;
22387 PyObject
* obj0
= 0 ;
22388 char *kwnames
[] = {
22389 (char *) "self", NULL
22392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 result
= (bool)(arg1
)->Destroy();
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22411 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22412 PyObject
*resultobj
;
22413 wxWindow
*arg1
= (wxWindow
*) 0 ;
22415 PyObject
* obj0
= 0 ;
22416 char *kwnames
[] = {
22417 (char *) "self", NULL
22420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 result
= (bool)(arg1
)->DestroyChildren();
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22439 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxWindow
*arg1
= (wxWindow
*) 0 ;
22443 PyObject
* obj0
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22467 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22468 PyObject
*resultobj
;
22469 wxWindow
*arg1
= (wxWindow
*) 0 ;
22470 wxString
*arg2
= 0 ;
22471 bool temp2
= false ;
22472 PyObject
* obj0
= 0 ;
22473 PyObject
* obj1
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self",(char *) "title", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22482 arg2
= wxString_in_helper(obj1
);
22483 if (arg2
== NULL
) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 (arg1
)->SetTitle((wxString
const &)*arg2
);
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 Py_INCREF(Py_None
); resultobj
= Py_None
;
22508 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxWindow
*arg1
= (wxWindow
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "self", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= ((wxWindow
const *)arg1
)->GetTitle();
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22540 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
;
22542 wxWindow
*arg1
= (wxWindow
*) 0 ;
22543 wxString
*arg2
= 0 ;
22544 bool temp2
= false ;
22545 PyObject
* obj0
= 0 ;
22546 PyObject
* obj1
= 0 ;
22547 char *kwnames
[] = {
22548 (char *) "self",(char *) "label", NULL
22551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 arg2
= wxString_in_helper(obj1
);
22556 if (arg2
== NULL
) SWIG_fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 (arg1
)->SetLabel((wxString
const &)*arg2
);
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 Py_INCREF(Py_None
); resultobj
= Py_None
;
22581 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxWindow
*arg1
= (wxWindow
*) 0 ;
22585 PyObject
* obj0
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self", NULL
22590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= ((wxWindow
const *)arg1
)->GetLabel();
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22613 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
;
22615 wxWindow
*arg1
= (wxWindow
*) 0 ;
22616 wxString
*arg2
= 0 ;
22617 bool temp2
= false ;
22618 PyObject
* obj0
= 0 ;
22619 PyObject
* obj1
= 0 ;
22620 char *kwnames
[] = {
22621 (char *) "self",(char *) "name", NULL
22624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22628 arg2
= wxString_in_helper(obj1
);
22629 if (arg2
== NULL
) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 (arg1
)->SetName((wxString
const &)*arg2
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 Py_INCREF(Py_None
); resultobj
= Py_None
;
22654 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxWindow
*arg1
= (wxWindow
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= ((wxWindow
const *)arg1
)->GetName();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22686 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxWindow
*arg1
= (wxWindow
*) 0 ;
22690 PyObject
* obj0
= 0 ;
22691 PyObject
* obj1
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self",(char *) "variant", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22699 arg2
= (int)SWIG_As_int(obj1
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22708 Py_INCREF(Py_None
); resultobj
= Py_None
;
22715 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
;
22717 wxWindow
*arg1
= (wxWindow
*) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= SWIG_From_int((int)result
);
22741 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
;
22743 wxWindow
*arg1
= (wxWindow
*) 0 ;
22745 PyObject
* obj0
= 0 ;
22746 PyObject
* obj1
= 0 ;
22747 char *kwnames
[] = {
22748 (char *) "self",(char *) "winid", NULL
22751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22754 arg2
= (int)SWIG_As_int(obj1
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 (arg1
)->SetId(arg2
);
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 Py_INCREF(Py_None
); resultobj
= Py_None
;
22770 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22771 PyObject
*resultobj
;
22772 wxWindow
*arg1
= (wxWindow
*) 0 ;
22774 PyObject
* obj0
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self", NULL
22779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (int)((wxWindow
const *)arg1
)->GetId();
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= SWIG_From_int((int)result
);
22796 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
;
22799 char *kwnames
[] = {
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (int)wxWindow::NewControlId();
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_From_int((int)result
);
22818 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
;
22822 PyObject
* obj0
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "winid", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22828 arg1
= (int)SWIG_As_int(obj0
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (int)wxWindow::NextControlId(arg1
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= SWIG_From_int((int)result
);
22844 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22848 PyObject
* obj0
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "winid", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22854 arg1
= (int)SWIG_As_int(obj0
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 result
= (int)wxWindow::PrevControlId(arg1
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 resultobj
= SWIG_From_int((int)result
);
22870 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxWindow
*arg1
= (wxWindow
*) 0 ;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self",(char *) "size", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22886 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22890 (arg1
)->SetSize((wxSize
const &)*arg2
);
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 Py_INCREF(Py_None
); resultobj
= Py_None
;
22902 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxWindow
*arg1
= (wxWindow
*) 0 ;
22909 int arg6
= (int) wxSIZE_AUTO
;
22910 PyObject
* obj0
= 0 ;
22911 PyObject
* obj1
= 0 ;
22912 PyObject
* obj2
= 0 ;
22913 PyObject
* obj3
= 0 ;
22914 PyObject
* obj4
= 0 ;
22915 PyObject
* obj5
= 0 ;
22916 char *kwnames
[] = {
22917 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22923 arg2
= (int)SWIG_As_int(obj1
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22925 arg3
= (int)SWIG_As_int(obj2
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22927 arg4
= (int)SWIG_As_int(obj3
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22929 arg5
= (int)SWIG_As_int(obj4
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 arg6
= (int)SWIG_As_int(obj5
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 Py_INCREF(Py_None
); resultobj
= Py_None
;
22949 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxWindow
*arg1
= (wxWindow
*) 0 ;
22953 int arg3
= (int) wxSIZE_AUTO
;
22955 PyObject
* obj0
= 0 ;
22956 PyObject
* obj1
= 0 ;
22957 PyObject
* obj2
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22967 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22970 arg3
= (int)SWIG_As_int(obj2
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 Py_INCREF(Py_None
); resultobj
= Py_None
;
22987 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxWindow
*arg1
= (wxWindow
*) 0 ;
22992 PyObject
* obj0
= 0 ;
22993 PyObject
* obj1
= 0 ;
22994 PyObject
* obj2
= 0 ;
22995 char *kwnames
[] = {
22996 (char *) "self",(char *) "width",(char *) "height", NULL
22999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23002 arg2
= (int)SWIG_As_int(obj1
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23004 arg3
= (int)SWIG_As_int(obj2
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 (arg1
)->SetSize(arg2
,arg3
);
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 Py_INCREF(Py_None
); resultobj
= Py_None
;
23020 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxWindow
*arg1
= (wxWindow
*) 0 ;
23023 wxPoint
*arg2
= 0 ;
23024 int arg3
= (int) wxSIZE_USE_EXISTING
;
23026 PyObject
* obj0
= 0 ;
23027 PyObject
* obj1
= 0 ;
23028 PyObject
* obj2
= 0 ;
23029 char *kwnames
[] = {
23030 (char *) "self",(char *) "pt",(char *) "flags", NULL
23033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23041 arg3
= (int)SWIG_As_int(obj2
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 Py_INCREF(Py_None
); resultobj
= Py_None
;
23058 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxWindow
*arg1
= (wxWindow
*) 0 ;
23063 int arg4
= (int) wxSIZE_USE_EXISTING
;
23064 PyObject
* obj0
= 0 ;
23065 PyObject
* obj1
= 0 ;
23066 PyObject
* obj2
= 0 ;
23067 PyObject
* obj3
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23075 arg2
= (int)SWIG_As_int(obj1
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23077 arg3
= (int)SWIG_As_int(obj2
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 arg4
= (int)SWIG_As_int(obj3
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 (arg1
)->Move(arg2
,arg3
,arg4
);
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 Py_INCREF(Py_None
); resultobj
= Py_None
;
23097 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23099 wxWindow
*arg1
= (wxWindow
*) 0 ;
23100 wxSize
const &arg2_defvalue
= wxDefaultSize
;
23101 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
23103 PyObject
* obj0
= 0 ;
23104 PyObject
* obj1
= 0 ;
23105 char *kwnames
[] = {
23106 (char *) "self",(char *) "size", NULL
23109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23115 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 Py_INCREF(Py_None
); resultobj
= Py_None
;
23132 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23134 wxWindow
*arg1
= (wxWindow
*) 0 ;
23135 PyObject
* obj0
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 Py_INCREF(Py_None
); resultobj
= Py_None
;
23157 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxWindow
*arg1
= (wxWindow
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 Py_INCREF(Py_None
); resultobj
= Py_None
;
23182 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxWindow
*arg1
= (wxWindow
*) 0 ;
23187 PyObject
* obj0
= 0 ;
23188 PyObject
* obj1
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self",(char *) "size", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23198 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 Py_INCREF(Py_None
); resultobj
= Py_None
;
23214 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxWindow
*arg1
= (wxWindow
*) 0 ;
23219 PyObject
* obj0
= 0 ;
23220 PyObject
* obj1
= 0 ;
23221 PyObject
* obj2
= 0 ;
23222 char *kwnames
[] = {
23223 (char *) "self",(char *) "width",(char *) "height", NULL
23226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23229 arg2
= (int)SWIG_As_int(obj1
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23231 arg3
= (int)SWIG_As_int(obj2
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 (arg1
)->SetClientSize(arg2
,arg3
);
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 Py_INCREF(Py_None
); resultobj
= Py_None
;
23247 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23248 PyObject
*resultobj
;
23249 wxWindow
*arg1
= (wxWindow
*) 0 ;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "self",(char *) "rect", NULL
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23263 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxWindow
*arg1
= (wxWindow
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= (arg1
)->GetPosition();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23299 wxPoint
* resultptr
;
23300 resultptr
= new wxPoint((wxPoint
&) result
);
23301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23309 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxWindow
*arg1
= (wxWindow
*) 0 ;
23312 int *arg2
= (int *) 0 ;
23313 int *arg3
= (int *) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self", NULL
23323 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23324 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 (arg1
)->GetPosition(arg2
,arg3
);
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23335 Py_INCREF(Py_None
); resultobj
= Py_None
;
23336 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23337 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23338 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23339 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23346 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxWindow
*arg1
= (wxWindow
*) 0 ;
23350 PyObject
* obj0
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "self", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 result
= ((wxWindow
const *)arg1
)->GetSize();
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23366 wxSize
* resultptr
;
23367 resultptr
= new wxSize((wxSize
&) result
);
23368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23376 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23377 PyObject
*resultobj
;
23378 wxWindow
*arg1
= (wxWindow
*) 0 ;
23379 int *arg2
= (int *) 0 ;
23380 int *arg3
= (int *) 0 ;
23385 PyObject
* obj0
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self", NULL
23390 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23391 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23402 Py_INCREF(Py_None
); resultobj
= Py_None
;
23403 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23404 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23405 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23406 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23413 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
;
23415 wxWindow
*arg1
= (wxWindow
*) 0 ;
23417 PyObject
* obj0
= 0 ;
23418 char *kwnames
[] = {
23419 (char *) "self", NULL
23422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 result
= ((wxWindow
const *)arg1
)->GetRect();
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23433 wxRect
* resultptr
;
23434 resultptr
= new wxRect((wxRect
&) result
);
23435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23443 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxWindow
*arg1
= (wxWindow
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23463 wxSize
* resultptr
;
23464 resultptr
= new wxSize((wxSize
&) result
);
23465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23473 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
;
23475 wxWindow
*arg1
= (wxWindow
*) 0 ;
23476 int *arg2
= (int *) 0 ;
23477 int *arg3
= (int *) 0 ;
23482 PyObject
* obj0
= 0 ;
23483 char *kwnames
[] = {
23484 (char *) "self", NULL
23487 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23488 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 Py_INCREF(Py_None
); resultobj
= Py_None
;
23500 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23501 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23502 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23503 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23510 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
;
23512 wxWindow
*arg1
= (wxWindow
*) 0 ;
23514 PyObject
* obj0
= 0 ;
23515 char *kwnames
[] = {
23516 (char *) "self", NULL
23519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23530 wxPoint
* resultptr
;
23531 resultptr
= new wxPoint((wxPoint
&) result
);
23532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23540 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxWindow
*arg1
= (wxWindow
*) 0 ;
23544 PyObject
* obj0
= 0 ;
23545 char *kwnames
[] = {
23546 (char *) "self", NULL
23549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23560 wxRect
* resultptr
;
23561 resultptr
= new wxRect((wxRect
&) result
);
23562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23570 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxWindow
*arg1
= (wxWindow
*) 0 ;
23574 PyObject
* obj0
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 wxSize
* resultptr
;
23591 resultptr
= new wxSize((wxSize
&) result
);
23592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23600 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
;
23602 wxWindow
*arg1
= (wxWindow
*) 0 ;
23603 int *arg2
= (int *) 0 ;
23604 int *arg3
= (int *) 0 ;
23609 PyObject
* obj0
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self", NULL
23614 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23615 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 Py_INCREF(Py_None
); resultobj
= Py_None
;
23627 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23628 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23629 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23630 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23637 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxWindow
*arg1
= (wxWindow
*) 0 ;
23640 PyObject
* obj0
= 0 ;
23641 char *kwnames
[] = {
23642 (char *) "self", NULL
23645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 (arg1
)->InvalidateBestSize();
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 Py_INCREF(Py_None
); resultobj
= Py_None
;
23662 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxWindow
*arg1
= (wxWindow
*) 0 ;
23666 PyObject
* obj0
= 0 ;
23667 char *kwnames
[] = {
23668 (char *) "self", NULL
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23682 wxSize
* resultptr
;
23683 resultptr
= new wxSize((wxSize
&) result
);
23684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23692 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
;
23694 wxWindow
*arg1
= (wxWindow
*) 0 ;
23696 PyObject
* obj0
= 0 ;
23697 char *kwnames
[] = {
23698 (char *) "self", NULL
23701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23712 wxSize
* resultptr
;
23713 resultptr
= new wxSize((wxSize
&) result
);
23714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23722 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxWindow
*arg1
= (wxWindow
*) 0 ;
23725 int arg2
= (int) wxBOTH
;
23726 PyObject
* obj0
= 0 ;
23727 PyObject
* obj1
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self",(char *) "direction", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23736 arg2
= (int)SWIG_As_int(obj1
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 (arg1
)->Center(arg2
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 Py_INCREF(Py_None
); resultobj
= Py_None
;
23753 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxWindow
*arg1
= (wxWindow
*) 0 ;
23756 int arg2
= (int) wxBOTH
;
23757 PyObject
* obj0
= 0 ;
23758 PyObject
* obj1
= 0 ;
23759 char *kwnames
[] = {
23760 (char *) "self",(char *) "dir", NULL
23763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23767 arg2
= (int)SWIG_As_int(obj1
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 (arg1
)->CenterOnScreen(arg2
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 Py_INCREF(Py_None
); resultobj
= Py_None
;
23784 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxWindow
*arg1
= (wxWindow
*) 0 ;
23787 int arg2
= (int) wxBOTH
;
23788 PyObject
* obj0
= 0 ;
23789 PyObject
* obj1
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "self",(char *) "dir", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23798 arg2
= (int)SWIG_As_int(obj1
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 (arg1
)->CenterOnParent(arg2
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 Py_INCREF(Py_None
); resultobj
= Py_None
;
23815 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
;
23817 wxWindow
*arg1
= (wxWindow
*) 0 ;
23818 PyObject
* obj0
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 Py_INCREF(Py_None
); resultobj
= Py_None
;
23840 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
;
23842 wxWindow
*arg1
= (wxWindow
*) 0 ;
23843 PyObject
* obj0
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 (arg1
)->FitInside();
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 Py_INCREF(Py_None
); resultobj
= Py_None
;
23865 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
;
23867 wxWindow
*arg1
= (wxWindow
*) 0 ;
23870 int arg4
= (int) -1 ;
23871 int arg5
= (int) -1 ;
23872 int arg6
= (int) -1 ;
23873 int arg7
= (int) -1 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 PyObject
* obj2
= 0 ;
23877 PyObject
* obj3
= 0 ;
23878 PyObject
* obj4
= 0 ;
23879 PyObject
* obj5
= 0 ;
23880 PyObject
* obj6
= 0 ;
23881 char *kwnames
[] = {
23882 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 arg2
= (int)SWIG_As_int(obj1
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23890 arg3
= (int)SWIG_As_int(obj2
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 arg4
= (int)SWIG_As_int(obj3
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 arg5
= (int)SWIG_As_int(obj4
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23901 arg6
= (int)SWIG_As_int(obj5
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23905 arg7
= (int)SWIG_As_int(obj6
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23915 Py_INCREF(Py_None
); resultobj
= Py_None
;
23922 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxWindow
*arg1
= (wxWindow
*) 0 ;
23926 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23927 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23928 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23929 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23933 PyObject
* obj0
= 0 ;
23934 PyObject
* obj1
= 0 ;
23935 PyObject
* obj2
= 0 ;
23936 PyObject
* obj3
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23946 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23951 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23957 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23967 Py_INCREF(Py_None
); resultobj
= Py_None
;
23974 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
;
23976 wxWindow
*arg1
= (wxWindow
*) 0 ;
23979 int arg4
= (int) -1 ;
23980 int arg5
= (int) -1 ;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 PyObject
* obj2
= 0 ;
23984 PyObject
* obj3
= 0 ;
23985 PyObject
* obj4
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23993 arg2
= (int)SWIG_As_int(obj1
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23995 arg3
= (int)SWIG_As_int(obj2
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 arg4
= (int)SWIG_As_int(obj3
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24002 arg5
= (int)SWIG_As_int(obj4
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxWindow
*arg1
= (wxWindow
*) 0 ;
24023 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24024 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 PyObject
* obj2
= 0 ;
24030 char *kwnames
[] = {
24031 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
24034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24039 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24044 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24054 Py_INCREF(Py_None
); resultobj
= Py_None
;
24061 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
;
24063 wxWindow
*arg1
= (wxWindow
*) 0 ;
24065 PyObject
* obj0
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24081 wxSize
* resultptr
;
24082 resultptr
= new wxSize((wxSize
&) result
);
24083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24091 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxWindow
*arg1
= (wxWindow
*) 0 ;
24095 PyObject
* obj0
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
24101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 result
= ((wxWindow
const *)arg1
)->GetMinSize();
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24111 wxSize
* resultptr
;
24112 resultptr
= new wxSize((wxSize
&) result
);
24113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24121 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24123 wxWindow
*arg1
= (wxWindow
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 char *kwnames
[] = {
24129 (char *) "self",(char *) "minSize", NULL
24132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24137 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 Py_INCREF(Py_None
); resultobj
= Py_None
;
24153 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
;
24155 wxWindow
*arg1
= (wxWindow
*) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 char *kwnames
[] = {
24161 (char *) "self",(char *) "maxSize", NULL
24164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24169 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 Py_INCREF(Py_None
); resultobj
= Py_None
;
24185 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxWindow
*arg1
= (wxWindow
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24204 resultobj
= SWIG_From_int((int)result
);
24211 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 wxWindow
*arg1
= (wxWindow
*) 0 ;
24215 PyObject
* obj0
= 0 ;
24216 char *kwnames
[] = {
24217 (char *) "self", NULL
24220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_From_int((int)result
);
24237 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
;
24239 wxWindow
*arg1
= (wxWindow
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_From_int((int)result
);
24263 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxWindow
*arg1
= (wxWindow
*) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= SWIG_From_int((int)result
);
24289 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxWindow
*arg1
= (wxWindow
*) 0 ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "self",(char *) "size", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24305 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 Py_INCREF(Py_None
); resultobj
= Py_None
;
24321 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxWindow
*arg1
= (wxWindow
*) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 PyObject
* obj2
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self",(char *) "w",(char *) "h", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24336 arg2
= (int)SWIG_As_int(obj1
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24338 arg3
= (int)SWIG_As_int(obj2
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 (arg1
)->SetVirtualSize(arg2
,arg3
);
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24347 Py_INCREF(Py_None
); resultobj
= Py_None
;
24354 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
;
24356 wxWindow
*arg1
= (wxWindow
*) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 char *kwnames
[] = {
24360 (char *) "self", NULL
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24374 wxSize
* resultptr
;
24375 resultptr
= new wxSize((wxSize
&) result
);
24376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24384 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24385 PyObject
*resultobj
;
24386 wxWindow
*arg1
= (wxWindow
*) 0 ;
24387 int *arg2
= (int *) 0 ;
24388 int *arg3
= (int *) 0 ;
24393 PyObject
* obj0
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self", NULL
24398 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24399 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 Py_INCREF(Py_None
); resultobj
= Py_None
;
24411 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24412 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24413 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24414 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24421 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 wxWindow
*arg1
= (wxWindow
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24441 wxSize
* resultptr
;
24442 resultptr
= new wxSize((wxSize
&) result
);
24443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24451 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxWindow
*arg1
= (wxWindow
*) 0 ;
24454 bool arg2
= (bool) true ;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 char *kwnames
[] = {
24459 (char *) "self",(char *) "show", NULL
24462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24466 arg2
= (bool)SWIG_As_bool(obj1
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 result
= (bool)(arg1
)->Show(arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24485 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxWindow
*arg1
= (wxWindow
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (bool)(arg1
)->Hide();
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24513 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24514 PyObject
*resultobj
;
24515 wxWindow
*arg1
= (wxWindow
*) 0 ;
24516 bool arg2
= (bool) true ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 char *kwnames
[] = {
24521 (char *) "self",(char *) "enable", NULL
24524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 arg2
= (bool)SWIG_As_bool(obj1
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 result
= (bool)(arg1
)->Enable(arg2
);
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24547 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxWindow
*arg1
= (wxWindow
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (bool)(arg1
)->Disable();
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24575 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxWindow
*arg1
= (wxWindow
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24603 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxWindow
*arg1
= (wxWindow
*) 0 ;
24607 PyObject
* obj0
= 0 ;
24608 char *kwnames
[] = {
24609 (char *) "self", NULL
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24631 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 wxWindow
*arg1
= (wxWindow
*) 0 ;
24635 PyObject
* obj0
= 0 ;
24636 PyObject
* obj1
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "self",(char *) "style", NULL
24641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24644 arg2
= (long)SWIG_As_long(obj1
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 (arg1
)->SetWindowStyleFlag(arg2
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 Py_INCREF(Py_None
); resultobj
= Py_None
;
24660 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxWindow
*arg1
= (wxWindow
*) 0 ;
24664 PyObject
* obj0
= 0 ;
24665 char *kwnames
[] = {
24666 (char *) "self", NULL
24669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= SWIG_From_long((long)result
);
24686 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxWindow
*arg1
= (wxWindow
*) 0 ;
24691 PyObject
* obj0
= 0 ;
24692 PyObject
* obj1
= 0 ;
24693 char *kwnames
[] = {
24694 (char *) "self",(char *) "flag", NULL
24697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24700 arg2
= (int)SWIG_As_int(obj1
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24718 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24719 PyObject
*resultobj
;
24720 wxWindow
*arg1
= (wxWindow
*) 0 ;
24722 PyObject
* obj0
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24732 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24746 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxWindow
*arg1
= (wxWindow
*) 0 ;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self",(char *) "exStyle", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24759 arg2
= (long)SWIG_As_long(obj1
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 (arg1
)->SetExtraStyle(arg2
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 Py_INCREF(Py_None
); resultobj
= Py_None
;
24775 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxWindow
*arg1
= (wxWindow
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_From_long((long)result
);
24801 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxWindow
*arg1
= (wxWindow
*) 0 ;
24804 bool arg2
= (bool) true ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self",(char *) "modal", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24815 arg2
= (bool)SWIG_As_bool(obj1
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 (arg1
)->MakeModal(arg2
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 Py_INCREF(Py_None
); resultobj
= Py_None
;
24832 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxWindow
*arg1
= (wxWindow
*) 0 ;
24836 PyObject
* obj0
= 0 ;
24837 PyObject
* obj1
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self",(char *) "enableTheme", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24845 arg2
= (bool)SWIG_As_bool(obj1
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 (arg1
)->SetThemeEnabled(arg2
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 Py_INCREF(Py_None
); resultobj
= Py_None
;
24861 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxWindow
*arg1
= (wxWindow
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24889 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxWindow
*arg1
= (wxWindow
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 char *kwnames
[] = {
24894 (char *) "self", NULL
24897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 (arg1
)->SetFocus();
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24907 Py_INCREF(Py_None
); resultobj
= Py_None
;
24914 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
;
24916 wxWindow
*arg1
= (wxWindow
*) 0 ;
24917 PyObject
* obj0
= 0 ;
24918 char *kwnames
[] = {
24919 (char *) "self", NULL
24922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 (arg1
)->SetFocusFromKbd();
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24932 Py_INCREF(Py_None
); resultobj
= Py_None
;
24939 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24942 char *kwnames
[] = {
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24948 if (!wxPyCheckForApp()) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= (wxWindow
*)wxWindow::FindFocus();
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= wxPyMake_wxObject(result
, 0);
24964 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
;
24966 wxWindow
*arg1
= (wxWindow
*) 0 ;
24968 PyObject
* obj0
= 0 ;
24969 char *kwnames
[] = {
24970 (char *) "self", NULL
24973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24980 wxPyEndAllowThreads(__tstate
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24992 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
;
24994 wxWindow
*arg1
= (wxWindow
*) 0 ;
24996 PyObject
* obj0
= 0 ;
24997 char *kwnames
[] = {
24998 (char *) "self", NULL
25001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25006 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
25008 wxPyEndAllowThreads(__tstate
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25020 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
;
25022 wxWindow
*arg1
= (wxWindow
*) 0 ;
25024 PyObject
* obj0
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "self", NULL
25029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
25030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25040 resultobj
= wxPyMake_wxObject(result
, 0);
25048 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
;
25050 wxWindow
*arg1
= (wxWindow
*) 0 ;
25051 wxWindow
*arg2
= (wxWindow
*) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 char *kwnames
[] = {
25056 (char *) "self",(char *) "child", NULL
25059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25072 resultobj
= wxPyMake_wxObject(result
, 0);
25080 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxWindow
*arg1
= (wxWindow
*) 0 ;
25083 wxWindow
*arg2
= (wxWindow
*) 0 ;
25084 PyObject
* obj0
= 0 ;
25085 PyObject
* obj1
= 0 ;
25086 char *kwnames
[] = {
25087 (char *) "self",(char *) "win", NULL
25090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 (arg1
)->SetTmpDefaultItem(arg2
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 Py_INCREF(Py_None
); resultobj
= Py_None
;
25109 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25110 PyObject
*resultobj
;
25111 wxWindow
*arg1
= (wxWindow
*) 0 ;
25112 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
25114 PyObject
* obj0
= 0 ;
25115 PyObject
* obj1
= 0 ;
25116 char *kwnames
[] = {
25117 (char *) "self",(char *) "flags", NULL
25120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25124 arg2
= (int)SWIG_As_int(obj1
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 result
= (bool)(arg1
)->Navigate(arg2
);
25131 wxPyEndAllowThreads(__tstate
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25143 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25144 PyObject
*resultobj
;
25145 wxWindow
*arg1
= (wxWindow
*) 0 ;
25146 wxWindow
*arg2
= (wxWindow
*) 0 ;
25147 PyObject
* obj0
= 0 ;
25148 PyObject
* obj1
= 0 ;
25149 char *kwnames
[] = {
25150 (char *) "self",(char *) "win", NULL
25153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 (arg1
)->MoveAfterInTabOrder(arg2
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 Py_INCREF(Py_None
); resultobj
= Py_None
;
25172 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25174 wxWindow
*arg1
= (wxWindow
*) 0 ;
25175 wxWindow
*arg2
= (wxWindow
*) 0 ;
25176 PyObject
* obj0
= 0 ;
25177 PyObject
* obj1
= 0 ;
25178 char *kwnames
[] = {
25179 (char *) "self",(char *) "win", NULL
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 (arg1
)->MoveBeforeInTabOrder(arg2
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 Py_INCREF(Py_None
); resultobj
= Py_None
;
25201 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxWindow
*arg1
= (wxWindow
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= result
;
25227 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxWindow
*arg1
= (wxWindow
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "self", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= wxPyMake_wxObject(result
, 0);
25255 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
;
25257 wxWindow
*arg1
= (wxWindow
*) 0 ;
25259 PyObject
* obj0
= 0 ;
25260 char *kwnames
[] = {
25261 (char *) "self", NULL
25264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25269 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25271 wxPyEndAllowThreads(__tstate
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= wxPyMake_wxObject(result
, 0);
25283 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25284 PyObject
*resultobj
;
25285 wxWindow
*arg1
= (wxWindow
*) 0 ;
25287 PyObject
* obj0
= 0 ;
25288 char *kwnames
[] = {
25289 (char *) "self", NULL
25292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25311 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxWindow
*arg1
= (wxWindow
*) 0 ;
25314 wxWindow
*arg2
= (wxWindow
*) 0 ;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self",(char *) "newParent", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 result
= (bool)(arg1
)->Reparent(arg2
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25343 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxWindow
*arg1
= (wxWindow
*) 0 ;
25346 wxWindow
*arg2
= (wxWindow
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self",(char *) "child", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 (arg1
)->AddChild(arg2
);
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25365 Py_INCREF(Py_None
); resultobj
= Py_None
;
25372 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25373 PyObject
*resultobj
;
25374 wxWindow
*arg1
= (wxWindow
*) 0 ;
25375 wxWindow
*arg2
= (wxWindow
*) 0 ;
25376 PyObject
* obj0
= 0 ;
25377 PyObject
* obj1
= 0 ;
25378 char *kwnames
[] = {
25379 (char *) "self",(char *) "child", NULL
25382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25389 (arg1
)->RemoveChild(arg2
);
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 Py_INCREF(Py_None
); resultobj
= Py_None
;
25401 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxWindow
*arg1
= (wxWindow
*) 0 ;
25406 PyObject
* obj0
= 0 ;
25407 PyObject
* obj1
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "self",(char *) "winid", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25415 arg2
= (long)SWIG_As_long(obj1
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= wxPyMake_wxObject(result
, 0);
25433 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
;
25435 wxWindow
*arg1
= (wxWindow
*) 0 ;
25436 wxString
*arg2
= 0 ;
25438 bool temp2
= false ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self",(char *) "name", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25449 arg2
= wxString_in_helper(obj1
);
25450 if (arg2
== NULL
) SWIG_fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25461 resultobj
= wxPyMake_wxObject(result
, 0);
25477 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxWindow
*arg1
= (wxWindow
*) 0 ;
25480 wxEvtHandler
*result
;
25481 PyObject
* obj0
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= wxPyMake_wxObject(result
, 0);
25505 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxWindow
*arg1
= (wxWindow
*) 0 ;
25508 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25509 PyObject
* obj0
= 0 ;
25510 PyObject
* obj1
= 0 ;
25511 char *kwnames
[] = {
25512 (char *) "self",(char *) "handler", NULL
25515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 (arg1
)->SetEventHandler(arg2
);
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25527 Py_INCREF(Py_None
); resultobj
= Py_None
;
25534 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
;
25536 wxWindow
*arg1
= (wxWindow
*) 0 ;
25537 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25538 PyObject
* obj0
= 0 ;
25539 PyObject
* obj1
= 0 ;
25540 char *kwnames
[] = {
25541 (char *) "self",(char *) "handler", NULL
25544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 (arg1
)->PushEventHandler(arg2
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 Py_INCREF(Py_None
); resultobj
= Py_None
;
25563 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
;
25565 wxWindow
*arg1
= (wxWindow
*) 0 ;
25566 bool arg2
= (bool) false ;
25567 wxEvtHandler
*result
;
25568 PyObject
* obj0
= 0 ;
25569 PyObject
* obj1
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self",(char *) "deleteHandler", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25578 arg2
= (bool)SWIG_As_bool(obj1
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25589 resultobj
= wxPyMake_wxObject(result
, 0);
25597 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25598 PyObject
*resultobj
;
25599 wxWindow
*arg1
= (wxWindow
*) 0 ;
25600 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25602 PyObject
* obj0
= 0 ;
25603 PyObject
* obj1
= 0 ;
25604 char *kwnames
[] = {
25605 (char *) "self",(char *) "handler", NULL
25608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25629 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
;
25631 wxWindow
*arg1
= (wxWindow
*) 0 ;
25632 wxValidator
*arg2
= 0 ;
25633 PyObject
* obj0
= 0 ;
25634 PyObject
* obj1
= 0 ;
25635 char *kwnames
[] = {
25636 (char *) "self",(char *) "validator", NULL
25639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25645 if (arg2
== NULL
) {
25646 PyErr_SetString(PyExc_TypeError
,"null reference");
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 Py_INCREF(Py_None
); resultobj
= Py_None
;
25663 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
;
25665 wxWindow
*arg1
= (wxWindow
*) 0 ;
25666 wxValidator
*result
;
25667 PyObject
* obj0
= 0 ;
25668 char *kwnames
[] = {
25669 (char *) "self", NULL
25672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= (wxValidator
*)(arg1
)->GetValidator();
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25683 resultobj
= wxPyMake_wxObject(result
, 0);
25691 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxWindow
*arg1
= (wxWindow
*) 0 ;
25695 PyObject
* obj0
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "self", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 result
= (bool)(arg1
)->Validate();
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25719 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25721 wxWindow
*arg1
= (wxWindow
*) 0 ;
25723 PyObject
* obj0
= 0 ;
25724 char *kwnames
[] = {
25725 (char *) "self", NULL
25728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 result
= (bool)(arg1
)->TransferDataToWindow();
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25747 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
;
25749 wxWindow
*arg1
= (wxWindow
*) 0 ;
25751 PyObject
* obj0
= 0 ;
25752 char *kwnames
[] = {
25753 (char *) "self", NULL
25756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 result
= (bool)(arg1
)->TransferDataFromWindow();
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25775 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
;
25777 wxWindow
*arg1
= (wxWindow
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 (arg1
)->InitDialog();
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25793 Py_INCREF(Py_None
); resultobj
= Py_None
;
25800 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
;
25802 wxWindow
*arg1
= (wxWindow
*) 0 ;
25803 wxAcceleratorTable
*arg2
= 0 ;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self",(char *) "accel", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25816 if (arg2
== NULL
) {
25817 PyErr_SetString(PyExc_TypeError
,"null reference");
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 Py_INCREF(Py_None
); resultobj
= Py_None
;
25834 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
;
25836 wxWindow
*arg1
= (wxWindow
*) 0 ;
25837 wxAcceleratorTable
*result
;
25838 PyObject
* obj0
= 0 ;
25839 char *kwnames
[] = {
25840 (char *) "self", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25860 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25861 PyObject
*resultobj
;
25862 wxWindow
*arg1
= (wxWindow
*) 0 ;
25867 PyObject
* obj0
= 0 ;
25868 PyObject
* obj1
= 0 ;
25869 PyObject
* obj2
= 0 ;
25870 PyObject
* obj3
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25878 arg2
= (int)SWIG_As_int(obj1
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25880 arg3
= (int)SWIG_As_int(obj2
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25882 arg4
= (int)SWIG_As_int(obj3
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25900 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
;
25902 wxWindow
*arg1
= (wxWindow
*) 0 ;
25905 PyObject
* obj0
= 0 ;
25906 PyObject
* obj1
= 0 ;
25907 char *kwnames
[] = {
25908 (char *) "self",(char *) "hotkeyId", NULL
25911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25914 arg2
= (int)SWIG_As_int(obj1
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25918 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25932 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
;
25934 wxWindow
*arg1
= (wxWindow
*) 0 ;
25935 wxPoint
*arg2
= 0 ;
25938 PyObject
* obj0
= 0 ;
25939 PyObject
* obj1
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self",(char *) "pt", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25949 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25959 wxPoint
* resultptr
;
25960 resultptr
= new wxPoint((wxPoint
&) result
);
25961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25969 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
;
25971 wxWindow
*arg1
= (wxWindow
*) 0 ;
25975 PyObject
* obj0
= 0 ;
25976 PyObject
* obj1
= 0 ;
25977 char *kwnames
[] = {
25978 (char *) "self",(char *) "sz", NULL
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25986 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25990 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25996 wxSize
* resultptr
;
25997 resultptr
= new wxSize((wxSize
&) result
);
25998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26006 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
;
26008 wxWindow
*arg1
= (wxWindow
*) 0 ;
26009 wxPoint
*arg2
= 0 ;
26012 PyObject
* obj0
= 0 ;
26013 PyObject
* obj1
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self",(char *) "pt", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26033 wxPoint
* resultptr
;
26034 resultptr
= new wxPoint((wxPoint
&) result
);
26035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26043 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxWindow
*arg1
= (wxWindow
*) 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 char *kwnames
[] = {
26052 (char *) "self",(char *) "sz", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
26056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26060 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26070 wxSize
* resultptr
;
26071 resultptr
= new wxSize((wxSize
&) result
);
26072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26080 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
;
26082 wxWindow
*arg1
= (wxWindow
*) 0 ;
26083 wxPoint
*arg2
= 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "self",(char *) "pt", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26097 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26107 wxPoint
* resultptr
;
26108 resultptr
= new wxPoint((wxPoint
&) result
);
26109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26117 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
;
26119 wxWindow
*arg1
= (wxWindow
*) 0 ;
26123 PyObject
* obj0
= 0 ;
26124 PyObject
* obj1
= 0 ;
26125 char *kwnames
[] = {
26126 (char *) "self",(char *) "sz", NULL
26129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26144 wxSize
* resultptr
;
26145 resultptr
= new wxSize((wxSize
&) result
);
26146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26154 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxWindow
*arg1
= (wxWindow
*) 0 ;
26159 PyObject
* obj0
= 0 ;
26160 PyObject
* obj1
= 0 ;
26161 PyObject
* obj2
= 0 ;
26162 char *kwnames
[] = {
26163 (char *) "self",(char *) "x",(char *) "y", NULL
26166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26169 arg2
= (int)SWIG_As_int(obj1
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26171 arg3
= (int)SWIG_As_int(obj2
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26175 (arg1
)->WarpPointer(arg2
,arg3
);
26177 wxPyEndAllowThreads(__tstate
);
26178 if (PyErr_Occurred()) SWIG_fail
;
26180 Py_INCREF(Py_None
); resultobj
= Py_None
;
26187 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
;
26189 wxWindow
*arg1
= (wxWindow
*) 0 ;
26190 PyObject
* obj0
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 (arg1
)->CaptureMouse();
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 Py_INCREF(Py_None
); resultobj
= Py_None
;
26212 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxWindow
*arg1
= (wxWindow
*) 0 ;
26215 PyObject
* obj0
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 (arg1
)->ReleaseMouse();
26227 wxPyEndAllowThreads(__tstate
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26230 Py_INCREF(Py_None
); resultobj
= Py_None
;
26237 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
;
26240 char *kwnames
[] = {
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26246 if (!wxPyCheckForApp()) SWIG_fail
;
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 result
= (wxWindow
*)wxWindow::GetCapture();
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26254 resultobj
= wxPyMake_wxObject(result
, 0);
26262 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxWindow
*arg1
= (wxWindow
*) 0 ;
26266 PyObject
* obj0
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26290 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxWindow
*arg1
= (wxWindow
*) 0 ;
26293 bool arg2
= (bool) true ;
26294 wxRect
*arg3
= (wxRect
*) NULL
;
26295 PyObject
* obj0
= 0 ;
26296 PyObject
* obj1
= 0 ;
26297 PyObject
* obj2
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26306 arg2
= (bool)SWIG_As_bool(obj1
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26310 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 Py_INCREF(Py_None
); resultobj
= Py_None
;
26327 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
;
26329 wxWindow
*arg1
= (wxWindow
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self",(char *) "rect", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26343 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26347 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26349 wxPyEndAllowThreads(__tstate
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26352 Py_INCREF(Py_None
); resultobj
= Py_None
;
26359 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26360 PyObject
*resultobj
;
26361 wxWindow
*arg1
= (wxWindow
*) 0 ;
26362 PyObject
* obj0
= 0 ;
26363 char *kwnames
[] = {
26364 (char *) "self", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 Py_INCREF(Py_None
); resultobj
= Py_None
;
26384 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
;
26386 wxWindow
*arg1
= (wxWindow
*) 0 ;
26387 PyObject
* obj0
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 (arg1
)->ClearBackground();
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 Py_INCREF(Py_None
); resultobj
= Py_None
;
26409 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
;
26411 wxWindow
*arg1
= (wxWindow
*) 0 ;
26412 PyObject
* obj0
= 0 ;
26413 char *kwnames
[] = {
26414 (char *) "self", NULL
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26427 Py_INCREF(Py_None
); resultobj
= Py_None
;
26434 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
;
26436 wxWindow
*arg1
= (wxWindow
*) 0 ;
26437 PyObject
* obj0
= 0 ;
26438 char *kwnames
[] = {
26439 (char *) "self", NULL
26442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 Py_INCREF(Py_None
); resultobj
= Py_None
;
26459 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
;
26461 wxWindow
*arg1
= (wxWindow
*) 0 ;
26463 PyObject
* obj0
= 0 ;
26464 PyObject
* obj1
= 0 ;
26465 char *kwnames
[] = {
26466 (char *) "self",(char *) "dc", NULL
26469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26475 if (arg2
== NULL
) {
26476 PyErr_SetString(PyExc_TypeError
,"null reference");
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 (arg1
)->PrepareDC(*arg2
);
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 Py_INCREF(Py_None
); resultobj
= Py_None
;
26493 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxWindow
*arg1
= (wxWindow
*) 0 ;
26497 PyObject
* obj0
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26509 result
= (wxRegion
*) &_result_ref
;
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26522 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26524 wxWindow
*arg1
= (wxWindow
*) 0 ;
26526 PyObject
* obj0
= 0 ;
26527 char *kwnames
[] = {
26528 (char *) "self", NULL
26531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26538 wxPyEndAllowThreads(__tstate
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26542 wxRect
* resultptr
;
26543 resultptr
= new wxRect((wxRect
&) result
);
26544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26552 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
;
26554 wxWindow
*arg1
= (wxWindow
*) 0 ;
26557 int arg4
= (int) 1 ;
26558 int arg5
= (int) 1 ;
26560 PyObject
* obj0
= 0 ;
26561 PyObject
* obj1
= 0 ;
26562 PyObject
* obj2
= 0 ;
26563 PyObject
* obj3
= 0 ;
26564 PyObject
* obj4
= 0 ;
26565 char *kwnames
[] = {
26566 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26572 arg2
= (int)SWIG_As_int(obj1
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26574 arg3
= (int)SWIG_As_int(obj2
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 arg4
= (int)SWIG_As_int(obj3
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26581 arg5
= (int)SWIG_As_int(obj4
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26600 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxWindow
*arg1
= (wxWindow
*) 0 ;
26603 wxPoint
*arg2
= 0 ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char *kwnames
[] = {
26609 (char *) "self",(char *) "pt", NULL
26612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26635 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26636 PyObject
*resultobj
;
26637 wxWindow
*arg1
= (wxWindow
*) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 char *kwnames
[] = {
26644 (char *) "self",(char *) "rect", NULL
26647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26652 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26670 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26671 PyObject
*resultobj
;
26672 wxWindow
*arg1
= (wxWindow
*) 0 ;
26673 wxVisualAttributes result
;
26674 PyObject
* obj0
= 0 ;
26675 char *kwnames
[] = {
26676 (char *) "self", NULL
26679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26690 wxVisualAttributes
* resultptr
;
26691 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26700 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26701 PyObject
*resultobj
;
26702 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26703 wxVisualAttributes result
;
26704 PyObject
* obj0
= 0 ;
26705 char *kwnames
[] = {
26706 (char *) "variant", NULL
26709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26711 arg1
= (int)SWIG_As_int(obj0
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26715 if (!wxPyCheckForApp()) SWIG_fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 wxVisualAttributes
* resultptr
;
26724 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26733 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26734 PyObject
*resultobj
;
26735 wxWindow
*arg1
= (wxWindow
*) 0 ;
26736 wxColour
*arg2
= 0 ;
26739 PyObject
* obj0
= 0 ;
26740 PyObject
* obj1
= 0 ;
26741 char *kwnames
[] = {
26742 (char *) "self",(char *) "colour", NULL
26745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26750 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26768 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26769 PyObject
*resultobj
;
26770 wxWindow
*arg1
= (wxWindow
*) 0 ;
26771 wxColour
*arg2
= 0 ;
26773 PyObject
* obj0
= 0 ;
26774 PyObject
* obj1
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "colour", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26784 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 Py_INCREF(Py_None
); resultobj
= Py_None
;
26800 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxWindow
*arg1
= (wxWindow
*) 0 ;
26803 wxColour
*arg2
= 0 ;
26806 PyObject
* obj0
= 0 ;
26807 PyObject
* obj1
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "self",(char *) "colour", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26817 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26835 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
;
26837 wxWindow
*arg1
= (wxWindow
*) 0 ;
26838 wxColour
*arg2
= 0 ;
26840 PyObject
* obj0
= 0 ;
26841 PyObject
* obj1
= 0 ;
26842 char *kwnames
[] = {
26843 (char *) "self",(char *) "colour", NULL
26846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26851 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26860 Py_INCREF(Py_None
); resultobj
= Py_None
;
26867 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26868 PyObject
*resultobj
;
26869 wxWindow
*arg1
= (wxWindow
*) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26887 wxColour
* resultptr
;
26888 resultptr
= new wxColour((wxColour
&) result
);
26889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26897 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
;
26899 wxWindow
*arg1
= (wxWindow
*) 0 ;
26901 PyObject
* obj0
= 0 ;
26902 char *kwnames
[] = {
26903 (char *) "self", NULL
26906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26917 wxColour
* resultptr
;
26918 resultptr
= new wxColour((wxColour
&) result
);
26919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26927 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
;
26929 wxWindow
*arg1
= (wxWindow
*) 0 ;
26932 PyObject
* obj0
= 0 ;
26933 PyObject
* obj1
= 0 ;
26934 char *kwnames
[] = {
26935 (char *) "self",(char *) "style", NULL
26938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26941 arg2
= (int)SWIG_As_int(obj1
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26959 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
;
26961 wxWindow
*arg1
= (wxWindow
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 char *kwnames
[] = {
26965 (char *) "self", NULL
26968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= SWIG_From_int((int)result
);
26985 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26986 PyObject
*resultobj
;
26987 wxWindow
*arg1
= (wxWindow
*) 0 ;
26988 wxCursor
*arg2
= 0 ;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self",(char *) "cursor", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
27000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27002 if (arg2
== NULL
) {
27003 PyErr_SetString(PyExc_TypeError
,"null reference");
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27022 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27023 PyObject
*resultobj
;
27024 wxWindow
*arg1
= (wxWindow
*) 0 ;
27026 PyObject
* obj0
= 0 ;
27027 char *kwnames
[] = {
27028 (char *) "self", NULL
27031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
27032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 result
= (arg1
)->GetCursor();
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27042 wxCursor
* resultptr
;
27043 resultptr
= new wxCursor((wxCursor
&) result
);
27044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
27052 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
;
27054 wxWindow
*arg1
= (wxWindow
*) 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 char *kwnames
[] = {
27060 (char *) "self",(char *) "font", NULL
27063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27069 if (arg2
== NULL
) {
27070 PyErr_SetString(PyExc_TypeError
,"null reference");
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27089 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
;
27091 wxWindow
*arg1
= (wxWindow
*) 0 ;
27093 PyObject
* obj0
= 0 ;
27094 PyObject
* obj1
= 0 ;
27095 char *kwnames
[] = {
27096 (char *) "self",(char *) "font", NULL
27099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27105 if (arg2
== NULL
) {
27106 PyErr_SetString(PyExc_TypeError
,"null reference");
27110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27111 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 Py_INCREF(Py_None
); resultobj
= Py_None
;
27123 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27124 PyObject
*resultobj
;
27125 wxWindow
*arg1
= (wxWindow
*) 0 ;
27127 PyObject
* obj0
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= (arg1
)->GetFont();
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 wxFont
* resultptr
;
27144 resultptr
= new wxFont((wxFont
&) result
);
27145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27153 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
;
27155 wxWindow
*arg1
= (wxWindow
*) 0 ;
27156 wxCaret
*arg2
= (wxCaret
*) 0 ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 char *kwnames
[] = {
27160 (char *) "self",(char *) "caret", NULL
27163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 (arg1
)->SetCaret(arg2
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27175 Py_INCREF(Py_None
); resultobj
= Py_None
;
27182 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
;
27184 wxWindow
*arg1
= (wxWindow
*) 0 ;
27186 PyObject
* obj0
= 0 ;
27187 char *kwnames
[] = {
27188 (char *) "self", NULL
27191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27198 wxPyEndAllowThreads(__tstate
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27208 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxWindow
*arg1
= (wxWindow
*) 0 ;
27212 PyObject
* obj0
= 0 ;
27213 char *kwnames
[] = {
27214 (char *) "self", NULL
27217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= SWIG_From_int((int)result
);
27234 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27235 PyObject
*resultobj
;
27236 wxWindow
*arg1
= (wxWindow
*) 0 ;
27238 PyObject
* obj0
= 0 ;
27239 char *kwnames
[] = {
27240 (char *) "self", NULL
27243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= SWIG_From_int((int)result
);
27260 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
;
27262 wxWindow
*arg1
= (wxWindow
*) 0 ;
27263 wxString
*arg2
= 0 ;
27264 int *arg3
= (int *) 0 ;
27265 int *arg4
= (int *) 0 ;
27266 bool temp2
= false ;
27271 PyObject
* obj0
= 0 ;
27272 PyObject
* obj1
= 0 ;
27273 char *kwnames
[] = {
27274 (char *) "self",(char *) "string", NULL
27277 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27278 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27283 arg2
= wxString_in_helper(obj1
);
27284 if (arg2
== NULL
) SWIG_fail
;
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27294 Py_INCREF(Py_None
); resultobj
= Py_None
;
27295 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27296 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27297 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27298 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27313 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxWindow
*arg1
= (wxWindow
*) 0 ;
27316 wxString
*arg2
= 0 ;
27317 int *arg3
= (int *) 0 ;
27318 int *arg4
= (int *) 0 ;
27319 int *arg5
= (int *) 0 ;
27320 int *arg6
= (int *) 0 ;
27321 wxFont
*arg7
= (wxFont
*) NULL
;
27322 bool temp2
= false ;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 PyObject
* obj2
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "self",(char *) "string",(char *) "font", NULL
27338 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27339 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27340 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27341 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27346 arg2
= wxString_in_helper(obj1
);
27347 if (arg2
== NULL
) SWIG_fail
;
27351 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27361 Py_INCREF(Py_None
); resultobj
= Py_None
;
27362 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27363 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27364 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27365 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27366 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27367 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27368 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27369 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27384 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27385 PyObject
*resultobj
;
27386 wxWindow
*arg1
= (wxWindow
*) 0 ;
27387 int *arg2
= (int *) 0 ;
27388 int *arg3
= (int *) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 PyObject
* obj2
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "self",(char *) "x",(char *) "y", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27404 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27405 temp2
= SWIG_As_int(obj1
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 res2
= SWIG_NEWOBJ
;
27412 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27413 temp3
= SWIG_As_int(obj2
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 res3
= SWIG_NEWOBJ
;
27420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27423 wxPyEndAllowThreads(__tstate
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27426 Py_INCREF(Py_None
); resultobj
= Py_None
;
27427 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27428 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27429 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27430 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27437 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
;
27439 wxWindow
*arg1
= (wxWindow
*) 0 ;
27440 int *arg2
= (int *) 0 ;
27441 int *arg3
= (int *) 0 ;
27446 PyObject
* obj0
= 0 ;
27447 PyObject
* obj1
= 0 ;
27448 PyObject
* obj2
= 0 ;
27449 char *kwnames
[] = {
27450 (char *) "self",(char *) "x",(char *) "y", NULL
27453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27457 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27458 temp2
= SWIG_As_int(obj1
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27461 res2
= SWIG_NEWOBJ
;
27465 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27466 temp3
= SWIG_As_int(obj2
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27469 res3
= SWIG_NEWOBJ
;
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27479 Py_INCREF(Py_None
); resultobj
= Py_None
;
27480 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27481 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27482 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27483 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27490 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27491 PyObject
*resultobj
;
27492 wxWindow
*arg1
= (wxWindow
*) 0 ;
27493 wxPoint
*arg2
= 0 ;
27496 PyObject
* obj0
= 0 ;
27497 PyObject
* obj1
= 0 ;
27498 char *kwnames
[] = {
27499 (char *) "self",(char *) "pt", NULL
27502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27511 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27517 wxPoint
* resultptr
;
27518 resultptr
= new wxPoint((wxPoint
&) result
);
27519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27527 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
;
27529 wxWindow
*arg1
= (wxWindow
*) 0 ;
27530 wxPoint
*arg2
= 0 ;
27533 PyObject
* obj0
= 0 ;
27534 PyObject
* obj1
= 0 ;
27535 char *kwnames
[] = {
27536 (char *) "self",(char *) "pt", NULL
27539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27548 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27550 wxPyEndAllowThreads(__tstate
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27554 wxPoint
* resultptr
;
27555 resultptr
= new wxPoint((wxPoint
&) result
);
27556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27564 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
;
27566 wxWindow
*arg1
= (wxWindow
*) 0 ;
27570 PyObject
* obj0
= 0 ;
27571 PyObject
* obj1
= 0 ;
27572 PyObject
* obj2
= 0 ;
27573 char *kwnames
[] = {
27574 (char *) "self",(char *) "x",(char *) "y", NULL
27577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27580 arg2
= (int)SWIG_As_int(obj1
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27582 arg3
= (int)SWIG_As_int(obj2
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27586 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 resultobj
= SWIG_From_int((int)result
);
27598 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxWindow
*arg1
= (wxWindow
*) 0 ;
27601 wxPoint
*arg2
= 0 ;
27604 PyObject
* obj0
= 0 ;
27605 PyObject
* obj1
= 0 ;
27606 char *kwnames
[] = {
27607 (char *) "self",(char *) "pt", NULL
27610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27624 resultobj
= SWIG_From_int((int)result
);
27631 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27632 PyObject
*resultobj
;
27633 wxWindow
*arg1
= (wxWindow
*) 0 ;
27636 PyObject
* obj0
= 0 ;
27637 PyObject
* obj1
= 0 ;
27639 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27642 arg2
= (long)SWIG_As_long(obj1
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27651 resultobj
= SWIG_From_int((int)result
);
27658 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27659 PyObject
*resultobj
;
27660 wxWindow
*arg1
= (wxWindow
*) 0 ;
27662 PyObject
* obj0
= 0 ;
27664 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27669 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27671 wxPyEndAllowThreads(__tstate
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27674 resultobj
= SWIG_From_int((int)result
);
27681 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27686 argc
= PyObject_Length(args
);
27687 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27688 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27694 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27702 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27709 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27717 _v
= SWIG_Check_long(argv
[1]);
27719 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27724 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27729 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxWindow
*arg1
= (wxWindow
*) 0 ;
27732 long arg2
= (long) wxUPDATE_UI_NONE
;
27733 PyObject
* obj0
= 0 ;
27734 PyObject
* obj1
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "self",(char *) "flags", NULL
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27743 arg2
= (long)SWIG_As_long(obj1
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 (arg1
)->UpdateWindowUI(arg2
);
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 Py_INCREF(Py_None
); resultobj
= Py_None
;
27760 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxWindow
*arg1
= (wxWindow
*) 0 ;
27763 wxMenu
*arg2
= (wxMenu
*) 0 ;
27764 int arg3
= (int) -1 ;
27765 int arg4
= (int) -1 ;
27767 PyObject
* obj0
= 0 ;
27768 PyObject
* obj1
= 0 ;
27769 PyObject
* obj2
= 0 ;
27770 PyObject
* obj3
= 0 ;
27771 char *kwnames
[] = {
27772 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27781 arg3
= (int)SWIG_As_int(obj2
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27785 arg4
= (int)SWIG_As_int(obj3
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27792 wxPyEndAllowThreads(__tstate
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27804 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27805 PyObject
*resultobj
;
27806 wxWindow
*arg1
= (wxWindow
*) 0 ;
27807 wxMenu
*arg2
= (wxMenu
*) 0 ;
27808 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27809 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27812 PyObject
* obj0
= 0 ;
27813 PyObject
* obj1
= 0 ;
27814 PyObject
* obj2
= 0 ;
27815 char *kwnames
[] = {
27816 (char *) "self",(char *) "menu",(char *) "pos", NULL
27819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27827 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27846 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27847 PyObject
*resultobj
;
27848 wxWindow
*arg1
= (wxWindow
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 char *kwnames
[] = {
27852 (char *) "self", NULL
27855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 result
= (long)wxWindow_GetHandle(arg1
);
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27865 resultobj
= SWIG_From_long((long)result
);
27872 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27873 PyObject
*resultobj
;
27874 wxWindow
*arg1
= (wxWindow
*) 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 char *kwnames
[] = {
27879 (char *) "self",(char *) "handle", NULL
27882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27885 arg2
= (long)SWIG_As_long(obj1
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27889 wxWindow_AssociateHandle(arg1
,arg2
);
27891 wxPyEndAllowThreads(__tstate
);
27892 if (PyErr_Occurred()) SWIG_fail
;
27894 Py_INCREF(Py_None
); resultobj
= Py_None
;
27901 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
;
27903 wxWindow
*arg1
= (wxWindow
*) 0 ;
27904 PyObject
* obj0
= 0 ;
27905 char *kwnames
[] = {
27906 (char *) "self", NULL
27909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27914 (arg1
)->DissociateHandle();
27916 wxPyEndAllowThreads(__tstate
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27919 Py_INCREF(Py_None
); resultobj
= Py_None
;
27926 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27927 PyObject
*resultobj
;
27928 wxWindow
*arg1
= (wxWindow
*) 0 ;
27931 PyObject
* obj0
= 0 ;
27932 PyObject
* obj1
= 0 ;
27933 char *kwnames
[] = {
27934 (char *) "self",(char *) "orient", NULL
27937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27940 arg2
= (int)SWIG_As_int(obj1
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27946 wxPyEndAllowThreads(__tstate
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27958 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27959 PyObject
*resultobj
;
27960 wxWindow
*arg1
= (wxWindow
*) 0 ;
27965 bool arg6
= (bool) true ;
27966 PyObject
* obj0
= 0 ;
27967 PyObject
* obj1
= 0 ;
27968 PyObject
* obj2
= 0 ;
27969 PyObject
* obj3
= 0 ;
27970 PyObject
* obj4
= 0 ;
27971 PyObject
* obj5
= 0 ;
27972 char *kwnames
[] = {
27973 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27979 arg2
= (int)SWIG_As_int(obj1
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27981 arg3
= (int)SWIG_As_int(obj2
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27983 arg4
= (int)SWIG_As_int(obj3
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27985 arg5
= (int)SWIG_As_int(obj4
);
27986 if (PyErr_Occurred()) SWIG_fail
;
27988 arg6
= (bool)SWIG_As_bool(obj5
);
27989 if (PyErr_Occurred()) SWIG_fail
;
27992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27993 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27995 wxPyEndAllowThreads(__tstate
);
27996 if (PyErr_Occurred()) SWIG_fail
;
27998 Py_INCREF(Py_None
); resultobj
= Py_None
;
28005 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28006 PyObject
*resultobj
;
28007 wxWindow
*arg1
= (wxWindow
*) 0 ;
28010 bool arg4
= (bool) true ;
28011 PyObject
* obj0
= 0 ;
28012 PyObject
* obj1
= 0 ;
28013 PyObject
* obj2
= 0 ;
28014 PyObject
* obj3
= 0 ;
28015 char *kwnames
[] = {
28016 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
28019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28022 arg2
= (int)SWIG_As_int(obj1
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28024 arg3
= (int)SWIG_As_int(obj2
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28027 arg4
= (bool)SWIG_As_bool(obj3
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28037 Py_INCREF(Py_None
); resultobj
= Py_None
;
28044 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28045 PyObject
*resultobj
;
28046 wxWindow
*arg1
= (wxWindow
*) 0 ;
28049 PyObject
* obj0
= 0 ;
28050 PyObject
* obj1
= 0 ;
28051 char *kwnames
[] = {
28052 (char *) "self",(char *) "orientation", NULL
28055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",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
= (int)SWIG_As_int(obj1
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28062 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28067 resultobj
= SWIG_From_int((int)result
);
28074 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
;
28076 wxWindow
*arg1
= (wxWindow
*) 0 ;
28079 PyObject
* obj0
= 0 ;
28080 PyObject
* obj1
= 0 ;
28081 char *kwnames
[] = {
28082 (char *) "self",(char *) "orientation", NULL
28085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
28086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28088 arg2
= (int)SWIG_As_int(obj1
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28097 resultobj
= SWIG_From_int((int)result
);
28104 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
;
28106 wxWindow
*arg1
= (wxWindow
*) 0 ;
28109 PyObject
* obj0
= 0 ;
28110 PyObject
* obj1
= 0 ;
28111 char *kwnames
[] = {
28112 (char *) "self",(char *) "orientation", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28118 arg2
= (int)SWIG_As_int(obj1
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28124 wxPyEndAllowThreads(__tstate
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 resultobj
= SWIG_From_int((int)result
);
28134 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxWindow
*arg1
= (wxWindow
*) 0 ;
28139 wxRect
*arg4
= (wxRect
*) NULL
;
28140 PyObject
* obj0
= 0 ;
28141 PyObject
* obj1
= 0 ;
28142 PyObject
* obj2
= 0 ;
28143 PyObject
* obj3
= 0 ;
28144 char *kwnames
[] = {
28145 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28151 arg2
= (int)SWIG_As_int(obj1
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28153 arg3
= (int)SWIG_As_int(obj2
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28156 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28166 Py_INCREF(Py_None
); resultobj
= Py_None
;
28173 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28174 PyObject
*resultobj
;
28175 wxWindow
*arg1
= (wxWindow
*) 0 ;
28178 PyObject
* obj0
= 0 ;
28179 PyObject
* obj1
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self",(char *) "lines", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28187 arg2
= (int)SWIG_As_int(obj1
);
28188 if (PyErr_Occurred()) SWIG_fail
;
28190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28191 result
= (bool)(arg1
)->ScrollLines(arg2
);
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28205 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28206 PyObject
*resultobj
;
28207 wxWindow
*arg1
= (wxWindow
*) 0 ;
28210 PyObject
* obj0
= 0 ;
28211 PyObject
* obj1
= 0 ;
28212 char *kwnames
[] = {
28213 (char *) "self",(char *) "pages", NULL
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28219 arg2
= (int)SWIG_As_int(obj1
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 result
= (bool)(arg1
)->ScrollPages(arg2
);
28225 wxPyEndAllowThreads(__tstate
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28237 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28238 PyObject
*resultobj
;
28239 wxWindow
*arg1
= (wxWindow
*) 0 ;
28241 PyObject
* obj0
= 0 ;
28242 char *kwnames
[] = {
28243 (char *) "self", NULL
28246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 result
= (bool)(arg1
)->LineUp();
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28265 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
;
28267 wxWindow
*arg1
= (wxWindow
*) 0 ;
28269 PyObject
* obj0
= 0 ;
28270 char *kwnames
[] = {
28271 (char *) "self", NULL
28274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 result
= (bool)(arg1
)->LineDown();
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28293 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28294 PyObject
*resultobj
;
28295 wxWindow
*arg1
= (wxWindow
*) 0 ;
28297 PyObject
* obj0
= 0 ;
28298 char *kwnames
[] = {
28299 (char *) "self", NULL
28302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28307 result
= (bool)(arg1
)->PageUp();
28309 wxPyEndAllowThreads(__tstate
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28321 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28322 PyObject
*resultobj
;
28323 wxWindow
*arg1
= (wxWindow
*) 0 ;
28325 PyObject
* obj0
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 result
= (bool)(arg1
)->PageDown();
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28349 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
;
28351 wxWindow
*arg1
= (wxWindow
*) 0 ;
28352 wxString
*arg2
= 0 ;
28353 bool temp2
= false ;
28354 PyObject
* obj0
= 0 ;
28355 PyObject
* obj1
= 0 ;
28356 char *kwnames
[] = {
28357 (char *) "self",(char *) "text", NULL
28360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28364 arg2
= wxString_in_helper(obj1
);
28365 if (arg2
== NULL
) SWIG_fail
;
28369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28370 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28372 wxPyEndAllowThreads(__tstate
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28375 Py_INCREF(Py_None
); resultobj
= Py_None
;
28390 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
;
28392 wxWindow
*arg1
= (wxWindow
*) 0 ;
28393 wxString
*arg2
= 0 ;
28394 bool temp2
= false ;
28395 PyObject
* obj0
= 0 ;
28396 PyObject
* obj1
= 0 ;
28397 char *kwnames
[] = {
28398 (char *) "self",(char *) "text", NULL
28401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28405 arg2
= wxString_in_helper(obj1
);
28406 if (arg2
== NULL
) SWIG_fail
;
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 Py_INCREF(Py_None
); resultobj
= Py_None
;
28431 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28433 wxWindow
*arg1
= (wxWindow
*) 0 ;
28435 PyObject
* obj0
= 0 ;
28436 char *kwnames
[] = {
28437 (char *) "self", NULL
28440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28447 wxPyEndAllowThreads(__tstate
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28463 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
;
28465 wxWindow
*arg1
= (wxWindow
*) 0 ;
28466 wxString
*arg2
= 0 ;
28467 bool temp2
= false ;
28468 PyObject
* obj0
= 0 ;
28469 PyObject
* obj1
= 0 ;
28470 char *kwnames
[] = {
28471 (char *) "self",(char *) "tip", NULL
28474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28478 arg2
= wxString_in_helper(obj1
);
28479 if (arg2
== NULL
) SWIG_fail
;
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28489 Py_INCREF(Py_None
); resultobj
= Py_None
;
28504 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28505 PyObject
*resultobj
;
28506 wxWindow
*arg1
= (wxWindow
*) 0 ;
28507 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28508 PyObject
* obj0
= 0 ;
28509 PyObject
* obj1
= 0 ;
28510 char *kwnames
[] = {
28511 (char *) "self",(char *) "tip", NULL
28514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 (arg1
)->SetToolTip(arg2
);
28523 wxPyEndAllowThreads(__tstate
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28526 Py_INCREF(Py_None
); resultobj
= Py_None
;
28533 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28534 PyObject
*resultobj
;
28535 wxWindow
*arg1
= (wxWindow
*) 0 ;
28537 PyObject
* obj0
= 0 ;
28538 char *kwnames
[] = {
28539 (char *) "self", NULL
28542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= wxPyMake_wxObject(result
, 0);
28561 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
;
28563 wxWindow
*arg1
= (wxWindow
*) 0 ;
28564 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28565 PyObject
* obj0
= 0 ;
28566 PyObject
* obj1
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self",(char *) "dropTarget", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28575 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 (arg1
)->SetDropTarget(arg2
);
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28583 Py_INCREF(Py_None
); resultobj
= Py_None
;
28590 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28591 PyObject
*resultobj
;
28592 wxWindow
*arg1
= (wxWindow
*) 0 ;
28593 wxPyDropTarget
*result
;
28594 PyObject
* obj0
= 0 ;
28595 char *kwnames
[] = {
28596 (char *) "self", NULL
28599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28616 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28617 PyObject
*resultobj
;
28618 wxWindow
*arg1
= (wxWindow
*) 0 ;
28619 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28620 PyObject
* obj0
= 0 ;
28621 PyObject
* obj1
= 0 ;
28622 char *kwnames
[] = {
28623 (char *) "self",(char *) "constraints", NULL
28626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 (arg1
)->SetConstraints(arg2
);
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28638 Py_INCREF(Py_None
); resultobj
= Py_None
;
28645 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxWindow
*arg1
= (wxWindow
*) 0 ;
28648 wxLayoutConstraints
*result
;
28649 PyObject
* obj0
= 0 ;
28650 char *kwnames
[] = {
28651 (char *) "self", NULL
28654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28671 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxWindow
*arg1
= (wxWindow
*) 0 ;
28675 PyObject
* obj0
= 0 ;
28676 PyObject
* obj1
= 0 ;
28677 char *kwnames
[] = {
28678 (char *) "self",(char *) "autoLayout", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28684 arg2
= (bool)SWIG_As_bool(obj1
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 (arg1
)->SetAutoLayout(arg2
);
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 Py_INCREF(Py_None
); resultobj
= Py_None
;
28700 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
;
28702 wxWindow
*arg1
= (wxWindow
*) 0 ;
28704 PyObject
* obj0
= 0 ;
28705 char *kwnames
[] = {
28706 (char *) "self", NULL
28709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28728 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28729 PyObject
*resultobj
;
28730 wxWindow
*arg1
= (wxWindow
*) 0 ;
28732 PyObject
* obj0
= 0 ;
28733 char *kwnames
[] = {
28734 (char *) "self", NULL
28737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 result
= (bool)(arg1
)->Layout();
28744 wxPyEndAllowThreads(__tstate
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28756 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28757 PyObject
*resultobj
;
28758 wxWindow
*arg1
= (wxWindow
*) 0 ;
28759 wxSizer
*arg2
= (wxSizer
*) 0 ;
28760 bool arg3
= (bool) true ;
28761 PyObject
* obj0
= 0 ;
28762 PyObject
* obj1
= 0 ;
28763 PyObject
* obj2
= 0 ;
28764 char *kwnames
[] = {
28765 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28774 arg3
= (bool)SWIG_As_bool(obj2
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 (arg1
)->SetSizer(arg2
,arg3
);
28781 wxPyEndAllowThreads(__tstate
);
28782 if (PyErr_Occurred()) SWIG_fail
;
28784 Py_INCREF(Py_None
); resultobj
= Py_None
;
28791 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28792 PyObject
*resultobj
;
28793 wxWindow
*arg1
= (wxWindow
*) 0 ;
28794 wxSizer
*arg2
= (wxSizer
*) 0 ;
28795 bool arg3
= (bool) true ;
28796 PyObject
* obj0
= 0 ;
28797 PyObject
* obj1
= 0 ;
28798 PyObject
* obj2
= 0 ;
28799 char *kwnames
[] = {
28800 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28809 arg3
= (bool)SWIG_As_bool(obj2
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28819 Py_INCREF(Py_None
); resultobj
= Py_None
;
28826 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
;
28828 wxWindow
*arg1
= (wxWindow
*) 0 ;
28830 PyObject
* obj0
= 0 ;
28831 char *kwnames
[] = {
28832 (char *) "self", NULL
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28846 resultobj
= wxPyMake_wxSizer(result
, 0);
28854 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
;
28856 wxWindow
*arg1
= (wxWindow
*) 0 ;
28857 wxSizer
*arg2
= (wxSizer
*) 0 ;
28858 PyObject
* obj0
= 0 ;
28859 PyObject
* obj1
= 0 ;
28860 char *kwnames
[] = {
28861 (char *) "self",(char *) "sizer", NULL
28864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 (arg1
)->SetContainingSizer(arg2
);
28873 wxPyEndAllowThreads(__tstate
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28876 Py_INCREF(Py_None
); resultobj
= Py_None
;
28883 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28885 wxWindow
*arg1
= (wxWindow
*) 0 ;
28887 PyObject
* obj0
= 0 ;
28888 char *kwnames
[] = {
28889 (char *) "self", NULL
28892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= wxPyMake_wxSizer(result
, 0);
28911 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28912 PyObject
*resultobj
;
28913 wxWindow
*arg1
= (wxWindow
*) 0 ;
28914 PyObject
* obj0
= 0 ;
28915 char *kwnames
[] = {
28916 (char *) "self", NULL
28919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28924 (arg1
)->InheritAttributes();
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 Py_INCREF(Py_None
); resultobj
= Py_None
;
28936 static PyObject
*_wrap_Window_ShouldInheritColours(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_ShouldInheritColours",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
)->ShouldInheritColours();
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28964 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28967 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28969 return Py_BuildValue((char *)"");
28971 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
;
28974 wxWindow
*arg2
= (wxWindow
*) NULL
;
28976 PyObject
* obj0
= 0 ;
28977 PyObject
* obj1
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "id",(char *) "parent", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28983 arg1
= (long)SWIG_As_long(obj0
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28990 if (!wxPyCheckForApp()) SWIG_fail
;
28991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28994 wxPyEndAllowThreads(__tstate
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28998 resultobj
= wxPyMake_wxObject(result
, 0);
29006 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
;
29008 wxString
*arg1
= 0 ;
29009 wxWindow
*arg2
= (wxWindow
*) NULL
;
29011 bool temp1
= false ;
29012 PyObject
* obj0
= 0 ;
29013 PyObject
* obj1
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "name",(char *) "parent", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
29020 arg1
= wxString_in_helper(obj0
);
29021 if (arg1
== NULL
) SWIG_fail
;
29025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29029 if (!wxPyCheckForApp()) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= wxPyMake_wxObject(result
, 0);
29053 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29054 PyObject
*resultobj
;
29055 wxString
*arg1
= 0 ;
29056 wxWindow
*arg2
= (wxWindow
*) NULL
;
29058 bool temp1
= false ;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 char *kwnames
[] = {
29062 (char *) "label",(char *) "parent", NULL
29065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29067 arg1
= wxString_in_helper(obj0
);
29068 if (arg1
== NULL
) SWIG_fail
;
29072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29076 if (!wxPyCheckForApp()) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29084 resultobj
= wxPyMake_wxObject(result
, 0);
29100 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
;
29102 wxWindow
*arg1
= (wxWindow
*) 0 ;
29103 unsigned long arg2
;
29105 PyObject
* obj0
= 0 ;
29106 PyObject
* obj1
= 0 ;
29107 char *kwnames
[] = {
29108 (char *) "parent",(char *) "_hWnd", NULL
29111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29114 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= wxPyMake_wxObject(result
, 0);
29132 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29133 PyObject
*resultobj
;
29134 wxValidator
*result
;
29135 char *kwnames
[] = {
29139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= (wxValidator
*)new wxValidator();
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29154 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29155 PyObject
*resultobj
;
29156 wxValidator
*arg1
= (wxValidator
*) 0 ;
29157 wxValidator
*result
;
29158 PyObject
* obj0
= 0 ;
29159 char *kwnames
[] = {
29160 (char *) "self", NULL
29163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 result
= (wxValidator
*)(arg1
)->Clone();
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= wxPyMake_wxObject(result
, 0);
29182 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29183 PyObject
*resultobj
;
29184 wxValidator
*arg1
= (wxValidator
*) 0 ;
29185 wxWindow
*arg2
= (wxWindow
*) 0 ;
29187 PyObject
* obj0
= 0 ;
29188 PyObject
* obj1
= 0 ;
29189 char *kwnames
[] = {
29190 (char *) "self",(char *) "parent", NULL
29193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 result
= (bool)(arg1
)->Validate(arg2
);
29202 wxPyEndAllowThreads(__tstate
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29214 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29215 PyObject
*resultobj
;
29216 wxValidator
*arg1
= (wxValidator
*) 0 ;
29218 PyObject
* obj0
= 0 ;
29219 char *kwnames
[] = {
29220 (char *) "self", NULL
29223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 result
= (bool)(arg1
)->TransferToWindow();
29230 wxPyEndAllowThreads(__tstate
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29242 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29243 PyObject
*resultobj
;
29244 wxValidator
*arg1
= (wxValidator
*) 0 ;
29246 PyObject
* obj0
= 0 ;
29247 char *kwnames
[] = {
29248 (char *) "self", NULL
29251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 result
= (bool)(arg1
)->TransferFromWindow();
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29270 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
;
29272 wxValidator
*arg1
= (wxValidator
*) 0 ;
29274 PyObject
* obj0
= 0 ;
29275 char *kwnames
[] = {
29276 (char *) "self", NULL
29279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 result
= (wxWindow
*)(arg1
)->GetWindow();
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= wxPyMake_wxObject(result
, 0);
29298 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
;
29300 wxValidator
*arg1
= (wxValidator
*) 0 ;
29301 wxWindow
*arg2
= (wxWindow
*) 0 ;
29302 PyObject
* obj0
= 0 ;
29303 PyObject
* obj1
= 0 ;
29304 char *kwnames
[] = {
29305 (char *) "self",(char *) "window", NULL
29308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29315 (arg1
)->SetWindow(arg2
);
29317 wxPyEndAllowThreads(__tstate
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29320 Py_INCREF(Py_None
); resultobj
= Py_None
;
29327 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
;
29330 char *kwnames
[] = {
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29337 result
= (bool)wxValidator::IsSilent();
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29351 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
;
29353 int arg1
= (int) true ;
29354 PyObject
* obj0
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "doIt", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29361 arg1
= (int)SWIG_As_int(obj0
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29366 wxValidator::SetBellOnError(arg1
);
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29371 Py_INCREF(Py_None
); resultobj
= Py_None
;
29378 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29381 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29383 return Py_BuildValue((char *)"");
29385 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
;
29387 wxPyValidator
*result
;
29388 char *kwnames
[] = {
29392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (wxPyValidator
*)new wxPyValidator();
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29407 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
;
29409 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29410 PyObject
*arg2
= (PyObject
*) 0 ;
29411 PyObject
*arg3
= (PyObject
*) 0 ;
29412 int arg4
= (int) true ;
29413 PyObject
* obj0
= 0 ;
29414 PyObject
* obj1
= 0 ;
29415 PyObject
* obj2
= 0 ;
29416 PyObject
* obj3
= 0 ;
29417 char *kwnames
[] = {
29418 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29427 arg4
= (int)SWIG_As_int(obj3
);
29428 if (PyErr_Occurred()) SWIG_fail
;
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29434 wxPyEndAllowThreads(__tstate
);
29435 if (PyErr_Occurred()) SWIG_fail
;
29437 Py_INCREF(Py_None
); resultobj
= Py_None
;
29444 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29447 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29449 return Py_BuildValue((char *)"");
29451 static int _wrap_DefaultValidator_set(PyObject
*) {
29452 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29457 static PyObject
*_wrap_DefaultValidator_get() {
29460 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29465 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
;
29467 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29468 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29469 long arg2
= (long) 0 ;
29471 bool temp1
= false ;
29472 PyObject
* obj0
= 0 ;
29473 PyObject
* obj1
= 0 ;
29474 char *kwnames
[] = {
29475 (char *) "title",(char *) "style", NULL
29478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29481 arg1
= wxString_in_helper(obj0
);
29482 if (arg1
== NULL
) SWIG_fail
;
29487 arg2
= (long)SWIG_As_long(obj1
);
29488 if (PyErr_Occurred()) SWIG_fail
;
29491 if (!wxPyCheckForApp()) SWIG_fail
;
29492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29493 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29513 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29514 PyObject
*resultobj
;
29515 wxMenu
*arg1
= (wxMenu
*) 0 ;
29517 wxString
*arg3
= 0 ;
29518 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29519 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29520 int arg5
= (int) wxITEM_NORMAL
;
29521 wxMenuItem
*result
;
29522 bool temp3
= false ;
29523 bool temp4
= false ;
29524 PyObject
* obj0
= 0 ;
29525 PyObject
* obj1
= 0 ;
29526 PyObject
* obj2
= 0 ;
29527 PyObject
* obj3
= 0 ;
29528 PyObject
* obj4
= 0 ;
29529 char *kwnames
[] = {
29530 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29536 arg2
= (int)SWIG_As_int(obj1
);
29537 if (PyErr_Occurred()) SWIG_fail
;
29539 arg3
= wxString_in_helper(obj2
);
29540 if (arg3
== NULL
) SWIG_fail
;
29545 arg4
= wxString_in_helper(obj3
);
29546 if (arg4
== NULL
) SWIG_fail
;
29551 arg5
= (int)SWIG_As_int(obj4
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29562 resultobj
= wxPyMake_wxObject(result
, 0);
29586 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
;
29588 wxMenu
*arg1
= (wxMenu
*) 0 ;
29589 wxMenuItem
*result
;
29590 PyObject
* obj0
= 0 ;
29591 char *kwnames
[] = {
29592 (char *) "self", NULL
29595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29606 resultobj
= wxPyMake_wxObject(result
, 0);
29614 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29615 PyObject
*resultobj
;
29616 wxMenu
*arg1
= (wxMenu
*) 0 ;
29618 wxString
*arg3
= 0 ;
29619 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29620 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29621 wxMenuItem
*result
;
29622 bool temp3
= false ;
29623 bool temp4
= false ;
29624 PyObject
* obj0
= 0 ;
29625 PyObject
* obj1
= 0 ;
29626 PyObject
* obj2
= 0 ;
29627 PyObject
* obj3
= 0 ;
29628 char *kwnames
[] = {
29629 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29635 arg2
= (int)SWIG_As_int(obj1
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29638 arg3
= wxString_in_helper(obj2
);
29639 if (arg3
== NULL
) SWIG_fail
;
29644 arg4
= wxString_in_helper(obj3
);
29645 if (arg4
== NULL
) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= wxPyMake_wxObject(result
, 0);
29681 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29682 PyObject
*resultobj
;
29683 wxMenu
*arg1
= (wxMenu
*) 0 ;
29685 wxString
*arg3
= 0 ;
29686 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29687 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29688 wxMenuItem
*result
;
29689 bool temp3
= false ;
29690 bool temp4
= false ;
29691 PyObject
* obj0
= 0 ;
29692 PyObject
* obj1
= 0 ;
29693 PyObject
* obj2
= 0 ;
29694 PyObject
* obj3
= 0 ;
29695 char *kwnames
[] = {
29696 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29702 arg2
= (int)SWIG_As_int(obj1
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29705 arg3
= wxString_in_helper(obj2
);
29706 if (arg3
== NULL
) SWIG_fail
;
29711 arg4
= wxString_in_helper(obj3
);
29712 if (arg4
== NULL
) SWIG_fail
;
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29724 resultobj
= wxPyMake_wxObject(result
, 0);
29748 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29749 PyObject
*resultobj
;
29750 wxMenu
*arg1
= (wxMenu
*) 0 ;
29752 wxString
*arg3
= 0 ;
29753 wxMenu
*arg4
= (wxMenu
*) 0 ;
29754 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29755 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29756 wxMenuItem
*result
;
29757 bool temp3
= false ;
29758 bool temp5
= false ;
29759 PyObject
* obj0
= 0 ;
29760 PyObject
* obj1
= 0 ;
29761 PyObject
* obj2
= 0 ;
29762 PyObject
* obj3
= 0 ;
29763 PyObject
* obj4
= 0 ;
29764 char *kwnames
[] = {
29765 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29771 arg2
= (int)SWIG_As_int(obj1
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29774 arg3
= wxString_in_helper(obj2
);
29775 if (arg3
== NULL
) SWIG_fail
;
29778 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29782 arg5
= wxString_in_helper(obj4
);
29783 if (arg5
== NULL
) SWIG_fail
;
29788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29789 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= wxPyMake_wxObject(result
, 0);
29819 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29820 PyObject
*resultobj
;
29821 wxMenu
*arg1
= (wxMenu
*) 0 ;
29822 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29823 wxMenuItem
*result
;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 char *kwnames
[] = {
29827 (char *) "self",(char *) "item", NULL
29830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29837 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29839 wxPyEndAllowThreads(__tstate
);
29840 if (PyErr_Occurred()) SWIG_fail
;
29843 resultobj
= wxPyMake_wxObject(result
, 0);
29851 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
;
29853 wxMenu
*arg1
= (wxMenu
*) 0 ;
29854 PyObject
* obj0
= 0 ;
29855 char *kwnames
[] = {
29856 (char *) "self", NULL
29859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29866 wxPyEndAllowThreads(__tstate
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29869 Py_INCREF(Py_None
); resultobj
= Py_None
;
29876 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29877 PyObject
*resultobj
;
29878 wxMenu
*arg1
= (wxMenu
*) 0 ;
29880 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29881 wxMenuItem
*result
;
29882 PyObject
* obj0
= 0 ;
29883 PyObject
* obj1
= 0 ;
29884 PyObject
* obj2
= 0 ;
29885 char *kwnames
[] = {
29886 (char *) "self",(char *) "pos",(char *) "item", NULL
29889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29892 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29894 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= wxPyMake_wxObject(result
, 0);
29912 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
;
29914 wxMenu
*arg1
= (wxMenu
*) 0 ;
29917 wxString
*arg4
= 0 ;
29918 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29919 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29920 int arg6
= (int) wxITEM_NORMAL
;
29921 wxMenuItem
*result
;
29922 bool temp4
= false ;
29923 bool temp5
= false ;
29924 PyObject
* obj0
= 0 ;
29925 PyObject
* obj1
= 0 ;
29926 PyObject
* obj2
= 0 ;
29927 PyObject
* obj3
= 0 ;
29928 PyObject
* obj4
= 0 ;
29929 PyObject
* obj5
= 0 ;
29930 char *kwnames
[] = {
29931 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29937 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29939 arg3
= (int)SWIG_As_int(obj2
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 arg4
= wxString_in_helper(obj3
);
29943 if (arg4
== NULL
) SWIG_fail
;
29948 arg5
= wxString_in_helper(obj4
);
29949 if (arg5
== NULL
) SWIG_fail
;
29954 arg6
= (int)SWIG_As_int(obj5
);
29955 if (PyErr_Occurred()) SWIG_fail
;
29958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29959 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29961 wxPyEndAllowThreads(__tstate
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29965 resultobj
= wxPyMake_wxObject(result
, 0);
29989 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29990 PyObject
*resultobj
;
29991 wxMenu
*arg1
= (wxMenu
*) 0 ;
29993 wxMenuItem
*result
;
29994 PyObject
* obj0
= 0 ;
29995 PyObject
* obj1
= 0 ;
29996 char *kwnames
[] = {
29997 (char *) "self",(char *) "pos", NULL
30000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
30001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30003 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
30009 wxPyEndAllowThreads(__tstate
);
30010 if (PyErr_Occurred()) SWIG_fail
;
30013 resultobj
= wxPyMake_wxObject(result
, 0);
30021 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30022 PyObject
*resultobj
;
30023 wxMenu
*arg1
= (wxMenu
*) 0 ;
30026 wxString
*arg4
= 0 ;
30027 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30028 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30029 wxMenuItem
*result
;
30030 bool temp4
= false ;
30031 bool temp5
= false ;
30032 PyObject
* obj0
= 0 ;
30033 PyObject
* obj1
= 0 ;
30034 PyObject
* obj2
= 0 ;
30035 PyObject
* obj3
= 0 ;
30036 PyObject
* obj4
= 0 ;
30037 char *kwnames
[] = {
30038 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30044 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30046 arg3
= (int)SWIG_As_int(obj2
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30049 arg4
= wxString_in_helper(obj3
);
30050 if (arg4
== NULL
) SWIG_fail
;
30055 arg5
= wxString_in_helper(obj4
);
30056 if (arg5
== NULL
) SWIG_fail
;
30061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30062 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30064 wxPyEndAllowThreads(__tstate
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30068 resultobj
= wxPyMake_wxObject(result
, 0);
30092 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30093 PyObject
*resultobj
;
30094 wxMenu
*arg1
= (wxMenu
*) 0 ;
30097 wxString
*arg4
= 0 ;
30098 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30099 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30100 wxMenuItem
*result
;
30101 bool temp4
= false ;
30102 bool temp5
= false ;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 PyObject
* obj2
= 0 ;
30106 PyObject
* obj3
= 0 ;
30107 PyObject
* obj4
= 0 ;
30108 char *kwnames
[] = {
30109 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30115 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30117 arg3
= (int)SWIG_As_int(obj2
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30120 arg4
= wxString_in_helper(obj3
);
30121 if (arg4
== NULL
) SWIG_fail
;
30126 arg5
= wxString_in_helper(obj4
);
30127 if (arg5
== NULL
) SWIG_fail
;
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30139 resultobj
= wxPyMake_wxObject(result
, 0);
30163 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30164 PyObject
*resultobj
;
30165 wxMenu
*arg1
= (wxMenu
*) 0 ;
30168 wxString
*arg4
= 0 ;
30169 wxMenu
*arg5
= (wxMenu
*) 0 ;
30170 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30171 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30172 wxMenuItem
*result
;
30173 bool temp4
= false ;
30174 bool temp6
= false ;
30175 PyObject
* obj0
= 0 ;
30176 PyObject
* obj1
= 0 ;
30177 PyObject
* obj2
= 0 ;
30178 PyObject
* obj3
= 0 ;
30179 PyObject
* obj4
= 0 ;
30180 PyObject
* obj5
= 0 ;
30181 char *kwnames
[] = {
30182 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30188 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30189 if (PyErr_Occurred()) SWIG_fail
;
30190 arg3
= (int)SWIG_As_int(obj2
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30193 arg4
= wxString_in_helper(obj3
);
30194 if (arg4
== NULL
) SWIG_fail
;
30197 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30201 arg6
= wxString_in_helper(obj5
);
30202 if (arg6
== NULL
) SWIG_fail
;
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30214 resultobj
= wxPyMake_wxObject(result
, 0);
30238 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30239 PyObject
*resultobj
;
30240 wxMenu
*arg1
= (wxMenu
*) 0 ;
30241 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30242 wxMenuItem
*result
;
30243 PyObject
* obj0
= 0 ;
30244 PyObject
* obj1
= 0 ;
30245 char *kwnames
[] = {
30246 (char *) "self",(char *) "item", NULL
30249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= wxPyMake_wxObject(result
, 0);
30270 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30271 PyObject
*resultobj
;
30272 wxMenu
*arg1
= (wxMenu
*) 0 ;
30274 wxString
*arg3
= 0 ;
30275 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30276 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30277 int arg5
= (int) wxITEM_NORMAL
;
30278 wxMenuItem
*result
;
30279 bool temp3
= false ;
30280 bool temp4
= false ;
30281 PyObject
* obj0
= 0 ;
30282 PyObject
* obj1
= 0 ;
30283 PyObject
* obj2
= 0 ;
30284 PyObject
* obj3
= 0 ;
30285 PyObject
* obj4
= 0 ;
30286 char *kwnames
[] = {
30287 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30293 arg2
= (int)SWIG_As_int(obj1
);
30294 if (PyErr_Occurred()) SWIG_fail
;
30296 arg3
= wxString_in_helper(obj2
);
30297 if (arg3
== NULL
) SWIG_fail
;
30302 arg4
= wxString_in_helper(obj3
);
30303 if (arg4
== NULL
) SWIG_fail
;
30308 arg5
= (int)SWIG_As_int(obj4
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30315 wxPyEndAllowThreads(__tstate
);
30316 if (PyErr_Occurred()) SWIG_fail
;
30319 resultobj
= wxPyMake_wxObject(result
, 0);
30343 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxMenu
*arg1
= (wxMenu
*) 0 ;
30346 wxMenuItem
*result
;
30347 PyObject
* obj0
= 0 ;
30348 char *kwnames
[] = {
30349 (char *) "self", NULL
30352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= wxPyMake_wxObject(result
, 0);
30371 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxMenu
*arg1
= (wxMenu
*) 0 ;
30375 wxString
*arg3
= 0 ;
30376 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30377 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30378 wxMenuItem
*result
;
30379 bool temp3
= false ;
30380 bool temp4
= false ;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 PyObject
* obj2
= 0 ;
30384 PyObject
* obj3
= 0 ;
30385 char *kwnames
[] = {
30386 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30392 arg2
= (int)SWIG_As_int(obj1
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 arg3
= wxString_in_helper(obj2
);
30396 if (arg3
== NULL
) SWIG_fail
;
30401 arg4
= wxString_in_helper(obj3
);
30402 if (arg4
== NULL
) SWIG_fail
;
30407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30408 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30410 wxPyEndAllowThreads(__tstate
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30414 resultobj
= wxPyMake_wxObject(result
, 0);
30438 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30439 PyObject
*resultobj
;
30440 wxMenu
*arg1
= (wxMenu
*) 0 ;
30442 wxString
*arg3
= 0 ;
30443 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30444 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30445 wxMenuItem
*result
;
30446 bool temp3
= false ;
30447 bool temp4
= false ;
30448 PyObject
* obj0
= 0 ;
30449 PyObject
* obj1
= 0 ;
30450 PyObject
* obj2
= 0 ;
30451 PyObject
* obj3
= 0 ;
30452 char *kwnames
[] = {
30453 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30459 arg2
= (int)SWIG_As_int(obj1
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 arg3
= wxString_in_helper(obj2
);
30463 if (arg3
== NULL
) SWIG_fail
;
30468 arg4
= wxString_in_helper(obj3
);
30469 if (arg4
== NULL
) SWIG_fail
;
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30481 resultobj
= wxPyMake_wxObject(result
, 0);
30505 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30506 PyObject
*resultobj
;
30507 wxMenu
*arg1
= (wxMenu
*) 0 ;
30509 wxString
*arg3
= 0 ;
30510 wxMenu
*arg4
= (wxMenu
*) 0 ;
30511 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30512 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30513 wxMenuItem
*result
;
30514 bool temp3
= false ;
30515 bool temp5
= false ;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 PyObject
* obj2
= 0 ;
30519 PyObject
* obj3
= 0 ;
30520 PyObject
* obj4
= 0 ;
30521 char *kwnames
[] = {
30522 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30528 arg2
= (int)SWIG_As_int(obj1
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 arg3
= wxString_in_helper(obj2
);
30532 if (arg3
== NULL
) SWIG_fail
;
30535 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30539 arg5
= wxString_in_helper(obj4
);
30540 if (arg5
== NULL
) SWIG_fail
;
30545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30546 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30548 wxPyEndAllowThreads(__tstate
);
30549 if (PyErr_Occurred()) SWIG_fail
;
30552 resultobj
= wxPyMake_wxObject(result
, 0);
30576 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxMenu
*arg1
= (wxMenu
*) 0 ;
30580 wxMenuItem
*result
;
30581 PyObject
* obj0
= 0 ;
30582 PyObject
* obj1
= 0 ;
30583 char *kwnames
[] = {
30584 (char *) "self",(char *) "id", NULL
30587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30590 arg2
= (int)SWIG_As_int(obj1
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30600 resultobj
= wxPyMake_wxObject(result
, 0);
30608 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30609 PyObject
*resultobj
;
30610 wxMenu
*arg1
= (wxMenu
*) 0 ;
30611 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30612 wxMenuItem
*result
;
30613 PyObject
* obj0
= 0 ;
30614 PyObject
* obj1
= 0 ;
30615 char *kwnames
[] = {
30616 (char *) "self",(char *) "item", NULL
30619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30632 resultobj
= wxPyMake_wxObject(result
, 0);
30640 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30641 PyObject
*resultobj
;
30642 wxMenu
*arg1
= (wxMenu
*) 0 ;
30645 PyObject
* obj0
= 0 ;
30646 PyObject
* obj1
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "self",(char *) "id", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30654 arg2
= (int)SWIG_As_int(obj1
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30658 result
= (bool)(arg1
)->Delete(arg2
);
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30672 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
;
30674 wxMenu
*arg1
= (wxMenu
*) 0 ;
30675 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30677 PyObject
* obj0
= 0 ;
30678 PyObject
* obj1
= 0 ;
30679 char *kwnames
[] = {
30680 (char *) "self",(char *) "item", NULL
30683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30690 result
= (bool)(arg1
)->Delete(arg2
);
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30704 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
;
30706 wxMenu
*arg1
= (wxMenu
*) 0 ;
30707 PyObject
* obj0
= 0 ;
30708 char *kwnames
[] = {
30709 (char *) "self", NULL
30712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 wxMenu_Destroy(arg1
);
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 Py_INCREF(Py_None
); resultobj
= Py_None
;
30729 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30730 PyObject
*resultobj
;
30731 wxMenu
*arg1
= (wxMenu
*) 0 ;
30734 PyObject
* obj0
= 0 ;
30735 PyObject
* obj1
= 0 ;
30736 char *kwnames
[] = {
30737 (char *) "self",(char *) "id", NULL
30740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30743 arg2
= (int)SWIG_As_int(obj1
);
30744 if (PyErr_Occurred()) SWIG_fail
;
30746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30747 result
= (bool)(arg1
)->Destroy(arg2
);
30749 wxPyEndAllowThreads(__tstate
);
30750 if (PyErr_Occurred()) SWIG_fail
;
30753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30761 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30762 PyObject
*resultobj
;
30763 wxMenu
*arg1
= (wxMenu
*) 0 ;
30764 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30766 PyObject
* obj0
= 0 ;
30767 PyObject
* obj1
= 0 ;
30768 char *kwnames
[] = {
30769 (char *) "self",(char *) "item", NULL
30772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 result
= (bool)(arg1
)->Destroy(arg2
);
30781 wxPyEndAllowThreads(__tstate
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30793 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
;
30795 wxMenu
*arg1
= (wxMenu
*) 0 ;
30797 PyObject
* obj0
= 0 ;
30798 char *kwnames
[] = {
30799 (char *) "self", NULL
30802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30812 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30819 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
;
30821 wxMenu
*arg1
= (wxMenu
*) 0 ;
30823 PyObject
* obj0
= 0 ;
30824 char *kwnames
[] = {
30825 (char *) "self", NULL
30828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30835 wxPyEndAllowThreads(__tstate
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30838 resultobj
= result
;
30845 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30846 PyObject
*resultobj
;
30847 wxMenu
*arg1
= (wxMenu
*) 0 ;
30848 wxString
*arg2
= 0 ;
30850 bool temp2
= false ;
30851 PyObject
* obj0
= 0 ;
30852 PyObject
* obj1
= 0 ;
30853 char *kwnames
[] = {
30854 (char *) "self",(char *) "item", NULL
30857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30861 arg2
= wxString_in_helper(obj1
);
30862 if (arg2
== NULL
) SWIG_fail
;
30866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30867 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30869 wxPyEndAllowThreads(__tstate
);
30870 if (PyErr_Occurred()) SWIG_fail
;
30872 resultobj
= SWIG_From_int((int)result
);
30887 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
;
30889 wxMenu
*arg1
= (wxMenu
*) 0 ;
30891 wxMenuItem
*result
;
30892 PyObject
* obj0
= 0 ;
30893 PyObject
* obj1
= 0 ;
30894 char *kwnames
[] = {
30895 (char *) "self",(char *) "id", NULL
30898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30901 arg2
= (int)SWIG_As_int(obj1
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30905 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30907 wxPyEndAllowThreads(__tstate
);
30908 if (PyErr_Occurred()) SWIG_fail
;
30911 resultobj
= wxPyMake_wxObject(result
, 0);
30919 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30920 PyObject
*resultobj
;
30921 wxMenu
*arg1
= (wxMenu
*) 0 ;
30923 wxMenuItem
*result
;
30924 PyObject
* obj0
= 0 ;
30925 PyObject
* obj1
= 0 ;
30926 char *kwnames
[] = {
30927 (char *) "self",(char *) "position", NULL
30930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30933 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30934 if (PyErr_Occurred()) SWIG_fail
;
30936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30937 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30943 resultobj
= wxPyMake_wxObject(result
, 0);
30951 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30952 PyObject
*resultobj
;
30953 wxMenu
*arg1
= (wxMenu
*) 0 ;
30956 PyObject
* obj0
= 0 ;
30957 PyObject
* obj1
= 0 ;
30958 PyObject
* obj2
= 0 ;
30959 char *kwnames
[] = {
30960 (char *) "self",(char *) "id",(char *) "enable", NULL
30963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30966 arg2
= (int)SWIG_As_int(obj1
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30968 arg3
= (bool)SWIG_As_bool(obj2
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30972 (arg1
)->Enable(arg2
,arg3
);
30974 wxPyEndAllowThreads(__tstate
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30977 Py_INCREF(Py_None
); resultobj
= Py_None
;
30984 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
;
30986 wxMenu
*arg1
= (wxMenu
*) 0 ;
30989 PyObject
* obj0
= 0 ;
30990 PyObject
* obj1
= 0 ;
30991 char *kwnames
[] = {
30992 (char *) "self",(char *) "id", NULL
30995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30998 arg2
= (int)SWIG_As_int(obj1
);
30999 if (PyErr_Occurred()) SWIG_fail
;
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31016 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxMenu
*arg1
= (wxMenu
*) 0 ;
31021 PyObject
* obj0
= 0 ;
31022 PyObject
* obj1
= 0 ;
31023 PyObject
* obj2
= 0 ;
31024 char *kwnames
[] = {
31025 (char *) "self",(char *) "id",(char *) "check", NULL
31028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31031 arg2
= (int)SWIG_As_int(obj1
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31033 arg3
= (bool)SWIG_As_bool(obj2
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 (arg1
)->Check(arg2
,arg3
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31042 Py_INCREF(Py_None
); resultobj
= Py_None
;
31049 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31050 PyObject
*resultobj
;
31051 wxMenu
*arg1
= (wxMenu
*) 0 ;
31054 PyObject
* obj0
= 0 ;
31055 PyObject
* obj1
= 0 ;
31056 char *kwnames
[] = {
31057 (char *) "self",(char *) "id", NULL
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31063 arg2
= (int)SWIG_As_int(obj1
);
31064 if (PyErr_Occurred()) SWIG_fail
;
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31067 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
31069 wxPyEndAllowThreads(__tstate
);
31070 if (PyErr_Occurred()) SWIG_fail
;
31073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31081 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
;
31083 wxMenu
*arg1
= (wxMenu
*) 0 ;
31085 wxString
*arg3
= 0 ;
31086 bool temp3
= false ;
31087 PyObject
* obj0
= 0 ;
31088 PyObject
* obj1
= 0 ;
31089 PyObject
* obj2
= 0 ;
31090 char *kwnames
[] = {
31091 (char *) "self",(char *) "id",(char *) "label", NULL
31094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31097 arg2
= (int)SWIG_As_int(obj1
);
31098 if (PyErr_Occurred()) SWIG_fail
;
31100 arg3
= wxString_in_helper(obj2
);
31101 if (arg3
== NULL
) SWIG_fail
;
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31108 wxPyEndAllowThreads(__tstate
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31111 Py_INCREF(Py_None
); resultobj
= Py_None
;
31126 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
;
31128 wxMenu
*arg1
= (wxMenu
*) 0 ;
31131 PyObject
* obj0
= 0 ;
31132 PyObject
* obj1
= 0 ;
31133 char *kwnames
[] = {
31134 (char *) "self",(char *) "id", NULL
31137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31140 arg2
= (int)SWIG_As_int(obj1
);
31141 if (PyErr_Occurred()) SWIG_fail
;
31143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31144 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31162 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31163 PyObject
*resultobj
;
31164 wxMenu
*arg1
= (wxMenu
*) 0 ;
31166 wxString
*arg3
= 0 ;
31167 bool temp3
= false ;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 PyObject
* obj2
= 0 ;
31171 char *kwnames
[] = {
31172 (char *) "self",(char *) "id",(char *) "helpString", NULL
31175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31178 arg2
= (int)SWIG_As_int(obj1
);
31179 if (PyErr_Occurred()) SWIG_fail
;
31181 arg3
= wxString_in_helper(obj2
);
31182 if (arg3
== NULL
) SWIG_fail
;
31186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31187 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31189 wxPyEndAllowThreads(__tstate
);
31190 if (PyErr_Occurred()) SWIG_fail
;
31192 Py_INCREF(Py_None
); resultobj
= Py_None
;
31207 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31208 PyObject
*resultobj
;
31209 wxMenu
*arg1
= (wxMenu
*) 0 ;
31212 PyObject
* obj0
= 0 ;
31213 PyObject
* obj1
= 0 ;
31214 char *kwnames
[] = {
31215 (char *) "self",(char *) "id", NULL
31218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31221 arg2
= (int)SWIG_As_int(obj1
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31243 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
;
31245 wxMenu
*arg1
= (wxMenu
*) 0 ;
31246 wxString
*arg2
= 0 ;
31247 bool temp2
= false ;
31248 PyObject
* obj0
= 0 ;
31249 PyObject
* obj1
= 0 ;
31250 char *kwnames
[] = {
31251 (char *) "self",(char *) "title", NULL
31254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31258 arg2
= wxString_in_helper(obj1
);
31259 if (arg2
== NULL
) SWIG_fail
;
31263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31264 (arg1
)->SetTitle((wxString
const &)*arg2
);
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31269 Py_INCREF(Py_None
); resultobj
= Py_None
;
31284 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31285 PyObject
*resultobj
;
31286 wxMenu
*arg1
= (wxMenu
*) 0 ;
31288 PyObject
* obj0
= 0 ;
31289 char *kwnames
[] = {
31290 (char *) "self", NULL
31293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 result
= ((wxMenu
const *)arg1
)->GetTitle();
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31316 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31317 PyObject
*resultobj
;
31318 wxMenu
*arg1
= (wxMenu
*) 0 ;
31319 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31320 PyObject
* obj0
= 0 ;
31321 PyObject
* obj1
= 0 ;
31322 char *kwnames
[] = {
31323 (char *) "self",(char *) "handler", NULL
31326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31333 (arg1
)->SetEventHandler(arg2
);
31335 wxPyEndAllowThreads(__tstate
);
31336 if (PyErr_Occurred()) SWIG_fail
;
31338 Py_INCREF(Py_None
); resultobj
= Py_None
;
31345 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31346 PyObject
*resultobj
;
31347 wxMenu
*arg1
= (wxMenu
*) 0 ;
31348 wxEvtHandler
*result
;
31349 PyObject
* obj0
= 0 ;
31350 char *kwnames
[] = {
31351 (char *) "self", NULL
31354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31365 resultobj
= wxPyMake_wxObject(result
, 0);
31373 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31374 PyObject
*resultobj
;
31375 wxMenu
*arg1
= (wxMenu
*) 0 ;
31376 wxWindow
*arg2
= (wxWindow
*) 0 ;
31377 PyObject
* obj0
= 0 ;
31378 PyObject
* obj1
= 0 ;
31379 char *kwnames
[] = {
31380 (char *) "self",(char *) "win", NULL
31383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31390 (arg1
)->SetInvokingWindow(arg2
);
31392 wxPyEndAllowThreads(__tstate
);
31393 if (PyErr_Occurred()) SWIG_fail
;
31395 Py_INCREF(Py_None
); resultobj
= Py_None
;
31402 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31403 PyObject
*resultobj
;
31404 wxMenu
*arg1
= (wxMenu
*) 0 ;
31406 PyObject
* obj0
= 0 ;
31407 char *kwnames
[] = {
31408 (char *) "self", NULL
31411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31416 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31418 wxPyEndAllowThreads(__tstate
);
31419 if (PyErr_Occurred()) SWIG_fail
;
31422 resultobj
= wxPyMake_wxObject(result
, 0);
31430 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31431 PyObject
*resultobj
;
31432 wxMenu
*arg1
= (wxMenu
*) 0 ;
31434 PyObject
* obj0
= 0 ;
31435 char *kwnames
[] = {
31436 (char *) "self", NULL
31439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31444 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31449 resultobj
= SWIG_From_long((long)result
);
31456 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
;
31458 wxMenu
*arg1
= (wxMenu
*) 0 ;
31459 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31460 PyObject
* obj0
= 0 ;
31461 PyObject
* obj1
= 0 ;
31462 char *kwnames
[] = {
31463 (char *) "self",(char *) "source", NULL
31466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 (arg1
)->UpdateUI(arg2
);
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 Py_INCREF(Py_None
); resultobj
= Py_None
;
31487 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
;
31489 wxMenu
*arg1
= (wxMenu
*) 0 ;
31491 PyObject
* obj0
= 0 ;
31492 char *kwnames
[] = {
31493 (char *) "self", NULL
31496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31507 resultobj
= wxPyMake_wxObject(result
, 0);
31515 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31516 PyObject
*resultobj
;
31517 wxMenu
*arg1
= (wxMenu
*) 0 ;
31518 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31519 PyObject
* obj0
= 0 ;
31520 PyObject
* obj1
= 0 ;
31521 char *kwnames
[] = {
31522 (char *) "self",(char *) "menubar", NULL
31525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31532 (arg1
)->Attach(arg2
);
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 Py_INCREF(Py_None
); resultobj
= Py_None
;
31544 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31545 PyObject
*resultobj
;
31546 wxMenu
*arg1
= (wxMenu
*) 0 ;
31547 PyObject
* obj0
= 0 ;
31548 char *kwnames
[] = {
31549 (char *) "self", NULL
31552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31559 wxPyEndAllowThreads(__tstate
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31562 Py_INCREF(Py_None
); resultobj
= Py_None
;
31569 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31570 PyObject
*resultobj
;
31571 wxMenu
*arg1
= (wxMenu
*) 0 ;
31573 PyObject
* obj0
= 0 ;
31574 char *kwnames
[] = {
31575 (char *) "self", NULL
31578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31583 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31597 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31598 PyObject
*resultobj
;
31599 wxMenu
*arg1
= (wxMenu
*) 0 ;
31600 wxMenu
*arg2
= (wxMenu
*) 0 ;
31601 PyObject
* obj0
= 0 ;
31602 PyObject
* obj1
= 0 ;
31603 char *kwnames
[] = {
31604 (char *) "self",(char *) "parent", NULL
31607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 (arg1
)->SetParent(arg2
);
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31619 Py_INCREF(Py_None
); resultobj
= Py_None
;
31626 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
;
31628 wxMenu
*arg1
= (wxMenu
*) 0 ;
31630 PyObject
* obj0
= 0 ;
31631 char *kwnames
[] = {
31632 (char *) "self", NULL
31635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31646 resultobj
= wxPyMake_wxObject(result
, 0);
31654 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31657 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31659 return Py_BuildValue((char *)"");
31661 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
;
31663 long arg1
= (long) 0 ;
31665 PyObject
* obj0
= 0 ;
31666 char *kwnames
[] = {
31667 (char *) "style", NULL
31670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31672 arg1
= (long)SWIG_As_long(obj0
);
31673 if (PyErr_Occurred()) SWIG_fail
;
31676 if (!wxPyCheckForApp()) SWIG_fail
;
31677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31680 wxPyEndAllowThreads(__tstate
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31690 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
;
31692 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31693 wxMenu
*arg2
= (wxMenu
*) 0 ;
31694 wxString
*arg3
= 0 ;
31696 bool temp3
= false ;
31697 PyObject
* obj0
= 0 ;
31698 PyObject
* obj1
= 0 ;
31699 PyObject
* obj2
= 0 ;
31700 char *kwnames
[] = {
31701 (char *) "self",(char *) "menu",(char *) "title", NULL
31704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31710 arg3
= wxString_in_helper(obj2
);
31711 if (arg3
== NULL
) SWIG_fail
;
31715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31716 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31718 wxPyEndAllowThreads(__tstate
);
31719 if (PyErr_Occurred()) SWIG_fail
;
31722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31738 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31739 PyObject
*resultobj
;
31740 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31742 wxMenu
*arg3
= (wxMenu
*) 0 ;
31743 wxString
*arg4
= 0 ;
31745 bool temp4
= false ;
31746 PyObject
* obj0
= 0 ;
31747 PyObject
* obj1
= 0 ;
31748 PyObject
* obj2
= 0 ;
31749 PyObject
* obj3
= 0 ;
31750 char *kwnames
[] = {
31751 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31757 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31758 if (PyErr_Occurred()) SWIG_fail
;
31759 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31762 arg4
= wxString_in_helper(obj3
);
31763 if (arg4
== NULL
) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31790 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31791 PyObject
*resultobj
;
31792 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31794 PyObject
* obj0
= 0 ;
31795 char *kwnames
[] = {
31796 (char *) "self", NULL
31799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31804 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31809 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31816 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31817 PyObject
*resultobj
;
31818 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31821 PyObject
* obj0
= 0 ;
31822 PyObject
* obj1
= 0 ;
31823 char *kwnames
[] = {
31824 (char *) "self",(char *) "pos", NULL
31827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31830 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31831 if (PyErr_Occurred()) SWIG_fail
;
31833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31834 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31836 wxPyEndAllowThreads(__tstate
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31840 resultobj
= wxPyMake_wxObject(result
, 0);
31848 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31849 PyObject
*resultobj
;
31850 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31852 wxMenu
*arg3
= (wxMenu
*) 0 ;
31853 wxString
*arg4
= 0 ;
31855 bool temp4
= false ;
31856 PyObject
* obj0
= 0 ;
31857 PyObject
* obj1
= 0 ;
31858 PyObject
* obj2
= 0 ;
31859 PyObject
* obj3
= 0 ;
31860 char *kwnames
[] = {
31861 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31867 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31869 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31872 arg4
= wxString_in_helper(obj3
);
31873 if (arg4
== NULL
) SWIG_fail
;
31877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31878 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= wxPyMake_wxObject(result
, 0);
31900 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31901 PyObject
*resultobj
;
31902 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31905 PyObject
* obj0
= 0 ;
31906 PyObject
* obj1
= 0 ;
31907 char *kwnames
[] = {
31908 (char *) "self",(char *) "pos", NULL
31911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31914 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31915 if (PyErr_Occurred()) SWIG_fail
;
31917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31918 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31920 wxPyEndAllowThreads(__tstate
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31924 resultobj
= wxPyMake_wxObject(result
, 0);
31932 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31933 PyObject
*resultobj
;
31934 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31937 PyObject
* obj0
= 0 ;
31938 PyObject
* obj1
= 0 ;
31939 PyObject
* obj2
= 0 ;
31940 char *kwnames
[] = {
31941 (char *) "self",(char *) "pos",(char *) "enable", NULL
31944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31947 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31949 arg3
= (bool)SWIG_As_bool(obj2
);
31950 if (PyErr_Occurred()) SWIG_fail
;
31952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31953 (arg1
)->EnableTop(arg2
,arg3
);
31955 wxPyEndAllowThreads(__tstate
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31958 Py_INCREF(Py_None
); resultobj
= Py_None
;
31965 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31966 PyObject
*resultobj
;
31967 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31970 PyObject
* obj0
= 0 ;
31971 PyObject
* obj1
= 0 ;
31972 char *kwnames
[] = {
31973 (char *) "self",(char *) "pos", NULL
31976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31979 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31980 if (PyErr_Occurred()) SWIG_fail
;
31982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31983 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31985 wxPyEndAllowThreads(__tstate
);
31986 if (PyErr_Occurred()) SWIG_fail
;
31989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31997 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31998 PyObject
*resultobj
;
31999 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32001 wxString
*arg3
= 0 ;
32002 bool temp3
= false ;
32003 PyObject
* obj0
= 0 ;
32004 PyObject
* obj1
= 0 ;
32005 PyObject
* obj2
= 0 ;
32006 char *kwnames
[] = {
32007 (char *) "self",(char *) "pos",(char *) "label", NULL
32010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32013 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32014 if (PyErr_Occurred()) SWIG_fail
;
32016 arg3
= wxString_in_helper(obj2
);
32017 if (arg3
== NULL
) SWIG_fail
;
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 Py_INCREF(Py_None
); resultobj
= Py_None
;
32042 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32043 PyObject
*resultobj
;
32044 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32047 PyObject
* obj0
= 0 ;
32048 PyObject
* obj1
= 0 ;
32049 char *kwnames
[] = {
32050 (char *) "self",(char *) "pos", NULL
32053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32056 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32057 if (PyErr_Occurred()) SWIG_fail
;
32059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32060 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32078 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32079 PyObject
*resultobj
;
32080 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32081 wxString
*arg2
= 0 ;
32082 wxString
*arg3
= 0 ;
32084 bool temp2
= false ;
32085 bool temp3
= false ;
32086 PyObject
* obj0
= 0 ;
32087 PyObject
* obj1
= 0 ;
32088 PyObject
* obj2
= 0 ;
32089 char *kwnames
[] = {
32090 (char *) "self",(char *) "menu",(char *) "item", NULL
32093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32097 arg2
= wxString_in_helper(obj1
);
32098 if (arg2
== NULL
) SWIG_fail
;
32102 arg3
= wxString_in_helper(obj2
);
32103 if (arg3
== NULL
) SWIG_fail
;
32107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32108 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 resultobj
= SWIG_From_int((int)result
);
32136 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32137 PyObject
*resultobj
;
32138 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32140 wxMenuItem
*result
;
32141 PyObject
* obj0
= 0 ;
32142 PyObject
* obj1
= 0 ;
32143 char *kwnames
[] = {
32144 (char *) "self",(char *) "id", NULL
32147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",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
= (int)SWIG_As_int(obj1
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32154 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32156 wxPyEndAllowThreads(__tstate
);
32157 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= wxPyMake_wxObject(result
, 0);
32168 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32169 PyObject
*resultobj
;
32170 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32171 wxString
*arg2
= 0 ;
32173 bool temp2
= false ;
32174 PyObject
* obj0
= 0 ;
32175 PyObject
* obj1
= 0 ;
32176 char *kwnames
[] = {
32177 (char *) "self",(char *) "title", NULL
32180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32184 arg2
= wxString_in_helper(obj1
);
32185 if (arg2
== NULL
) SWIG_fail
;
32189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32190 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32192 wxPyEndAllowThreads(__tstate
);
32193 if (PyErr_Occurred()) SWIG_fail
;
32195 resultobj
= SWIG_From_int((int)result
);
32210 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32211 PyObject
*resultobj
;
32212 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32215 PyObject
* obj0
= 0 ;
32216 PyObject
* obj1
= 0 ;
32217 PyObject
* obj2
= 0 ;
32218 char *kwnames
[] = {
32219 (char *) "self",(char *) "id",(char *) "enable", NULL
32222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32225 arg2
= (int)SWIG_As_int(obj1
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32227 arg3
= (bool)SWIG_As_bool(obj2
);
32228 if (PyErr_Occurred()) SWIG_fail
;
32230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32231 (arg1
)->Enable(arg2
,arg3
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32236 Py_INCREF(Py_None
); resultobj
= Py_None
;
32243 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32244 PyObject
*resultobj
;
32245 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32248 PyObject
* obj0
= 0 ;
32249 PyObject
* obj1
= 0 ;
32250 PyObject
* obj2
= 0 ;
32251 char *kwnames
[] = {
32252 (char *) "self",(char *) "id",(char *) "check", NULL
32255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32258 arg2
= (int)SWIG_As_int(obj1
);
32259 if (PyErr_Occurred()) SWIG_fail
;
32260 arg3
= (bool)SWIG_As_bool(obj2
);
32261 if (PyErr_Occurred()) SWIG_fail
;
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 (arg1
)->Check(arg2
,arg3
);
32266 wxPyEndAllowThreads(__tstate
);
32267 if (PyErr_Occurred()) SWIG_fail
;
32269 Py_INCREF(Py_None
); resultobj
= Py_None
;
32276 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32277 PyObject
*resultobj
;
32278 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32281 PyObject
* obj0
= 0 ;
32282 PyObject
* obj1
= 0 ;
32283 char *kwnames
[] = {
32284 (char *) "self",(char *) "id", NULL
32287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32290 arg2
= (int)SWIG_As_int(obj1
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32296 wxPyEndAllowThreads(__tstate
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32308 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
;
32310 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32313 PyObject
* obj0
= 0 ;
32314 PyObject
* obj1
= 0 ;
32315 char *kwnames
[] = {
32316 (char *) "self",(char *) "id", NULL
32319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32322 arg2
= (int)SWIG_As_int(obj1
);
32323 if (PyErr_Occurred()) SWIG_fail
;
32325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32326 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32328 wxPyEndAllowThreads(__tstate
);
32329 if (PyErr_Occurred()) SWIG_fail
;
32332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32340 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32341 PyObject
*resultobj
;
32342 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32344 wxString
*arg3
= 0 ;
32345 bool temp3
= false ;
32346 PyObject
* obj0
= 0 ;
32347 PyObject
* obj1
= 0 ;
32348 PyObject
* obj2
= 0 ;
32349 char *kwnames
[] = {
32350 (char *) "self",(char *) "id",(char *) "label", NULL
32353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32356 arg2
= (int)SWIG_As_int(obj1
);
32357 if (PyErr_Occurred()) SWIG_fail
;
32359 arg3
= wxString_in_helper(obj2
);
32360 if (arg3
== NULL
) SWIG_fail
;
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32367 wxPyEndAllowThreads(__tstate
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32370 Py_INCREF(Py_None
); resultobj
= Py_None
;
32385 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32386 PyObject
*resultobj
;
32387 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32390 PyObject
* obj0
= 0 ;
32391 PyObject
* obj1
= 0 ;
32392 char *kwnames
[] = {
32393 (char *) "self",(char *) "id", NULL
32396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32399 arg2
= (int)SWIG_As_int(obj1
);
32400 if (PyErr_Occurred()) SWIG_fail
;
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32421 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32422 PyObject
*resultobj
;
32423 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32425 wxString
*arg3
= 0 ;
32426 bool temp3
= false ;
32427 PyObject
* obj0
= 0 ;
32428 PyObject
* obj1
= 0 ;
32429 PyObject
* obj2
= 0 ;
32430 char *kwnames
[] = {
32431 (char *) "self",(char *) "id",(char *) "helpString", NULL
32434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32437 arg2
= (int)SWIG_As_int(obj1
);
32438 if (PyErr_Occurred()) SWIG_fail
;
32440 arg3
= wxString_in_helper(obj2
);
32441 if (arg3
== NULL
) SWIG_fail
;
32445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32446 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32448 wxPyEndAllowThreads(__tstate
);
32449 if (PyErr_Occurred()) SWIG_fail
;
32451 Py_INCREF(Py_None
); resultobj
= Py_None
;
32466 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32467 PyObject
*resultobj
;
32468 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32471 PyObject
* obj0
= 0 ;
32472 PyObject
* obj1
= 0 ;
32473 char *kwnames
[] = {
32474 (char *) "self",(char *) "id", NULL
32477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32480 arg2
= (int)SWIG_As_int(obj1
);
32481 if (PyErr_Occurred()) SWIG_fail
;
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32486 wxPyEndAllowThreads(__tstate
);
32487 if (PyErr_Occurred()) SWIG_fail
;
32491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32502 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
;
32504 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32506 PyObject
* obj0
= 0 ;
32507 char *kwnames
[] = {
32508 (char *) "self", NULL
32511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32516 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32518 wxPyEndAllowThreads(__tstate
);
32519 if (PyErr_Occurred()) SWIG_fail
;
32522 resultobj
= wxPyMake_wxObject(result
, 0);
32530 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32531 PyObject
*resultobj
;
32532 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32534 PyObject
* obj0
= 0 ;
32535 char *kwnames
[] = {
32536 (char *) "self", NULL
32539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32558 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32559 PyObject
*resultobj
;
32560 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32561 wxFrame
*arg2
= (wxFrame
*) 0 ;
32562 PyObject
* obj0
= 0 ;
32563 PyObject
* obj1
= 0 ;
32564 char *kwnames
[] = {
32565 (char *) "self",(char *) "frame", NULL
32568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32575 (arg1
)->Attach(arg2
);
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32580 Py_INCREF(Py_None
); resultobj
= Py_None
;
32587 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32588 PyObject
*resultobj
;
32589 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32590 PyObject
* obj0
= 0 ;
32591 char *kwnames
[] = {
32592 (char *) "self", NULL
32595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32605 Py_INCREF(Py_None
); resultobj
= Py_None
;
32612 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32615 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32617 return Py_BuildValue((char *)"");
32619 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32620 PyObject
*resultobj
;
32621 wxMenu
*arg1
= (wxMenu
*) NULL
;
32622 int arg2
= (int) wxID_ANY
;
32623 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32624 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32625 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32626 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32627 int arg5
= (int) wxITEM_NORMAL
;
32628 wxMenu
*arg6
= (wxMenu
*) NULL
;
32629 wxMenuItem
*result
;
32630 bool temp3
= false ;
32631 bool temp4
= false ;
32632 PyObject
* obj0
= 0 ;
32633 PyObject
* obj1
= 0 ;
32634 PyObject
* obj2
= 0 ;
32635 PyObject
* obj3
= 0 ;
32636 PyObject
* obj4
= 0 ;
32637 PyObject
* obj5
= 0 ;
32638 char *kwnames
[] = {
32639 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32648 arg2
= (int)SWIG_As_int(obj1
);
32649 if (PyErr_Occurred()) SWIG_fail
;
32653 arg3
= wxString_in_helper(obj2
);
32654 if (arg3
== NULL
) SWIG_fail
;
32660 arg4
= wxString_in_helper(obj3
);
32661 if (arg4
== NULL
) SWIG_fail
;
32666 arg5
= (int)SWIG_As_int(obj4
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32670 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32675 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32677 wxPyEndAllowThreads(__tstate
);
32678 if (PyErr_Occurred()) SWIG_fail
;
32681 resultobj
= wxPyMake_wxObject(result
, 1);
32705 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32706 PyObject
*resultobj
;
32707 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32709 PyObject
* obj0
= 0 ;
32710 char *kwnames
[] = {
32711 (char *) "self", NULL
32714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32719 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32721 wxPyEndAllowThreads(__tstate
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32725 resultobj
= wxPyMake_wxObject(result
, 0);
32733 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
;
32735 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32736 wxMenu
*arg2
= (wxMenu
*) 0 ;
32737 PyObject
* obj0
= 0 ;
32738 PyObject
* obj1
= 0 ;
32739 char *kwnames
[] = {
32740 (char *) "self",(char *) "menu", NULL
32743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32750 (arg1
)->SetMenu(arg2
);
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32755 Py_INCREF(Py_None
); resultobj
= Py_None
;
32762 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32763 PyObject
*resultobj
;
32764 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32766 PyObject
* obj0
= 0 ;
32767 PyObject
* obj1
= 0 ;
32768 char *kwnames
[] = {
32769 (char *) "self",(char *) "id", NULL
32772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32775 arg2
= (int)SWIG_As_int(obj1
);
32776 if (PyErr_Occurred()) SWIG_fail
;
32778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32779 (arg1
)->SetId(arg2
);
32781 wxPyEndAllowThreads(__tstate
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32784 Py_INCREF(Py_None
); resultobj
= Py_None
;
32791 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32792 PyObject
*resultobj
;
32793 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32795 PyObject
* obj0
= 0 ;
32796 char *kwnames
[] = {
32797 (char *) "self", NULL
32800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32805 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32810 resultobj
= SWIG_From_int((int)result
);
32817 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32818 PyObject
*resultobj
;
32819 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32821 PyObject
* obj0
= 0 ;
32822 char *kwnames
[] = {
32823 (char *) "self", NULL
32826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32831 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32833 wxPyEndAllowThreads(__tstate
);
32834 if (PyErr_Occurred()) SWIG_fail
;
32837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32845 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32846 PyObject
*resultobj
;
32847 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32848 wxString
*arg2
= 0 ;
32849 bool temp2
= false ;
32850 PyObject
* obj0
= 0 ;
32851 PyObject
* obj1
= 0 ;
32852 char *kwnames
[] = {
32853 (char *) "self",(char *) "str", NULL
32856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32860 arg2
= wxString_in_helper(obj1
);
32861 if (arg2
== NULL
) SWIG_fail
;
32865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32866 (arg1
)->SetText((wxString
const &)*arg2
);
32868 wxPyEndAllowThreads(__tstate
);
32869 if (PyErr_Occurred()) SWIG_fail
;
32871 Py_INCREF(Py_None
); resultobj
= Py_None
;
32886 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32887 PyObject
*resultobj
;
32888 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32890 PyObject
* obj0
= 0 ;
32891 char *kwnames
[] = {
32892 (char *) "self", NULL
32895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32918 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32919 PyObject
*resultobj
;
32920 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32922 PyObject
* obj0
= 0 ;
32923 char *kwnames
[] = {
32924 (char *) "self", NULL
32927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32933 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32934 result
= (wxString
*) &_result_ref
;
32937 wxPyEndAllowThreads(__tstate
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32942 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32944 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32953 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32954 PyObject
*resultobj
;
32955 wxString
*arg1
= 0 ;
32957 bool temp1
= false ;
32958 PyObject
* obj0
= 0 ;
32959 char *kwnames
[] = {
32960 (char *) "text", NULL
32963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32965 arg1
= wxString_in_helper(obj0
);
32966 if (arg1
== NULL
) SWIG_fail
;
32970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32997 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32998 PyObject
*resultobj
;
32999 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33001 PyObject
* obj0
= 0 ;
33002 char *kwnames
[] = {
33003 (char *) "self", NULL
33006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
33007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33011 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
33013 wxPyEndAllowThreads(__tstate
);
33014 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= SWIG_From_int((int)result
);
33023 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33024 PyObject
*resultobj
;
33025 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33027 PyObject
* obj0
= 0 ;
33028 PyObject
* obj1
= 0 ;
33029 char *kwnames
[] = {
33030 (char *) "self",(char *) "kind", NULL
33033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
33034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33036 arg2
= (int)SWIG_As_int(obj1
);
33037 if (PyErr_Occurred()) SWIG_fail
;
33039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33040 (arg1
)->SetKind((wxItemKind
)arg2
);
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33045 Py_INCREF(Py_None
); resultobj
= Py_None
;
33052 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33053 PyObject
*resultobj
;
33054 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33056 PyObject
* obj0
= 0 ;
33057 PyObject
* obj1
= 0 ;
33058 char *kwnames
[] = {
33059 (char *) "self",(char *) "checkable", NULL
33062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
33063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33065 arg2
= (bool)SWIG_As_bool(obj1
);
33066 if (PyErr_Occurred()) SWIG_fail
;
33068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33069 (arg1
)->SetCheckable(arg2
);
33071 wxPyEndAllowThreads(__tstate
);
33072 if (PyErr_Occurred()) SWIG_fail
;
33074 Py_INCREF(Py_None
); resultobj
= Py_None
;
33081 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33082 PyObject
*resultobj
;
33083 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33085 PyObject
* obj0
= 0 ;
33086 char *kwnames
[] = {
33087 (char *) "self", NULL
33090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33095 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33097 wxPyEndAllowThreads(__tstate
);
33098 if (PyErr_Occurred()) SWIG_fail
;
33101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33109 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33110 PyObject
*resultobj
;
33111 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33113 PyObject
* obj0
= 0 ;
33114 char *kwnames
[] = {
33115 (char *) "self", NULL
33118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33123 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33125 wxPyEndAllowThreads(__tstate
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33137 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33138 PyObject
*resultobj
;
33139 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33140 wxMenu
*arg2
= (wxMenu
*) 0 ;
33141 PyObject
* obj0
= 0 ;
33142 PyObject
* obj1
= 0 ;
33143 char *kwnames
[] = {
33144 (char *) "self",(char *) "menu", NULL
33147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33154 (arg1
)->SetSubMenu(arg2
);
33156 wxPyEndAllowThreads(__tstate
);
33157 if (PyErr_Occurred()) SWIG_fail
;
33159 Py_INCREF(Py_None
); resultobj
= Py_None
;
33166 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33167 PyObject
*resultobj
;
33168 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33170 PyObject
* obj0
= 0 ;
33171 char *kwnames
[] = {
33172 (char *) "self", NULL
33175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33180 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33182 wxPyEndAllowThreads(__tstate
);
33183 if (PyErr_Occurred()) SWIG_fail
;
33186 resultobj
= wxPyMake_wxObject(result
, 0);
33194 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33195 PyObject
*resultobj
;
33196 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33197 bool arg2
= (bool) true ;
33198 PyObject
* obj0
= 0 ;
33199 PyObject
* obj1
= 0 ;
33200 char *kwnames
[] = {
33201 (char *) "self",(char *) "enable", NULL
33204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33208 arg2
= (bool)SWIG_As_bool(obj1
);
33209 if (PyErr_Occurred()) SWIG_fail
;
33212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33213 (arg1
)->Enable(arg2
);
33215 wxPyEndAllowThreads(__tstate
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33218 Py_INCREF(Py_None
); resultobj
= Py_None
;
33225 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33226 PyObject
*resultobj
;
33227 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33229 PyObject
* obj0
= 0 ;
33230 char *kwnames
[] = {
33231 (char *) "self", NULL
33234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33239 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33241 wxPyEndAllowThreads(__tstate
);
33242 if (PyErr_Occurred()) SWIG_fail
;
33245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33253 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33254 PyObject
*resultobj
;
33255 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33256 bool arg2
= (bool) true ;
33257 PyObject
* obj0
= 0 ;
33258 PyObject
* obj1
= 0 ;
33259 char *kwnames
[] = {
33260 (char *) "self",(char *) "check", NULL
33263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33267 arg2
= (bool)SWIG_As_bool(obj1
);
33268 if (PyErr_Occurred()) SWIG_fail
;
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 (arg1
)->Check(arg2
);
33274 wxPyEndAllowThreads(__tstate
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33277 Py_INCREF(Py_None
); resultobj
= Py_None
;
33284 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33285 PyObject
*resultobj
;
33286 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33288 PyObject
* obj0
= 0 ;
33289 char *kwnames
[] = {
33290 (char *) "self", NULL
33293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33298 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33300 wxPyEndAllowThreads(__tstate
);
33301 if (PyErr_Occurred()) SWIG_fail
;
33304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33312 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33313 PyObject
*resultobj
;
33314 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33315 PyObject
* obj0
= 0 ;
33316 char *kwnames
[] = {
33317 (char *) "self", NULL
33320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33327 wxPyEndAllowThreads(__tstate
);
33328 if (PyErr_Occurred()) SWIG_fail
;
33330 Py_INCREF(Py_None
); resultobj
= Py_None
;
33337 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33338 PyObject
*resultobj
;
33339 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33340 wxString
*arg2
= 0 ;
33341 bool temp2
= false ;
33342 PyObject
* obj0
= 0 ;
33343 PyObject
* obj1
= 0 ;
33344 char *kwnames
[] = {
33345 (char *) "self",(char *) "str", NULL
33348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33352 arg2
= wxString_in_helper(obj1
);
33353 if (arg2
== NULL
) SWIG_fail
;
33357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33358 (arg1
)->SetHelp((wxString
const &)*arg2
);
33360 wxPyEndAllowThreads(__tstate
);
33361 if (PyErr_Occurred()) SWIG_fail
;
33363 Py_INCREF(Py_None
); resultobj
= Py_None
;
33378 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33379 PyObject
*resultobj
;
33380 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33382 PyObject
* obj0
= 0 ;
33383 char *kwnames
[] = {
33384 (char *) "self", NULL
33387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33393 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33394 result
= (wxString
*) &_result_ref
;
33397 wxPyEndAllowThreads(__tstate
);
33398 if (PyErr_Occurred()) SWIG_fail
;
33402 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33404 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33413 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33414 PyObject
*resultobj
;
33415 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33416 wxAcceleratorEntry
*result
;
33417 PyObject
* obj0
= 0 ;
33418 char *kwnames
[] = {
33419 (char *) "self", NULL
33422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33427 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33429 wxPyEndAllowThreads(__tstate
);
33430 if (PyErr_Occurred()) SWIG_fail
;
33432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33439 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33440 PyObject
*resultobj
;
33441 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33442 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33443 PyObject
* obj0
= 0 ;
33444 PyObject
* obj1
= 0 ;
33445 char *kwnames
[] = {
33446 (char *) "self",(char *) "accel", NULL
33449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33456 (arg1
)->SetAccel(arg2
);
33458 wxPyEndAllowThreads(__tstate
);
33459 if (PyErr_Occurred()) SWIG_fail
;
33461 Py_INCREF(Py_None
); resultobj
= Py_None
;
33468 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33469 PyObject
*resultobj
;
33471 char *kwnames
[] = {
33475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33478 result
= (int)MenuItem_GetDefaultMarginWidth();
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 resultobj
= SWIG_From_int((int)result
);
33490 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
;
33492 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33493 wxBitmap
*arg2
= 0 ;
33494 PyObject
* obj0
= 0 ;
33495 PyObject
* obj1
= 0 ;
33496 char *kwnames
[] = {
33497 (char *) "self",(char *) "bitmap", NULL
33500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33506 if (arg2
== NULL
) {
33507 PyErr_SetString(PyExc_TypeError
,"null reference");
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33512 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33517 Py_INCREF(Py_None
); resultobj
= Py_None
;
33524 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33525 PyObject
*resultobj
;
33526 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33528 PyObject
* obj0
= 0 ;
33529 char *kwnames
[] = {
33530 (char *) "self", NULL
33533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33539 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33540 result
= (wxBitmap
*) &_result_ref
;
33543 wxPyEndAllowThreads(__tstate
);
33544 if (PyErr_Occurred()) SWIG_fail
;
33547 wxBitmap
* resultptr
= new wxBitmap(*result
);
33548 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33556 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33559 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33561 return Py_BuildValue((char *)"");
33563 static int _wrap_ControlNameStr_set(PyObject
*) {
33564 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33569 static PyObject
*_wrap_ControlNameStr_get() {
33574 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33576 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33583 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33584 PyObject
*resultobj
;
33585 wxWindow
*arg1
= (wxWindow
*) 0 ;
33586 int arg2
= (int) -1 ;
33587 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33588 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33589 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33590 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33591 long arg5
= (long) 0 ;
33592 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33593 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33594 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33595 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33599 bool temp7
= false ;
33600 PyObject
* obj0
= 0 ;
33601 PyObject
* obj1
= 0 ;
33602 PyObject
* obj2
= 0 ;
33603 PyObject
* obj3
= 0 ;
33604 PyObject
* obj4
= 0 ;
33605 PyObject
* obj5
= 0 ;
33606 PyObject
* obj6
= 0 ;
33607 char *kwnames
[] = {
33608 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33615 arg2
= (int)SWIG_As_int(obj1
);
33616 if (PyErr_Occurred()) SWIG_fail
;
33621 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33627 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33631 arg5
= (long)SWIG_As_long(obj4
);
33632 if (PyErr_Occurred()) SWIG_fail
;
33635 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33638 if (arg6
== NULL
) {
33639 PyErr_SetString(PyExc_TypeError
,"null reference");
33645 arg7
= wxString_in_helper(obj6
);
33646 if (arg7
== NULL
) SWIG_fail
;
33651 if (!wxPyCheckForApp()) SWIG_fail
;
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33655 wxPyEndAllowThreads(__tstate
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33673 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33674 PyObject
*resultobj
;
33676 char *kwnames
[] = {
33680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33682 if (!wxPyCheckForApp()) SWIG_fail
;
33683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33684 result
= (wxControl
*)new wxControl();
33686 wxPyEndAllowThreads(__tstate
);
33687 if (PyErr_Occurred()) SWIG_fail
;
33689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33696 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33697 PyObject
*resultobj
;
33698 wxControl
*arg1
= (wxControl
*) 0 ;
33699 wxWindow
*arg2
= (wxWindow
*) 0 ;
33700 int arg3
= (int) -1 ;
33701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33705 long arg6
= (long) 0 ;
33706 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33707 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33708 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33709 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33713 bool temp8
= false ;
33714 PyObject
* obj0
= 0 ;
33715 PyObject
* obj1
= 0 ;
33716 PyObject
* obj2
= 0 ;
33717 PyObject
* obj3
= 0 ;
33718 PyObject
* obj4
= 0 ;
33719 PyObject
* obj5
= 0 ;
33720 PyObject
* obj6
= 0 ;
33721 PyObject
* obj7
= 0 ;
33722 char *kwnames
[] = {
33723 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33732 arg3
= (int)SWIG_As_int(obj2
);
33733 if (PyErr_Occurred()) SWIG_fail
;
33738 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33744 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33748 arg6
= (long)SWIG_As_long(obj5
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33752 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33755 if (arg7
== NULL
) {
33756 PyErr_SetString(PyExc_TypeError
,"null reference");
33762 arg8
= wxString_in_helper(obj7
);
33763 if (arg8
== NULL
) SWIG_fail
;
33768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33771 wxPyEndAllowThreads(__tstate
);
33772 if (PyErr_Occurred()) SWIG_fail
;
33775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33791 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33792 PyObject
*resultobj
;
33793 wxControl
*arg1
= (wxControl
*) 0 ;
33794 wxCommandEvent
*arg2
= 0 ;
33795 PyObject
* obj0
= 0 ;
33796 PyObject
* obj1
= 0 ;
33797 char *kwnames
[] = {
33798 (char *) "self",(char *) "event", NULL
33801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33807 if (arg2
== NULL
) {
33808 PyErr_SetString(PyExc_TypeError
,"null reference");
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33813 (arg1
)->Command(*arg2
);
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33818 Py_INCREF(Py_None
); resultobj
= Py_None
;
33825 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33826 PyObject
*resultobj
;
33827 wxControl
*arg1
= (wxControl
*) 0 ;
33829 PyObject
* obj0
= 0 ;
33830 char *kwnames
[] = {
33831 (char *) "self", NULL
33834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33839 result
= (arg1
)->GetLabel();
33841 wxPyEndAllowThreads(__tstate
);
33842 if (PyErr_Occurred()) SWIG_fail
;
33846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33857 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33858 PyObject
*resultobj
;
33859 wxControl
*arg1
= (wxControl
*) 0 ;
33860 wxString
*arg2
= 0 ;
33861 bool temp2
= false ;
33862 PyObject
* obj0
= 0 ;
33863 PyObject
* obj1
= 0 ;
33864 char *kwnames
[] = {
33865 (char *) "self",(char *) "label", NULL
33868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33872 arg2
= wxString_in_helper(obj1
);
33873 if (arg2
== NULL
) SWIG_fail
;
33877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33878 (arg1
)->SetLabel((wxString
const &)*arg2
);
33880 wxPyEndAllowThreads(__tstate
);
33881 if (PyErr_Occurred()) SWIG_fail
;
33883 Py_INCREF(Py_None
); resultobj
= Py_None
;
33898 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33899 PyObject
*resultobj
;
33900 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33901 wxVisualAttributes result
;
33902 PyObject
* obj0
= 0 ;
33903 char *kwnames
[] = {
33904 (char *) "variant", NULL
33907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33909 arg1
= (int)SWIG_As_int(obj0
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33913 if (!wxPyCheckForApp()) SWIG_fail
;
33914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33915 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33917 wxPyEndAllowThreads(__tstate
);
33918 if (PyErr_Occurred()) SWIG_fail
;
33921 wxVisualAttributes
* resultptr
;
33922 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33931 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
33933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33934 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33936 return Py_BuildValue((char *)"");
33938 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33939 PyObject
*resultobj
;
33940 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33941 wxString
*arg2
= 0 ;
33942 PyObject
*arg3
= (PyObject
*) NULL
;
33944 bool temp2
= false ;
33945 PyObject
* obj0
= 0 ;
33946 PyObject
* obj1
= 0 ;
33947 PyObject
* obj2
= 0 ;
33948 char *kwnames
[] = {
33949 (char *) "self",(char *) "item",(char *) "clientData", NULL
33952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33956 arg2
= wxString_in_helper(obj1
);
33957 if (arg2
== NULL
) SWIG_fail
;
33964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33965 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33967 wxPyEndAllowThreads(__tstate
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33970 resultobj
= SWIG_From_int((int)result
);
33985 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33986 PyObject
*resultobj
;
33987 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33988 wxArrayString
*arg2
= 0 ;
33989 bool temp2
= false ;
33990 PyObject
* obj0
= 0 ;
33991 PyObject
* obj1
= 0 ;
33992 char *kwnames
[] = {
33993 (char *) "self",(char *) "strings", NULL
33996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34000 if (! PySequence_Check(obj1
)) {
34001 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34004 arg2
= new wxArrayString
;
34006 int i
, len
=PySequence_Length(obj1
);
34007 for (i
=0; i
<len
; i
++) {
34008 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34010 PyObject
* str
= PyObject_Unicode(item
);
34012 PyObject
* str
= PyObject_Str(item
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34015 arg2
->Add(Py2wxString(str
));
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34022 (arg1
)->Append((wxArrayString
const &)*arg2
);
34024 wxPyEndAllowThreads(__tstate
);
34025 if (PyErr_Occurred()) SWIG_fail
;
34027 Py_INCREF(Py_None
); resultobj
= Py_None
;
34029 if (temp2
) delete arg2
;
34034 if (temp2
) delete arg2
;
34040 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34041 PyObject
*resultobj
;
34042 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34043 wxString
*arg2
= 0 ;
34045 PyObject
*arg4
= (PyObject
*) NULL
;
34047 bool temp2
= false ;
34048 PyObject
* obj0
= 0 ;
34049 PyObject
* obj1
= 0 ;
34050 PyObject
* obj2
= 0 ;
34051 PyObject
* obj3
= 0 ;
34052 char *kwnames
[] = {
34053 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34060 arg2
= wxString_in_helper(obj1
);
34061 if (arg2
== NULL
) SWIG_fail
;
34064 arg3
= (int)SWIG_As_int(obj2
);
34065 if (PyErr_Occurred()) SWIG_fail
;
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34076 resultobj
= SWIG_From_int((int)result
);
34091 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34092 PyObject
*resultobj
;
34093 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34094 PyObject
* obj0
= 0 ;
34095 char *kwnames
[] = {
34096 (char *) "self", NULL
34099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34106 wxPyEndAllowThreads(__tstate
);
34107 if (PyErr_Occurred()) SWIG_fail
;
34109 Py_INCREF(Py_None
); resultobj
= Py_None
;
34116 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34117 PyObject
*resultobj
;
34118 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34120 PyObject
* obj0
= 0 ;
34121 PyObject
* obj1
= 0 ;
34122 char *kwnames
[] = {
34123 (char *) "self",(char *) "n", NULL
34126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34129 arg2
= (int)SWIG_As_int(obj1
);
34130 if (PyErr_Occurred()) SWIG_fail
;
34132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34133 (arg1
)->Delete(arg2
);
34135 wxPyEndAllowThreads(__tstate
);
34136 if (PyErr_Occurred()) SWIG_fail
;
34138 Py_INCREF(Py_None
); resultobj
= Py_None
;
34145 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34146 PyObject
*resultobj
;
34147 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34149 PyObject
* obj0
= 0 ;
34150 char *kwnames
[] = {
34151 (char *) "self", NULL
34154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34161 wxPyEndAllowThreads(__tstate
);
34162 if (PyErr_Occurred()) SWIG_fail
;
34164 resultobj
= SWIG_From_int((int)result
);
34171 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34172 PyObject
*resultobj
;
34173 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34175 PyObject
* obj0
= 0 ;
34176 char *kwnames
[] = {
34177 (char *) "self", NULL
34180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34199 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34200 PyObject
*resultobj
;
34201 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34204 PyObject
* obj0
= 0 ;
34205 PyObject
* obj1
= 0 ;
34206 char *kwnames
[] = {
34207 (char *) "self",(char *) "n", NULL
34210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34213 arg2
= (int)SWIG_As_int(obj1
);
34214 if (PyErr_Occurred()) SWIG_fail
;
34216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34217 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34219 wxPyEndAllowThreads(__tstate
);
34220 if (PyErr_Occurred()) SWIG_fail
;
34224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34235 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34236 PyObject
*resultobj
;
34237 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34238 wxArrayString result
;
34239 PyObject
* obj0
= 0 ;
34240 char *kwnames
[] = {
34241 (char *) "self", NULL
34244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34249 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34255 resultobj
= wxArrayString2PyList_helper(result
);
34263 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34264 PyObject
*resultobj
;
34265 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34267 wxString
*arg3
= 0 ;
34268 bool temp3
= false ;
34269 PyObject
* obj0
= 0 ;
34270 PyObject
* obj1
= 0 ;
34271 PyObject
* obj2
= 0 ;
34272 char *kwnames
[] = {
34273 (char *) "self",(char *) "n",(char *) "s", NULL
34276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34279 arg2
= (int)SWIG_As_int(obj1
);
34280 if (PyErr_Occurred()) SWIG_fail
;
34282 arg3
= wxString_in_helper(obj2
);
34283 if (arg3
== NULL
) SWIG_fail
;
34287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34288 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34290 wxPyEndAllowThreads(__tstate
);
34291 if (PyErr_Occurred()) SWIG_fail
;
34293 Py_INCREF(Py_None
); resultobj
= Py_None
;
34308 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34309 PyObject
*resultobj
;
34310 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34311 wxString
*arg2
= 0 ;
34313 bool temp2
= false ;
34314 PyObject
* obj0
= 0 ;
34315 PyObject
* obj1
= 0 ;
34316 char *kwnames
[] = {
34317 (char *) "self",(char *) "s", NULL
34320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34324 arg2
= wxString_in_helper(obj1
);
34325 if (arg2
== NULL
) SWIG_fail
;
34329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34330 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34332 wxPyEndAllowThreads(__tstate
);
34333 if (PyErr_Occurred()) SWIG_fail
;
34335 resultobj
= SWIG_From_int((int)result
);
34350 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
;
34352 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34354 PyObject
* obj0
= 0 ;
34355 PyObject
* obj1
= 0 ;
34356 char *kwnames
[] = {
34357 (char *) "self",(char *) "n", NULL
34360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34363 arg2
= (int)SWIG_As_int(obj1
);
34364 if (PyErr_Occurred()) SWIG_fail
;
34366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34367 (arg1
)->Select(arg2
);
34369 wxPyEndAllowThreads(__tstate
);
34370 if (PyErr_Occurred()) SWIG_fail
;
34372 Py_INCREF(Py_None
); resultobj
= Py_None
;
34379 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34380 PyObject
*resultobj
;
34381 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34383 PyObject
* obj0
= 0 ;
34384 char *kwnames
[] = {
34385 (char *) "self", NULL
34388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34393 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34395 wxPyEndAllowThreads(__tstate
);
34396 if (PyErr_Occurred()) SWIG_fail
;
34398 resultobj
= SWIG_From_int((int)result
);
34405 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34406 PyObject
*resultobj
;
34407 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34409 PyObject
* obj0
= 0 ;
34410 char *kwnames
[] = {
34411 (char *) "self", NULL
34414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34419 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34421 wxPyEndAllowThreads(__tstate
);
34422 if (PyErr_Occurred()) SWIG_fail
;
34426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34437 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34438 PyObject
*resultobj
;
34439 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34442 PyObject
* obj0
= 0 ;
34443 PyObject
* obj1
= 0 ;
34444 char *kwnames
[] = {
34445 (char *) "self",(char *) "n", NULL
34448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34451 arg2
= (int)SWIG_As_int(obj1
);
34452 if (PyErr_Occurred()) SWIG_fail
;
34454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34455 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34457 wxPyEndAllowThreads(__tstate
);
34458 if (PyErr_Occurred()) SWIG_fail
;
34460 resultobj
= result
;
34467 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
;
34469 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34471 PyObject
*arg3
= (PyObject
*) 0 ;
34472 PyObject
* obj0
= 0 ;
34473 PyObject
* obj1
= 0 ;
34474 PyObject
* obj2
= 0 ;
34475 char *kwnames
[] = {
34476 (char *) "self",(char *) "n",(char *) "clientData", NULL
34479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34482 arg2
= (int)SWIG_As_int(obj1
);
34483 if (PyErr_Occurred()) SWIG_fail
;
34486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34487 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34489 wxPyEndAllowThreads(__tstate
);
34490 if (PyErr_Occurred()) SWIG_fail
;
34492 Py_INCREF(Py_None
); resultobj
= Py_None
;
34499 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34502 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34504 return Py_BuildValue((char *)"");
34506 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34509 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34511 return Py_BuildValue((char *)"");
34513 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34514 PyObject
*resultobj
;
34515 wxSizerItem
*result
;
34516 char *kwnames
[] = {
34520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34523 result
= (wxSizerItem
*)new wxSizerItem();
34525 wxPyEndAllowThreads(__tstate
);
34526 if (PyErr_Occurred()) SWIG_fail
;
34528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34535 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34536 PyObject
*resultobj
;
34537 wxWindow
*arg1
= (wxWindow
*) 0 ;
34541 PyObject
*arg5
= (PyObject
*) NULL
;
34542 wxSizerItem
*result
;
34543 PyObject
* obj0
= 0 ;
34544 PyObject
* obj1
= 0 ;
34545 PyObject
* obj2
= 0 ;
34546 PyObject
* obj3
= 0 ;
34547 PyObject
* obj4
= 0 ;
34548 char *kwnames
[] = {
34549 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34555 arg2
= (int)SWIG_As_int(obj1
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34557 arg3
= (int)SWIG_As_int(obj2
);
34558 if (PyErr_Occurred()) SWIG_fail
;
34559 arg4
= (int)SWIG_As_int(obj3
);
34560 if (PyErr_Occurred()) SWIG_fail
;
34565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34566 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34568 wxPyEndAllowThreads(__tstate
);
34569 if (PyErr_Occurred()) SWIG_fail
;
34571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34578 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34579 PyObject
*resultobj
;
34585 PyObject
*arg6
= (PyObject
*) NULL
;
34586 wxSizerItem
*result
;
34587 PyObject
* obj0
= 0 ;
34588 PyObject
* obj1
= 0 ;
34589 PyObject
* obj2
= 0 ;
34590 PyObject
* obj3
= 0 ;
34591 PyObject
* obj4
= 0 ;
34592 PyObject
* obj5
= 0 ;
34593 char *kwnames
[] = {
34594 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34598 arg1
= (int)SWIG_As_int(obj0
);
34599 if (PyErr_Occurred()) SWIG_fail
;
34600 arg2
= (int)SWIG_As_int(obj1
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34602 arg3
= (int)SWIG_As_int(obj2
);
34603 if (PyErr_Occurred()) SWIG_fail
;
34604 arg4
= (int)SWIG_As_int(obj3
);
34605 if (PyErr_Occurred()) SWIG_fail
;
34606 arg5
= (int)SWIG_As_int(obj4
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34613 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34615 wxPyEndAllowThreads(__tstate
);
34616 if (PyErr_Occurred()) SWIG_fail
;
34618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34625 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34626 PyObject
*resultobj
;
34627 wxSizer
*arg1
= (wxSizer
*) 0 ;
34631 PyObject
*arg5
= (PyObject
*) NULL
;
34632 wxSizerItem
*result
;
34633 PyObject
* obj0
= 0 ;
34634 PyObject
* obj1
= 0 ;
34635 PyObject
* obj2
= 0 ;
34636 PyObject
* obj3
= 0 ;
34637 PyObject
* obj4
= 0 ;
34638 char *kwnames
[] = {
34639 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34645 arg2
= (int)SWIG_As_int(obj1
);
34646 if (PyErr_Occurred()) SWIG_fail
;
34647 arg3
= (int)SWIG_As_int(obj2
);
34648 if (PyErr_Occurred()) SWIG_fail
;
34649 arg4
= (int)SWIG_As_int(obj3
);
34650 if (PyErr_Occurred()) SWIG_fail
;
34655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34656 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34658 wxPyEndAllowThreads(__tstate
);
34659 if (PyErr_Occurred()) SWIG_fail
;
34661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34668 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34669 PyObject
*resultobj
;
34670 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34671 PyObject
* obj0
= 0 ;
34672 char *kwnames
[] = {
34673 (char *) "self", NULL
34676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34681 (arg1
)->DeleteWindows();
34683 wxPyEndAllowThreads(__tstate
);
34684 if (PyErr_Occurred()) SWIG_fail
;
34686 Py_INCREF(Py_None
); resultobj
= Py_None
;
34693 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34694 PyObject
*resultobj
;
34695 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34696 PyObject
* obj0
= 0 ;
34697 char *kwnames
[] = {
34698 (char *) "self", NULL
34701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34706 (arg1
)->DetachSizer();
34708 wxPyEndAllowThreads(__tstate
);
34709 if (PyErr_Occurred()) SWIG_fail
;
34711 Py_INCREF(Py_None
); resultobj
= Py_None
;
34718 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34719 PyObject
*resultobj
;
34720 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34722 PyObject
* obj0
= 0 ;
34723 char *kwnames
[] = {
34724 (char *) "self", NULL
34727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 result
= (arg1
)->GetSize();
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34738 wxSize
* resultptr
;
34739 resultptr
= new wxSize((wxSize
&) result
);
34740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34748 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
;
34750 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34752 PyObject
* obj0
= 0 ;
34753 char *kwnames
[] = {
34754 (char *) "self", NULL
34757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34762 result
= (arg1
)->CalcMin();
34764 wxPyEndAllowThreads(__tstate
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34768 wxSize
* resultptr
;
34769 resultptr
= new wxSize((wxSize
&) result
);
34770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34778 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34779 PyObject
*resultobj
;
34780 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34785 PyObject
* obj0
= 0 ;
34786 PyObject
* obj1
= 0 ;
34787 PyObject
* obj2
= 0 ;
34788 char *kwnames
[] = {
34789 (char *) "self",(char *) "pos",(char *) "size", NULL
34792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34795 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34796 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34798 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34799 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34803 (arg1
)->SetDimension(arg2
,arg3
);
34805 wxPyEndAllowThreads(__tstate
);
34806 if (PyErr_Occurred()) SWIG_fail
;
34808 Py_INCREF(Py_None
); resultobj
= Py_None
;
34815 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34816 PyObject
*resultobj
;
34817 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34819 PyObject
* obj0
= 0 ;
34820 char *kwnames
[] = {
34821 (char *) "self", NULL
34824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34829 result
= (arg1
)->GetMinSize();
34831 wxPyEndAllowThreads(__tstate
);
34832 if (PyErr_Occurred()) SWIG_fail
;
34835 wxSize
* resultptr
;
34836 resultptr
= new wxSize((wxSize
&) result
);
34837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34845 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34846 PyObject
*resultobj
;
34847 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34849 PyObject
* obj0
= 0 ;
34850 char *kwnames
[] = {
34851 (char *) "self", NULL
34854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34861 wxPyEndAllowThreads(__tstate
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34865 wxSize
* resultptr
;
34866 resultptr
= new wxSize((wxSize
&) result
);
34867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34875 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34876 PyObject
*resultobj
;
34877 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34880 PyObject
* obj0
= 0 ;
34881 PyObject
* obj1
= 0 ;
34882 PyObject
* obj2
= 0 ;
34883 char *kwnames
[] = {
34884 (char *) "self",(char *) "x",(char *) "y", NULL
34887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34890 arg2
= (int)SWIG_As_int(obj1
);
34891 if (PyErr_Occurred()) SWIG_fail
;
34892 arg3
= (int)SWIG_As_int(obj2
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34896 (arg1
)->SetInitSize(arg2
,arg3
);
34898 wxPyEndAllowThreads(__tstate
);
34899 if (PyErr_Occurred()) SWIG_fail
;
34901 Py_INCREF(Py_None
); resultobj
= Py_None
;
34908 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34909 PyObject
*resultobj
;
34910 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34913 PyObject
* obj0
= 0 ;
34914 PyObject
* obj1
= 0 ;
34915 PyObject
* obj2
= 0 ;
34916 char *kwnames
[] = {
34917 (char *) "self",(char *) "width",(char *) "height", NULL
34920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34923 arg2
= (int)SWIG_As_int(obj1
);
34924 if (PyErr_Occurred()) SWIG_fail
;
34925 arg3
= (int)SWIG_As_int(obj2
);
34926 if (PyErr_Occurred()) SWIG_fail
;
34928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34929 (arg1
)->SetRatio(arg2
,arg3
);
34931 wxPyEndAllowThreads(__tstate
);
34932 if (PyErr_Occurred()) SWIG_fail
;
34934 Py_INCREF(Py_None
); resultobj
= Py_None
;
34941 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34942 PyObject
*resultobj
;
34943 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34946 PyObject
* obj0
= 0 ;
34947 PyObject
* obj1
= 0 ;
34948 char *kwnames
[] = {
34949 (char *) "self",(char *) "size", NULL
34952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34955 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34956 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34960 (arg1
)->SetRatio(arg2
);
34962 wxPyEndAllowThreads(__tstate
);
34963 if (PyErr_Occurred()) SWIG_fail
;
34965 Py_INCREF(Py_None
); resultobj
= Py_None
;
34972 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34973 PyObject
*resultobj
;
34974 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34976 PyObject
* obj0
= 0 ;
34977 PyObject
* obj1
= 0 ;
34978 char *kwnames
[] = {
34979 (char *) "self",(char *) "ratio", NULL
34982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34985 arg2
= (float)SWIG_As_float(obj1
);
34986 if (PyErr_Occurred()) SWIG_fail
;
34988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34989 (arg1
)->SetRatio(arg2
);
34991 wxPyEndAllowThreads(__tstate
);
34992 if (PyErr_Occurred()) SWIG_fail
;
34994 Py_INCREF(Py_None
); resultobj
= Py_None
;
35001 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35002 PyObject
*resultobj
;
35003 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35005 PyObject
* obj0
= 0 ;
35006 char *kwnames
[] = {
35007 (char *) "self", NULL
35010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 result
= (float)(arg1
)->GetRatio();
35017 wxPyEndAllowThreads(__tstate
);
35018 if (PyErr_Occurred()) SWIG_fail
;
35020 resultobj
= SWIG_From_float((float)result
);
35027 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35028 PyObject
*resultobj
;
35029 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35031 PyObject
* obj0
= 0 ;
35032 char *kwnames
[] = {
35033 (char *) "self", NULL
35036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
35037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35041 result
= (arg1
)->GetRect();
35043 wxPyEndAllowThreads(__tstate
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35047 wxRect
* resultptr
;
35048 resultptr
= new wxRect((wxRect
&) result
);
35049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35057 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35058 PyObject
*resultobj
;
35059 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35061 PyObject
* obj0
= 0 ;
35062 char *kwnames
[] = {
35063 (char *) "self", NULL
35066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35071 result
= (bool)(arg1
)->IsWindow();
35073 wxPyEndAllowThreads(__tstate
);
35074 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35085 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35086 PyObject
*resultobj
;
35087 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35089 PyObject
* obj0
= 0 ;
35090 char *kwnames
[] = {
35091 (char *) "self", NULL
35094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35099 result
= (bool)(arg1
)->IsSizer();
35101 wxPyEndAllowThreads(__tstate
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35113 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35114 PyObject
*resultobj
;
35115 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35117 PyObject
* obj0
= 0 ;
35118 char *kwnames
[] = {
35119 (char *) "self", NULL
35122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35127 result
= (bool)(arg1
)->IsSpacer();
35129 wxPyEndAllowThreads(__tstate
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35141 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35142 PyObject
*resultobj
;
35143 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35145 PyObject
* obj0
= 0 ;
35146 PyObject
* obj1
= 0 ;
35147 char *kwnames
[] = {
35148 (char *) "self",(char *) "proportion", NULL
35151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35154 arg2
= (int)SWIG_As_int(obj1
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35158 (arg1
)->SetProportion(arg2
);
35160 wxPyEndAllowThreads(__tstate
);
35161 if (PyErr_Occurred()) SWIG_fail
;
35163 Py_INCREF(Py_None
); resultobj
= Py_None
;
35170 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35171 PyObject
*resultobj
;
35172 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35174 PyObject
* obj0
= 0 ;
35175 char *kwnames
[] = {
35176 (char *) "self", NULL
35179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35184 result
= (int)(arg1
)->GetProportion();
35186 wxPyEndAllowThreads(__tstate
);
35187 if (PyErr_Occurred()) SWIG_fail
;
35189 resultobj
= SWIG_From_int((int)result
);
35196 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35197 PyObject
*resultobj
;
35198 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35200 PyObject
* obj0
= 0 ;
35201 PyObject
* obj1
= 0 ;
35202 char *kwnames
[] = {
35203 (char *) "self",(char *) "flag", NULL
35206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35209 arg2
= (int)SWIG_As_int(obj1
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 (arg1
)->SetFlag(arg2
);
35215 wxPyEndAllowThreads(__tstate
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35218 Py_INCREF(Py_None
); resultobj
= Py_None
;
35225 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35226 PyObject
*resultobj
;
35227 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35229 PyObject
* obj0
= 0 ;
35230 char *kwnames
[] = {
35231 (char *) "self", NULL
35234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35239 result
= (int)(arg1
)->GetFlag();
35241 wxPyEndAllowThreads(__tstate
);
35242 if (PyErr_Occurred()) SWIG_fail
;
35244 resultobj
= SWIG_From_int((int)result
);
35251 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35252 PyObject
*resultobj
;
35253 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35255 PyObject
* obj0
= 0 ;
35256 PyObject
* obj1
= 0 ;
35257 char *kwnames
[] = {
35258 (char *) "self",(char *) "border", NULL
35261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35264 arg2
= (int)SWIG_As_int(obj1
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 (arg1
)->SetBorder(arg2
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 Py_INCREF(Py_None
); resultobj
= Py_None
;
35280 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
;
35282 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35284 PyObject
* obj0
= 0 ;
35285 char *kwnames
[] = {
35286 (char *) "self", NULL
35289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35294 result
= (int)(arg1
)->GetBorder();
35296 wxPyEndAllowThreads(__tstate
);
35297 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= SWIG_From_int((int)result
);
35306 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35307 PyObject
*resultobj
;
35308 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35310 PyObject
* obj0
= 0 ;
35311 char *kwnames
[] = {
35312 (char *) "self", NULL
35315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35320 result
= (wxWindow
*)(arg1
)->GetWindow();
35322 wxPyEndAllowThreads(__tstate
);
35323 if (PyErr_Occurred()) SWIG_fail
;
35326 resultobj
= wxPyMake_wxObject(result
, 0);
35334 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35335 PyObject
*resultobj
;
35336 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35337 wxWindow
*arg2
= (wxWindow
*) 0 ;
35338 PyObject
* obj0
= 0 ;
35339 PyObject
* obj1
= 0 ;
35340 char *kwnames
[] = {
35341 (char *) "self",(char *) "window", NULL
35344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35351 (arg1
)->SetWindow(arg2
);
35353 wxPyEndAllowThreads(__tstate
);
35354 if (PyErr_Occurred()) SWIG_fail
;
35356 Py_INCREF(Py_None
); resultobj
= Py_None
;
35363 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35364 PyObject
*resultobj
;
35365 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35367 PyObject
* obj0
= 0 ;
35368 char *kwnames
[] = {
35369 (char *) "self", NULL
35372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35377 result
= (wxSizer
*)(arg1
)->GetSizer();
35379 wxPyEndAllowThreads(__tstate
);
35380 if (PyErr_Occurred()) SWIG_fail
;
35383 resultobj
= wxPyMake_wxSizer(result
, 0);
35391 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35392 PyObject
*resultobj
;
35393 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35394 wxSizer
*arg2
= (wxSizer
*) 0 ;
35395 PyObject
* obj0
= 0 ;
35396 PyObject
* obj1
= 0 ;
35397 char *kwnames
[] = {
35398 (char *) "self",(char *) "sizer", NULL
35401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35408 (arg1
)->SetSizer(arg2
);
35410 wxPyEndAllowThreads(__tstate
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35413 Py_INCREF(Py_None
); resultobj
= Py_None
;
35420 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35421 PyObject
*resultobj
;
35422 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35424 PyObject
* obj0
= 0 ;
35425 char *kwnames
[] = {
35426 (char *) "self", NULL
35429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35436 result
= (wxSize
*) &_result_ref
;
35439 wxPyEndAllowThreads(__tstate
);
35440 if (PyErr_Occurred()) SWIG_fail
;
35442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35449 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35450 PyObject
*resultobj
;
35451 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35454 PyObject
* obj0
= 0 ;
35455 PyObject
* obj1
= 0 ;
35456 char *kwnames
[] = {
35457 (char *) "self",(char *) "size", NULL
35460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35465 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35469 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35471 wxPyEndAllowThreads(__tstate
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35474 Py_INCREF(Py_None
); resultobj
= Py_None
;
35481 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35482 PyObject
*resultobj
;
35483 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35485 PyObject
* obj0
= 0 ;
35486 PyObject
* obj1
= 0 ;
35487 char *kwnames
[] = {
35488 (char *) "self",(char *) "show", NULL
35491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35494 arg2
= (bool)SWIG_As_bool(obj1
);
35495 if (PyErr_Occurred()) SWIG_fail
;
35497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35498 (arg1
)->Show(arg2
);
35500 wxPyEndAllowThreads(__tstate
);
35501 if (PyErr_Occurred()) SWIG_fail
;
35503 Py_INCREF(Py_None
); resultobj
= Py_None
;
35510 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35511 PyObject
*resultobj
;
35512 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35514 PyObject
* obj0
= 0 ;
35515 char *kwnames
[] = {
35516 (char *) "self", NULL
35519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35524 result
= (bool)(arg1
)->IsShown();
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35538 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35539 PyObject
*resultobj
;
35540 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35542 PyObject
* obj0
= 0 ;
35543 char *kwnames
[] = {
35544 (char *) "self", NULL
35547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 result
= (arg1
)->GetPosition();
35554 wxPyEndAllowThreads(__tstate
);
35555 if (PyErr_Occurred()) SWIG_fail
;
35558 wxPoint
* resultptr
;
35559 resultptr
= new wxPoint((wxPoint
&) result
);
35560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35568 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35569 PyObject
*resultobj
;
35570 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35572 PyObject
* obj0
= 0 ;
35573 char *kwnames
[] = {
35574 (char *) "self", NULL
35577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35582 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35584 wxPyEndAllowThreads(__tstate
);
35585 if (PyErr_Occurred()) SWIG_fail
;
35587 resultobj
= result
;
35594 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35597 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35599 return Py_BuildValue((char *)"");
35601 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35602 PyObject
*resultobj
;
35603 wxSizer
*arg1
= (wxSizer
*) 0 ;
35604 PyObject
*arg2
= (PyObject
*) 0 ;
35605 PyObject
* obj0
= 0 ;
35606 PyObject
* obj1
= 0 ;
35607 char *kwnames
[] = {
35608 (char *) "self",(char *) "_self", NULL
35611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35617 wxSizer__setOORInfo(arg1
,arg2
);
35619 wxPyEndAllowThreads(__tstate
);
35620 if (PyErr_Occurred()) SWIG_fail
;
35622 Py_INCREF(Py_None
); resultobj
= Py_None
;
35629 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35630 PyObject
*resultobj
;
35631 wxSizer
*arg1
= (wxSizer
*) 0 ;
35632 PyObject
*arg2
= (PyObject
*) 0 ;
35633 int arg3
= (int) 0 ;
35634 int arg4
= (int) 0 ;
35635 int arg5
= (int) 0 ;
35636 PyObject
*arg6
= (PyObject
*) NULL
;
35637 wxSizerItem
*result
;
35638 PyObject
* obj0
= 0 ;
35639 PyObject
* obj1
= 0 ;
35640 PyObject
* obj2
= 0 ;
35641 PyObject
* obj3
= 0 ;
35642 PyObject
* obj4
= 0 ;
35643 PyObject
* obj5
= 0 ;
35644 char *kwnames
[] = {
35645 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35653 arg3
= (int)SWIG_As_int(obj2
);
35654 if (PyErr_Occurred()) SWIG_fail
;
35657 arg4
= (int)SWIG_As_int(obj3
);
35658 if (PyErr_Occurred()) SWIG_fail
;
35661 arg5
= (int)SWIG_As_int(obj4
);
35662 if (PyErr_Occurred()) SWIG_fail
;
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35669 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35671 wxPyEndAllowThreads(__tstate
);
35672 if (PyErr_Occurred()) SWIG_fail
;
35674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35681 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35682 PyObject
*resultobj
;
35683 wxSizer
*arg1
= (wxSizer
*) 0 ;
35685 PyObject
*arg3
= (PyObject
*) 0 ;
35686 int arg4
= (int) 0 ;
35687 int arg5
= (int) 0 ;
35688 int arg6
= (int) 0 ;
35689 PyObject
*arg7
= (PyObject
*) NULL
;
35690 wxSizerItem
*result
;
35691 PyObject
* obj0
= 0 ;
35692 PyObject
* obj1
= 0 ;
35693 PyObject
* obj2
= 0 ;
35694 PyObject
* obj3
= 0 ;
35695 PyObject
* obj4
= 0 ;
35696 PyObject
* obj5
= 0 ;
35697 PyObject
* obj6
= 0 ;
35698 char *kwnames
[] = {
35699 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35705 arg2
= (int)SWIG_As_int(obj1
);
35706 if (PyErr_Occurred()) SWIG_fail
;
35709 arg4
= (int)SWIG_As_int(obj3
);
35710 if (PyErr_Occurred()) SWIG_fail
;
35713 arg5
= (int)SWIG_As_int(obj4
);
35714 if (PyErr_Occurred()) SWIG_fail
;
35717 arg6
= (int)SWIG_As_int(obj5
);
35718 if (PyErr_Occurred()) SWIG_fail
;
35724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35725 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35727 wxPyEndAllowThreads(__tstate
);
35728 if (PyErr_Occurred()) SWIG_fail
;
35730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35737 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35738 PyObject
*resultobj
;
35739 wxSizer
*arg1
= (wxSizer
*) 0 ;
35740 PyObject
*arg2
= (PyObject
*) 0 ;
35741 int arg3
= (int) 0 ;
35742 int arg4
= (int) 0 ;
35743 int arg5
= (int) 0 ;
35744 PyObject
*arg6
= (PyObject
*) NULL
;
35745 wxSizerItem
*result
;
35746 PyObject
* obj0
= 0 ;
35747 PyObject
* obj1
= 0 ;
35748 PyObject
* obj2
= 0 ;
35749 PyObject
* obj3
= 0 ;
35750 PyObject
* obj4
= 0 ;
35751 PyObject
* obj5
= 0 ;
35752 char *kwnames
[] = {
35753 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35761 arg3
= (int)SWIG_As_int(obj2
);
35762 if (PyErr_Occurred()) SWIG_fail
;
35765 arg4
= (int)SWIG_As_int(obj3
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35769 arg5
= (int)SWIG_As_int(obj4
);
35770 if (PyErr_Occurred()) SWIG_fail
;
35776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35777 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35779 wxPyEndAllowThreads(__tstate
);
35780 if (PyErr_Occurred()) SWIG_fail
;
35782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35789 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35790 PyObject
*resultobj
;
35791 wxSizer
*arg1
= (wxSizer
*) 0 ;
35792 PyObject
*arg2
= (PyObject
*) 0 ;
35794 PyObject
* obj0
= 0 ;
35795 PyObject
* obj1
= 0 ;
35796 char *kwnames
[] = {
35797 (char *) "self",(char *) "item", NULL
35800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35806 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35808 wxPyEndAllowThreads(__tstate
);
35809 if (PyErr_Occurred()) SWIG_fail
;
35812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35820 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35821 PyObject
*resultobj
;
35822 wxSizer
*arg1
= (wxSizer
*) 0 ;
35823 PyObject
*arg2
= (PyObject
*) 0 ;
35825 PyObject
* obj0
= 0 ;
35826 PyObject
* obj1
= 0 ;
35827 char *kwnames
[] = {
35828 (char *) "self",(char *) "item", NULL
35831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35837 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35839 wxPyEndAllowThreads(__tstate
);
35840 if (PyErr_Occurred()) SWIG_fail
;
35843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35851 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35852 PyObject
*resultobj
;
35853 wxSizer
*arg1
= (wxSizer
*) 0 ;
35854 PyObject
*arg2
= (PyObject
*) 0 ;
35855 wxSizerItem
*result
;
35856 PyObject
* obj0
= 0 ;
35857 PyObject
* obj1
= 0 ;
35858 char *kwnames
[] = {
35859 (char *) "self",(char *) "item", NULL
35862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35868 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
35870 wxPyEndAllowThreads(__tstate
);
35871 if (PyErr_Occurred()) SWIG_fail
;
35873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35880 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35881 PyObject
*resultobj
;
35882 wxSizer
*arg1
= (wxSizer
*) 0 ;
35883 PyObject
*arg2
= (PyObject
*) 0 ;
35886 PyObject
* obj0
= 0 ;
35887 PyObject
* obj1
= 0 ;
35888 PyObject
* obj2
= 0 ;
35889 char *kwnames
[] = {
35890 (char *) "self",(char *) "item",(char *) "size", NULL
35893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35899 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35903 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35905 wxPyEndAllowThreads(__tstate
);
35906 if (PyErr_Occurred()) SWIG_fail
;
35908 Py_INCREF(Py_None
); resultobj
= Py_None
;
35915 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35916 PyObject
*resultobj
;
35917 wxSizer
*arg1
= (wxSizer
*) 0 ;
35918 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35919 wxSizerItem
*result
;
35920 PyObject
* obj0
= 0 ;
35921 PyObject
* obj1
= 0 ;
35922 char *kwnames
[] = {
35923 (char *) "self",(char *) "item", NULL
35926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35933 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
35935 wxPyEndAllowThreads(__tstate
);
35936 if (PyErr_Occurred()) SWIG_fail
;
35938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35945 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35946 PyObject
*resultobj
;
35947 wxSizer
*arg1
= (wxSizer
*) 0 ;
35949 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35950 wxSizerItem
*result
;
35951 PyObject
* obj0
= 0 ;
35952 PyObject
* obj1
= 0 ;
35953 PyObject
* obj2
= 0 ;
35954 char *kwnames
[] = {
35955 (char *) "self",(char *) "index",(char *) "item", NULL
35958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35961 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
35962 if (PyErr_Occurred()) SWIG_fail
;
35963 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35967 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
35969 wxPyEndAllowThreads(__tstate
);
35970 if (PyErr_Occurred()) SWIG_fail
;
35972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35979 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35980 PyObject
*resultobj
;
35981 wxSizer
*arg1
= (wxSizer
*) 0 ;
35982 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35983 wxSizerItem
*result
;
35984 PyObject
* obj0
= 0 ;
35985 PyObject
* obj1
= 0 ;
35986 char *kwnames
[] = {
35987 (char *) "self",(char *) "item", NULL
35990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35997 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
35999 wxPyEndAllowThreads(__tstate
);
36000 if (PyErr_Occurred()) SWIG_fail
;
36002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36009 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36010 PyObject
*resultobj
;
36011 wxSizer
*arg1
= (wxSizer
*) 0 ;
36016 PyObject
* obj0
= 0 ;
36017 PyObject
* obj1
= 0 ;
36018 PyObject
* obj2
= 0 ;
36019 PyObject
* obj3
= 0 ;
36020 PyObject
* obj4
= 0 ;
36021 char *kwnames
[] = {
36022 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36028 arg2
= (int)SWIG_As_int(obj1
);
36029 if (PyErr_Occurred()) SWIG_fail
;
36030 arg3
= (int)SWIG_As_int(obj2
);
36031 if (PyErr_Occurred()) SWIG_fail
;
36032 arg4
= (int)SWIG_As_int(obj3
);
36033 if (PyErr_Occurred()) SWIG_fail
;
36034 arg5
= (int)SWIG_As_int(obj4
);
36035 if (PyErr_Occurred()) SWIG_fail
;
36037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36038 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36040 wxPyEndAllowThreads(__tstate
);
36041 if (PyErr_Occurred()) SWIG_fail
;
36043 Py_INCREF(Py_None
); resultobj
= Py_None
;
36050 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36051 PyObject
*resultobj
;
36052 wxSizer
*arg1
= (wxSizer
*) 0 ;
36055 PyObject
* obj0
= 0 ;
36056 PyObject
* obj1
= 0 ;
36057 char *kwnames
[] = {
36058 (char *) "self",(char *) "size", NULL
36061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36066 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36070 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36072 wxPyEndAllowThreads(__tstate
);
36073 if (PyErr_Occurred()) SWIG_fail
;
36075 Py_INCREF(Py_None
); resultobj
= Py_None
;
36082 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36083 PyObject
*resultobj
;
36084 wxSizer
*arg1
= (wxSizer
*) 0 ;
36086 PyObject
* obj0
= 0 ;
36087 char *kwnames
[] = {
36088 (char *) "self", NULL
36091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36096 result
= (arg1
)->GetSize();
36098 wxPyEndAllowThreads(__tstate
);
36099 if (PyErr_Occurred()) SWIG_fail
;
36102 wxSize
* resultptr
;
36103 resultptr
= new wxSize((wxSize
&) result
);
36104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36112 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36113 PyObject
*resultobj
;
36114 wxSizer
*arg1
= (wxSizer
*) 0 ;
36116 PyObject
* obj0
= 0 ;
36117 char *kwnames
[] = {
36118 (char *) "self", NULL
36121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36126 result
= (arg1
)->GetPosition();
36128 wxPyEndAllowThreads(__tstate
);
36129 if (PyErr_Occurred()) SWIG_fail
;
36132 wxPoint
* resultptr
;
36133 resultptr
= new wxPoint((wxPoint
&) result
);
36134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36142 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36143 PyObject
*resultobj
;
36144 wxSizer
*arg1
= (wxSizer
*) 0 ;
36146 PyObject
* obj0
= 0 ;
36147 char *kwnames
[] = {
36148 (char *) "self", NULL
36151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36156 result
= (arg1
)->GetMinSize();
36158 wxPyEndAllowThreads(__tstate
);
36159 if (PyErr_Occurred()) SWIG_fail
;
36162 wxSize
* resultptr
;
36163 resultptr
= new wxSize((wxSize
&) result
);
36164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36172 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36173 PyObject
*resultobj
;
36174 wxSizer
*arg1
= (wxSizer
*) 0 ;
36175 PyObject
* obj0
= 0 ;
36176 char *kwnames
[] = {
36177 (char *) "self", NULL
36180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36185 (arg1
)->RecalcSizes();
36187 wxPyEndAllowThreads(__tstate
);
36188 if (PyErr_Occurred()) SWIG_fail
;
36190 Py_INCREF(Py_None
); resultobj
= Py_None
;
36197 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36198 PyObject
*resultobj
;
36199 wxSizer
*arg1
= (wxSizer
*) 0 ;
36201 PyObject
* obj0
= 0 ;
36202 char *kwnames
[] = {
36203 (char *) "self", NULL
36206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36211 result
= (arg1
)->CalcMin();
36213 wxPyEndAllowThreads(__tstate
);
36214 if (PyErr_Occurred()) SWIG_fail
;
36217 wxSize
* resultptr
;
36218 resultptr
= new wxSize((wxSize
&) result
);
36219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36227 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36228 PyObject
*resultobj
;
36229 wxSizer
*arg1
= (wxSizer
*) 0 ;
36230 PyObject
* obj0
= 0 ;
36231 char *kwnames
[] = {
36232 (char *) "self", NULL
36235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36242 wxPyEndAllowThreads(__tstate
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36245 Py_INCREF(Py_None
); resultobj
= Py_None
;
36252 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36253 PyObject
*resultobj
;
36254 wxSizer
*arg1
= (wxSizer
*) 0 ;
36255 wxWindow
*arg2
= (wxWindow
*) 0 ;
36257 PyObject
* obj0
= 0 ;
36258 PyObject
* obj1
= 0 ;
36259 char *kwnames
[] = {
36260 (char *) "self",(char *) "window", NULL
36263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36270 result
= (arg1
)->Fit(arg2
);
36272 wxPyEndAllowThreads(__tstate
);
36273 if (PyErr_Occurred()) SWIG_fail
;
36276 wxSize
* resultptr
;
36277 resultptr
= new wxSize((wxSize
&) result
);
36278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36286 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36287 PyObject
*resultobj
;
36288 wxSizer
*arg1
= (wxSizer
*) 0 ;
36289 wxWindow
*arg2
= (wxWindow
*) 0 ;
36290 PyObject
* obj0
= 0 ;
36291 PyObject
* obj1
= 0 ;
36292 char *kwnames
[] = {
36293 (char *) "self",(char *) "window", NULL
36296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36303 (arg1
)->FitInside(arg2
);
36305 wxPyEndAllowThreads(__tstate
);
36306 if (PyErr_Occurred()) SWIG_fail
;
36308 Py_INCREF(Py_None
); resultobj
= Py_None
;
36315 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36316 PyObject
*resultobj
;
36317 wxSizer
*arg1
= (wxSizer
*) 0 ;
36318 wxWindow
*arg2
= (wxWindow
*) 0 ;
36319 PyObject
* obj0
= 0 ;
36320 PyObject
* obj1
= 0 ;
36321 char *kwnames
[] = {
36322 (char *) "self",(char *) "window", NULL
36325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36332 (arg1
)->SetSizeHints(arg2
);
36334 wxPyEndAllowThreads(__tstate
);
36335 if (PyErr_Occurred()) SWIG_fail
;
36337 Py_INCREF(Py_None
); resultobj
= Py_None
;
36344 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36345 PyObject
*resultobj
;
36346 wxSizer
*arg1
= (wxSizer
*) 0 ;
36347 wxWindow
*arg2
= (wxWindow
*) 0 ;
36348 PyObject
* obj0
= 0 ;
36349 PyObject
* obj1
= 0 ;
36350 char *kwnames
[] = {
36351 (char *) "self",(char *) "window", NULL
36354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36361 (arg1
)->SetVirtualSizeHints(arg2
);
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36366 Py_INCREF(Py_None
); resultobj
= Py_None
;
36373 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36374 PyObject
*resultobj
;
36375 wxSizer
*arg1
= (wxSizer
*) 0 ;
36376 bool arg2
= (bool) false ;
36377 PyObject
* obj0
= 0 ;
36378 PyObject
* obj1
= 0 ;
36379 char *kwnames
[] = {
36380 (char *) "self",(char *) "deleteWindows", NULL
36383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36387 arg2
= (bool)SWIG_As_bool(obj1
);
36388 if (PyErr_Occurred()) SWIG_fail
;
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 (arg1
)->Clear(arg2
);
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36397 Py_INCREF(Py_None
); resultobj
= Py_None
;
36404 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36405 PyObject
*resultobj
;
36406 wxSizer
*arg1
= (wxSizer
*) 0 ;
36407 PyObject
* obj0
= 0 ;
36408 char *kwnames
[] = {
36409 (char *) "self", NULL
36412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36417 (arg1
)->DeleteWindows();
36419 wxPyEndAllowThreads(__tstate
);
36420 if (PyErr_Occurred()) SWIG_fail
;
36422 Py_INCREF(Py_None
); resultobj
= Py_None
;
36429 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36430 PyObject
*resultobj
;
36431 wxSizer
*arg1
= (wxSizer
*) 0 ;
36433 PyObject
* obj0
= 0 ;
36434 char *kwnames
[] = {
36435 (char *) "self", NULL
36438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36443 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36445 wxPyEndAllowThreads(__tstate
);
36446 if (PyErr_Occurred()) SWIG_fail
;
36448 resultobj
= result
;
36455 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36456 PyObject
*resultobj
;
36457 wxSizer
*arg1
= (wxSizer
*) 0 ;
36458 PyObject
*arg2
= (PyObject
*) 0 ;
36459 bool arg3
= (bool) true ;
36460 bool arg4
= (bool) false ;
36462 PyObject
* obj0
= 0 ;
36463 PyObject
* obj1
= 0 ;
36464 PyObject
* obj2
= 0 ;
36465 PyObject
* obj3
= 0 ;
36466 char *kwnames
[] = {
36467 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36475 arg3
= (bool)SWIG_As_bool(obj2
);
36476 if (PyErr_Occurred()) SWIG_fail
;
36479 arg4
= (bool)SWIG_As_bool(obj3
);
36480 if (PyErr_Occurred()) SWIG_fail
;
36483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36484 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36486 wxPyEndAllowThreads(__tstate
);
36487 if (PyErr_Occurred()) SWIG_fail
;
36490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36498 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36499 PyObject
*resultobj
;
36500 wxSizer
*arg1
= (wxSizer
*) 0 ;
36501 PyObject
*arg2
= (PyObject
*) 0 ;
36503 PyObject
* obj0
= 0 ;
36504 PyObject
* obj1
= 0 ;
36505 char *kwnames
[] = {
36506 (char *) "self",(char *) "item", NULL
36509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36515 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36517 wxPyEndAllowThreads(__tstate
);
36518 if (PyErr_Occurred()) SWIG_fail
;
36521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36529 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36530 PyObject
*resultobj
;
36531 wxSizer
*arg1
= (wxSizer
*) 0 ;
36533 PyObject
* obj0
= 0 ;
36534 PyObject
* obj1
= 0 ;
36535 char *kwnames
[] = {
36536 (char *) "self",(char *) "show", NULL
36539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36542 arg2
= (bool)SWIG_As_bool(obj1
);
36543 if (PyErr_Occurred()) SWIG_fail
;
36545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36546 (arg1
)->ShowItems(arg2
);
36548 wxPyEndAllowThreads(__tstate
);
36549 if (PyErr_Occurred()) SWIG_fail
;
36551 Py_INCREF(Py_None
); resultobj
= Py_None
;
36558 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36561 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36563 return Py_BuildValue((char *)"");
36565 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36566 PyObject
*resultobj
;
36568 char *kwnames
[] = {
36572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36575 result
= (wxPySizer
*)new wxPySizer();
36577 wxPyEndAllowThreads(__tstate
);
36578 if (PyErr_Occurred()) SWIG_fail
;
36580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36587 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36588 PyObject
*resultobj
;
36589 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36590 PyObject
*arg2
= (PyObject
*) 0 ;
36591 PyObject
*arg3
= (PyObject
*) 0 ;
36592 PyObject
* obj0
= 0 ;
36593 PyObject
* obj1
= 0 ;
36594 PyObject
* obj2
= 0 ;
36595 char *kwnames
[] = {
36596 (char *) "self",(char *) "self",(char *) "_class", NULL
36599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36606 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36608 wxPyEndAllowThreads(__tstate
);
36609 if (PyErr_Occurred()) SWIG_fail
;
36611 Py_INCREF(Py_None
); resultobj
= Py_None
;
36618 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36621 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36623 return Py_BuildValue((char *)"");
36625 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36626 PyObject
*resultobj
;
36627 int arg1
= (int) wxHORIZONTAL
;
36628 wxBoxSizer
*result
;
36629 PyObject
* obj0
= 0 ;
36630 char *kwnames
[] = {
36631 (char *) "orient", NULL
36634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36636 arg1
= (int)SWIG_As_int(obj0
);
36637 if (PyErr_Occurred()) SWIG_fail
;
36640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36641 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36643 wxPyEndAllowThreads(__tstate
);
36644 if (PyErr_Occurred()) SWIG_fail
;
36646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36653 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36654 PyObject
*resultobj
;
36655 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36657 PyObject
* obj0
= 0 ;
36658 char *kwnames
[] = {
36659 (char *) "self", NULL
36662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36667 result
= (int)(arg1
)->GetOrientation();
36669 wxPyEndAllowThreads(__tstate
);
36670 if (PyErr_Occurred()) SWIG_fail
;
36672 resultobj
= SWIG_From_int((int)result
);
36679 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36680 PyObject
*resultobj
;
36681 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36683 PyObject
* obj0
= 0 ;
36684 PyObject
* obj1
= 0 ;
36685 char *kwnames
[] = {
36686 (char *) "self",(char *) "orient", NULL
36689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36692 arg2
= (int)SWIG_As_int(obj1
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36696 (arg1
)->SetOrientation(arg2
);
36698 wxPyEndAllowThreads(__tstate
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36701 Py_INCREF(Py_None
); resultobj
= Py_None
;
36708 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36711 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36713 return Py_BuildValue((char *)"");
36715 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36716 PyObject
*resultobj
;
36717 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36718 int arg2
= (int) wxHORIZONTAL
;
36719 wxStaticBoxSizer
*result
;
36720 PyObject
* obj0
= 0 ;
36721 PyObject
* obj1
= 0 ;
36722 char *kwnames
[] = {
36723 (char *) "box",(char *) "orient", NULL
36726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36730 arg2
= (int)SWIG_As_int(obj1
);
36731 if (PyErr_Occurred()) SWIG_fail
;
36734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36735 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36737 wxPyEndAllowThreads(__tstate
);
36738 if (PyErr_Occurred()) SWIG_fail
;
36740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36747 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36748 PyObject
*resultobj
;
36749 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36750 wxStaticBox
*result
;
36751 PyObject
* obj0
= 0 ;
36752 char *kwnames
[] = {
36753 (char *) "self", NULL
36756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36761 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36763 wxPyEndAllowThreads(__tstate
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36767 resultobj
= wxPyMake_wxObject(result
, 0);
36775 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36778 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36780 return Py_BuildValue((char *)"");
36782 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36783 PyObject
*resultobj
;
36784 int arg1
= (int) 1 ;
36785 int arg2
= (int) 0 ;
36786 int arg3
= (int) 0 ;
36787 int arg4
= (int) 0 ;
36788 wxGridSizer
*result
;
36789 PyObject
* obj0
= 0 ;
36790 PyObject
* obj1
= 0 ;
36791 PyObject
* obj2
= 0 ;
36792 PyObject
* obj3
= 0 ;
36793 char *kwnames
[] = {
36794 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36799 arg1
= (int)SWIG_As_int(obj0
);
36800 if (PyErr_Occurred()) SWIG_fail
;
36803 arg2
= (int)SWIG_As_int(obj1
);
36804 if (PyErr_Occurred()) SWIG_fail
;
36807 arg3
= (int)SWIG_As_int(obj2
);
36808 if (PyErr_Occurred()) SWIG_fail
;
36811 arg4
= (int)SWIG_As_int(obj3
);
36812 if (PyErr_Occurred()) SWIG_fail
;
36815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36816 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36818 wxPyEndAllowThreads(__tstate
);
36819 if (PyErr_Occurred()) SWIG_fail
;
36821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36828 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36829 PyObject
*resultobj
;
36830 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36832 PyObject
* obj0
= 0 ;
36833 PyObject
* obj1
= 0 ;
36834 char *kwnames
[] = {
36835 (char *) "self",(char *) "cols", NULL
36838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36841 arg2
= (int)SWIG_As_int(obj1
);
36842 if (PyErr_Occurred()) SWIG_fail
;
36844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36845 (arg1
)->SetCols(arg2
);
36847 wxPyEndAllowThreads(__tstate
);
36848 if (PyErr_Occurred()) SWIG_fail
;
36850 Py_INCREF(Py_None
); resultobj
= Py_None
;
36857 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36858 PyObject
*resultobj
;
36859 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36861 PyObject
* obj0
= 0 ;
36862 PyObject
* obj1
= 0 ;
36863 char *kwnames
[] = {
36864 (char *) "self",(char *) "rows", NULL
36867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36870 arg2
= (int)SWIG_As_int(obj1
);
36871 if (PyErr_Occurred()) SWIG_fail
;
36873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36874 (arg1
)->SetRows(arg2
);
36876 wxPyEndAllowThreads(__tstate
);
36877 if (PyErr_Occurred()) SWIG_fail
;
36879 Py_INCREF(Py_None
); resultobj
= Py_None
;
36886 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36887 PyObject
*resultobj
;
36888 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36890 PyObject
* obj0
= 0 ;
36891 PyObject
* obj1
= 0 ;
36892 char *kwnames
[] = {
36893 (char *) "self",(char *) "gap", NULL
36896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36899 arg2
= (int)SWIG_As_int(obj1
);
36900 if (PyErr_Occurred()) SWIG_fail
;
36902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36903 (arg1
)->SetVGap(arg2
);
36905 wxPyEndAllowThreads(__tstate
);
36906 if (PyErr_Occurred()) SWIG_fail
;
36908 Py_INCREF(Py_None
); resultobj
= Py_None
;
36915 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36916 PyObject
*resultobj
;
36917 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36919 PyObject
* obj0
= 0 ;
36920 PyObject
* obj1
= 0 ;
36921 char *kwnames
[] = {
36922 (char *) "self",(char *) "gap", NULL
36925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36928 arg2
= (int)SWIG_As_int(obj1
);
36929 if (PyErr_Occurred()) SWIG_fail
;
36931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36932 (arg1
)->SetHGap(arg2
);
36934 wxPyEndAllowThreads(__tstate
);
36935 if (PyErr_Occurred()) SWIG_fail
;
36937 Py_INCREF(Py_None
); resultobj
= Py_None
;
36944 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36945 PyObject
*resultobj
;
36946 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36948 PyObject
* obj0
= 0 ;
36949 char *kwnames
[] = {
36950 (char *) "self", NULL
36953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36958 result
= (int)(arg1
)->GetCols();
36960 wxPyEndAllowThreads(__tstate
);
36961 if (PyErr_Occurred()) SWIG_fail
;
36963 resultobj
= SWIG_From_int((int)result
);
36970 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36971 PyObject
*resultobj
;
36972 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36974 PyObject
* obj0
= 0 ;
36975 char *kwnames
[] = {
36976 (char *) "self", NULL
36979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36984 result
= (int)(arg1
)->GetRows();
36986 wxPyEndAllowThreads(__tstate
);
36987 if (PyErr_Occurred()) SWIG_fail
;
36989 resultobj
= SWIG_From_int((int)result
);
36996 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36997 PyObject
*resultobj
;
36998 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37000 PyObject
* obj0
= 0 ;
37001 char *kwnames
[] = {
37002 (char *) "self", NULL
37005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37010 result
= (int)(arg1
)->GetVGap();
37012 wxPyEndAllowThreads(__tstate
);
37013 if (PyErr_Occurred()) SWIG_fail
;
37015 resultobj
= SWIG_From_int((int)result
);
37022 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37023 PyObject
*resultobj
;
37024 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37026 PyObject
* obj0
= 0 ;
37027 char *kwnames
[] = {
37028 (char *) "self", NULL
37031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37036 result
= (int)(arg1
)->GetHGap();
37038 wxPyEndAllowThreads(__tstate
);
37039 if (PyErr_Occurred()) SWIG_fail
;
37041 resultobj
= SWIG_From_int((int)result
);
37048 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37051 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37053 return Py_BuildValue((char *)"");
37055 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37056 PyObject
*resultobj
;
37057 int arg1
= (int) 1 ;
37058 int arg2
= (int) 0 ;
37059 int arg3
= (int) 0 ;
37060 int arg4
= (int) 0 ;
37061 wxFlexGridSizer
*result
;
37062 PyObject
* obj0
= 0 ;
37063 PyObject
* obj1
= 0 ;
37064 PyObject
* obj2
= 0 ;
37065 PyObject
* obj3
= 0 ;
37066 char *kwnames
[] = {
37067 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37072 arg1
= (int)SWIG_As_int(obj0
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37076 arg2
= (int)SWIG_As_int(obj1
);
37077 if (PyErr_Occurred()) SWIG_fail
;
37080 arg3
= (int)SWIG_As_int(obj2
);
37081 if (PyErr_Occurred()) SWIG_fail
;
37084 arg4
= (int)SWIG_As_int(obj3
);
37085 if (PyErr_Occurred()) SWIG_fail
;
37088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37089 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37091 wxPyEndAllowThreads(__tstate
);
37092 if (PyErr_Occurred()) SWIG_fail
;
37094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37101 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37102 PyObject
*resultobj
;
37103 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37105 int arg3
= (int) 0 ;
37106 PyObject
* obj0
= 0 ;
37107 PyObject
* obj1
= 0 ;
37108 PyObject
* obj2
= 0 ;
37109 char *kwnames
[] = {
37110 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37116 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37117 if (PyErr_Occurred()) SWIG_fail
;
37119 arg3
= (int)SWIG_As_int(obj2
);
37120 if (PyErr_Occurred()) SWIG_fail
;
37123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37124 (arg1
)->AddGrowableRow(arg2
,arg3
);
37126 wxPyEndAllowThreads(__tstate
);
37127 if (PyErr_Occurred()) SWIG_fail
;
37129 Py_INCREF(Py_None
); resultobj
= Py_None
;
37136 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37137 PyObject
*resultobj
;
37138 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37140 PyObject
* obj0
= 0 ;
37141 PyObject
* obj1
= 0 ;
37142 char *kwnames
[] = {
37143 (char *) "self",(char *) "idx", NULL
37146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37149 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37150 if (PyErr_Occurred()) SWIG_fail
;
37152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 (arg1
)->RemoveGrowableRow(arg2
);
37155 wxPyEndAllowThreads(__tstate
);
37156 if (PyErr_Occurred()) SWIG_fail
;
37158 Py_INCREF(Py_None
); resultobj
= Py_None
;
37165 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37166 PyObject
*resultobj
;
37167 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37169 int arg3
= (int) 0 ;
37170 PyObject
* obj0
= 0 ;
37171 PyObject
* obj1
= 0 ;
37172 PyObject
* obj2
= 0 ;
37173 char *kwnames
[] = {
37174 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37180 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37181 if (PyErr_Occurred()) SWIG_fail
;
37183 arg3
= (int)SWIG_As_int(obj2
);
37184 if (PyErr_Occurred()) SWIG_fail
;
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37188 (arg1
)->AddGrowableCol(arg2
,arg3
);
37190 wxPyEndAllowThreads(__tstate
);
37191 if (PyErr_Occurred()) SWIG_fail
;
37193 Py_INCREF(Py_None
); resultobj
= Py_None
;
37200 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37201 PyObject
*resultobj
;
37202 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37204 PyObject
* obj0
= 0 ;
37205 PyObject
* obj1
= 0 ;
37206 char *kwnames
[] = {
37207 (char *) "self",(char *) "idx", NULL
37210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37213 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37214 if (PyErr_Occurred()) SWIG_fail
;
37216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37217 (arg1
)->RemoveGrowableCol(arg2
);
37219 wxPyEndAllowThreads(__tstate
);
37220 if (PyErr_Occurred()) SWIG_fail
;
37222 Py_INCREF(Py_None
); resultobj
= Py_None
;
37229 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37230 PyObject
*resultobj
;
37231 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37233 PyObject
* obj0
= 0 ;
37234 PyObject
* obj1
= 0 ;
37235 char *kwnames
[] = {
37236 (char *) "self",(char *) "direction", NULL
37239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37242 arg2
= (int)SWIG_As_int(obj1
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37246 (arg1
)->SetFlexibleDirection(arg2
);
37248 wxPyEndAllowThreads(__tstate
);
37249 if (PyErr_Occurred()) SWIG_fail
;
37251 Py_INCREF(Py_None
); resultobj
= Py_None
;
37258 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37259 PyObject
*resultobj
;
37260 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37262 PyObject
* obj0
= 0 ;
37263 char *kwnames
[] = {
37264 (char *) "self", NULL
37267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37272 result
= (int)(arg1
)->GetFlexibleDirection();
37274 wxPyEndAllowThreads(__tstate
);
37275 if (PyErr_Occurred()) SWIG_fail
;
37277 resultobj
= SWIG_From_int((int)result
);
37284 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37285 PyObject
*resultobj
;
37286 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37288 PyObject
* obj0
= 0 ;
37289 PyObject
* obj1
= 0 ;
37290 char *kwnames
[] = {
37291 (char *) "self",(char *) "mode", NULL
37294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37297 arg2
= (int)SWIG_As_int(obj1
);
37298 if (PyErr_Occurred()) SWIG_fail
;
37300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37301 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37303 wxPyEndAllowThreads(__tstate
);
37304 if (PyErr_Occurred()) SWIG_fail
;
37306 Py_INCREF(Py_None
); resultobj
= Py_None
;
37313 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37314 PyObject
*resultobj
;
37315 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37317 PyObject
* obj0
= 0 ;
37318 char *kwnames
[] = {
37319 (char *) "self", NULL
37322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37327 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37329 wxPyEndAllowThreads(__tstate
);
37330 if (PyErr_Occurred()) SWIG_fail
;
37332 resultobj
= SWIG_From_int((int)result
);
37339 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37340 PyObject
*resultobj
;
37341 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37342 wxArrayInt
*result
;
37343 PyObject
* obj0
= 0 ;
37344 char *kwnames
[] = {
37345 (char *) "self", NULL
37348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37354 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37355 result
= (wxArrayInt
*) &_result_ref
;
37358 wxPyEndAllowThreads(__tstate
);
37359 if (PyErr_Occurred()) SWIG_fail
;
37362 resultobj
= PyList_New(0);
37364 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37365 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37366 PyList_Append(resultobj
, val
);
37376 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37377 PyObject
*resultobj
;
37378 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37379 wxArrayInt
*result
;
37380 PyObject
* obj0
= 0 ;
37381 char *kwnames
[] = {
37382 (char *) "self", NULL
37385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37391 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37392 result
= (wxArrayInt
*) &_result_ref
;
37395 wxPyEndAllowThreads(__tstate
);
37396 if (PyErr_Occurred()) SWIG_fail
;
37399 resultobj
= PyList_New(0);
37401 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37402 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37403 PyList_Append(resultobj
, val
);
37413 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37416 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37418 return Py_BuildValue((char *)"");
37420 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37421 PyObject
*resultobj
;
37422 int arg1
= (int) 0 ;
37423 int arg2
= (int) 0 ;
37424 wxGBPosition
*result
;
37425 PyObject
* obj0
= 0 ;
37426 PyObject
* obj1
= 0 ;
37427 char *kwnames
[] = {
37428 (char *) "row",(char *) "col", NULL
37431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37433 arg1
= (int)SWIG_As_int(obj0
);
37434 if (PyErr_Occurred()) SWIG_fail
;
37437 arg2
= (int)SWIG_As_int(obj1
);
37438 if (PyErr_Occurred()) SWIG_fail
;
37441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37442 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37444 wxPyEndAllowThreads(__tstate
);
37445 if (PyErr_Occurred()) SWIG_fail
;
37447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37454 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37455 PyObject
*resultobj
;
37456 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37458 PyObject
* obj0
= 0 ;
37459 char *kwnames
[] = {
37460 (char *) "self", NULL
37463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37468 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37470 wxPyEndAllowThreads(__tstate
);
37471 if (PyErr_Occurred()) SWIG_fail
;
37473 resultobj
= SWIG_From_int((int)result
);
37480 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37481 PyObject
*resultobj
;
37482 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37484 PyObject
* obj0
= 0 ;
37485 char *kwnames
[] = {
37486 (char *) "self", NULL
37489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37494 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37496 wxPyEndAllowThreads(__tstate
);
37497 if (PyErr_Occurred()) SWIG_fail
;
37499 resultobj
= SWIG_From_int((int)result
);
37506 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37507 PyObject
*resultobj
;
37508 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37510 PyObject
* obj0
= 0 ;
37511 PyObject
* obj1
= 0 ;
37512 char *kwnames
[] = {
37513 (char *) "self",(char *) "row", NULL
37516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37519 arg2
= (int)SWIG_As_int(obj1
);
37520 if (PyErr_Occurred()) SWIG_fail
;
37522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37523 (arg1
)->SetRow(arg2
);
37525 wxPyEndAllowThreads(__tstate
);
37526 if (PyErr_Occurred()) SWIG_fail
;
37528 Py_INCREF(Py_None
); resultobj
= Py_None
;
37535 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37536 PyObject
*resultobj
;
37537 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37539 PyObject
* obj0
= 0 ;
37540 PyObject
* obj1
= 0 ;
37541 char *kwnames
[] = {
37542 (char *) "self",(char *) "col", NULL
37545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37548 arg2
= (int)SWIG_As_int(obj1
);
37549 if (PyErr_Occurred()) SWIG_fail
;
37551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37552 (arg1
)->SetCol(arg2
);
37554 wxPyEndAllowThreads(__tstate
);
37555 if (PyErr_Occurred()) SWIG_fail
;
37557 Py_INCREF(Py_None
); resultobj
= Py_None
;
37564 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37565 PyObject
*resultobj
;
37566 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37567 wxGBPosition
*arg2
= 0 ;
37569 wxGBPosition temp2
;
37570 PyObject
* obj0
= 0 ;
37571 PyObject
* obj1
= 0 ;
37572 char *kwnames
[] = {
37573 (char *) "self",(char *) "other", NULL
37576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37581 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37585 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37587 wxPyEndAllowThreads(__tstate
);
37588 if (PyErr_Occurred()) SWIG_fail
;
37591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37599 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37600 PyObject
*resultobj
;
37601 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37602 wxGBPosition
*arg2
= 0 ;
37604 wxGBPosition temp2
;
37605 PyObject
* obj0
= 0 ;
37606 PyObject
* obj1
= 0 ;
37607 char *kwnames
[] = {
37608 (char *) "self",(char *) "other", NULL
37611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37616 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37620 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37622 wxPyEndAllowThreads(__tstate
);
37623 if (PyErr_Occurred()) SWIG_fail
;
37626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37634 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37635 PyObject
*resultobj
;
37636 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37637 int arg2
= (int) 0 ;
37638 int arg3
= (int) 0 ;
37639 PyObject
* obj0
= 0 ;
37640 PyObject
* obj1
= 0 ;
37641 PyObject
* obj2
= 0 ;
37642 char *kwnames
[] = {
37643 (char *) "self",(char *) "row",(char *) "col", NULL
37646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37650 arg2
= (int)SWIG_As_int(obj1
);
37651 if (PyErr_Occurred()) SWIG_fail
;
37654 arg3
= (int)SWIG_As_int(obj2
);
37655 if (PyErr_Occurred()) SWIG_fail
;
37658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37659 wxGBPosition_Set(arg1
,arg2
,arg3
);
37661 wxPyEndAllowThreads(__tstate
);
37662 if (PyErr_Occurred()) SWIG_fail
;
37664 Py_INCREF(Py_None
); resultobj
= Py_None
;
37671 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37672 PyObject
*resultobj
;
37673 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37675 PyObject
* obj0
= 0 ;
37676 char *kwnames
[] = {
37677 (char *) "self", NULL
37680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37685 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37687 wxPyEndAllowThreads(__tstate
);
37688 if (PyErr_Occurred()) SWIG_fail
;
37690 resultobj
= result
;
37697 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37700 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37702 return Py_BuildValue((char *)"");
37704 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37705 PyObject
*resultobj
;
37706 int arg1
= (int) 1 ;
37707 int arg2
= (int) 1 ;
37709 PyObject
* obj0
= 0 ;
37710 PyObject
* obj1
= 0 ;
37711 char *kwnames
[] = {
37712 (char *) "rowspan",(char *) "colspan", NULL
37715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37717 arg1
= (int)SWIG_As_int(obj0
);
37718 if (PyErr_Occurred()) SWIG_fail
;
37721 arg2
= (int)SWIG_As_int(obj1
);
37722 if (PyErr_Occurred()) SWIG_fail
;
37725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37726 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37728 wxPyEndAllowThreads(__tstate
);
37729 if (PyErr_Occurred()) SWIG_fail
;
37731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37738 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37739 PyObject
*resultobj
;
37740 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37742 PyObject
* obj0
= 0 ;
37743 char *kwnames
[] = {
37744 (char *) "self", NULL
37747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37752 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37754 wxPyEndAllowThreads(__tstate
);
37755 if (PyErr_Occurred()) SWIG_fail
;
37757 resultobj
= SWIG_From_int((int)result
);
37764 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37765 PyObject
*resultobj
;
37766 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37768 PyObject
* obj0
= 0 ;
37769 char *kwnames
[] = {
37770 (char *) "self", NULL
37773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37778 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37780 wxPyEndAllowThreads(__tstate
);
37781 if (PyErr_Occurred()) SWIG_fail
;
37783 resultobj
= SWIG_From_int((int)result
);
37790 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37791 PyObject
*resultobj
;
37792 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37794 PyObject
* obj0
= 0 ;
37795 PyObject
* obj1
= 0 ;
37796 char *kwnames
[] = {
37797 (char *) "self",(char *) "rowspan", NULL
37800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37803 arg2
= (int)SWIG_As_int(obj1
);
37804 if (PyErr_Occurred()) SWIG_fail
;
37806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37807 (arg1
)->SetRowspan(arg2
);
37809 wxPyEndAllowThreads(__tstate
);
37810 if (PyErr_Occurred()) SWIG_fail
;
37812 Py_INCREF(Py_None
); resultobj
= Py_None
;
37819 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37820 PyObject
*resultobj
;
37821 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37823 PyObject
* obj0
= 0 ;
37824 PyObject
* obj1
= 0 ;
37825 char *kwnames
[] = {
37826 (char *) "self",(char *) "colspan", NULL
37829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37832 arg2
= (int)SWIG_As_int(obj1
);
37833 if (PyErr_Occurred()) SWIG_fail
;
37835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37836 (arg1
)->SetColspan(arg2
);
37838 wxPyEndAllowThreads(__tstate
);
37839 if (PyErr_Occurred()) SWIG_fail
;
37841 Py_INCREF(Py_None
); resultobj
= Py_None
;
37848 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37849 PyObject
*resultobj
;
37850 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37851 wxGBSpan
*arg2
= 0 ;
37854 PyObject
* obj0
= 0 ;
37855 PyObject
* obj1
= 0 ;
37856 char *kwnames
[] = {
37857 (char *) "self",(char *) "other", NULL
37860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37865 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37869 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37871 wxPyEndAllowThreads(__tstate
);
37872 if (PyErr_Occurred()) SWIG_fail
;
37875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37883 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37884 PyObject
*resultobj
;
37885 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37886 wxGBSpan
*arg2
= 0 ;
37889 PyObject
* obj0
= 0 ;
37890 PyObject
* obj1
= 0 ;
37891 char *kwnames
[] = {
37892 (char *) "self",(char *) "other", NULL
37895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37900 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37904 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37906 wxPyEndAllowThreads(__tstate
);
37907 if (PyErr_Occurred()) SWIG_fail
;
37910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37918 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37919 PyObject
*resultobj
;
37920 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37921 int arg2
= (int) 1 ;
37922 int arg3
= (int) 1 ;
37923 PyObject
* obj0
= 0 ;
37924 PyObject
* obj1
= 0 ;
37925 PyObject
* obj2
= 0 ;
37926 char *kwnames
[] = {
37927 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37934 arg2
= (int)SWIG_As_int(obj1
);
37935 if (PyErr_Occurred()) SWIG_fail
;
37938 arg3
= (int)SWIG_As_int(obj2
);
37939 if (PyErr_Occurred()) SWIG_fail
;
37942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37943 wxGBSpan_Set(arg1
,arg2
,arg3
);
37945 wxPyEndAllowThreads(__tstate
);
37946 if (PyErr_Occurred()) SWIG_fail
;
37948 Py_INCREF(Py_None
); resultobj
= Py_None
;
37955 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37956 PyObject
*resultobj
;
37957 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37959 PyObject
* obj0
= 0 ;
37960 char *kwnames
[] = {
37961 (char *) "self", NULL
37964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37969 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37971 wxPyEndAllowThreads(__tstate
);
37972 if (PyErr_Occurred()) SWIG_fail
;
37974 resultobj
= result
;
37981 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
37983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37984 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37986 return Py_BuildValue((char *)"");
37988 static int _wrap_DefaultSpan_set(PyObject
*) {
37989 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37994 static PyObject
*_wrap_DefaultSpan_get() {
37997 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38002 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38003 PyObject
*resultobj
;
38004 wxGBSizerItem
*result
;
38005 char *kwnames
[] = {
38009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38012 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38014 wxPyEndAllowThreads(__tstate
);
38015 if (PyErr_Occurred()) SWIG_fail
;
38017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38024 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38025 PyObject
*resultobj
;
38026 wxWindow
*arg1
= (wxWindow
*) 0 ;
38027 wxGBPosition
*arg2
= 0 ;
38028 wxGBSpan
*arg3
= 0 ;
38031 PyObject
*arg6
= (PyObject
*) NULL
;
38032 wxGBSizerItem
*result
;
38033 wxGBPosition temp2
;
38035 PyObject
* obj0
= 0 ;
38036 PyObject
* obj1
= 0 ;
38037 PyObject
* obj2
= 0 ;
38038 PyObject
* obj3
= 0 ;
38039 PyObject
* obj4
= 0 ;
38040 PyObject
* obj5
= 0 ;
38041 char *kwnames
[] = {
38042 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38050 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38054 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38056 arg4
= (int)SWIG_As_int(obj3
);
38057 if (PyErr_Occurred()) SWIG_fail
;
38058 arg5
= (int)SWIG_As_int(obj4
);
38059 if (PyErr_Occurred()) SWIG_fail
;
38064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38065 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38067 wxPyEndAllowThreads(__tstate
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38077 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38078 PyObject
*resultobj
;
38079 wxSizer
*arg1
= (wxSizer
*) 0 ;
38080 wxGBPosition
*arg2
= 0 ;
38081 wxGBSpan
*arg3
= 0 ;
38084 PyObject
*arg6
= (PyObject
*) NULL
;
38085 wxGBSizerItem
*result
;
38086 wxGBPosition temp2
;
38088 PyObject
* obj0
= 0 ;
38089 PyObject
* obj1
= 0 ;
38090 PyObject
* obj2
= 0 ;
38091 PyObject
* obj3
= 0 ;
38092 PyObject
* obj4
= 0 ;
38093 PyObject
* obj5
= 0 ;
38094 char *kwnames
[] = {
38095 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38103 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38107 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38109 arg4
= (int)SWIG_As_int(obj3
);
38110 if (PyErr_Occurred()) SWIG_fail
;
38111 arg5
= (int)SWIG_As_int(obj4
);
38112 if (PyErr_Occurred()) SWIG_fail
;
38117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38118 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38120 wxPyEndAllowThreads(__tstate
);
38121 if (PyErr_Occurred()) SWIG_fail
;
38123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38130 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38131 PyObject
*resultobj
;
38134 wxGBPosition
*arg3
= 0 ;
38135 wxGBSpan
*arg4
= 0 ;
38138 PyObject
*arg7
= (PyObject
*) NULL
;
38139 wxGBSizerItem
*result
;
38140 wxGBPosition temp3
;
38142 PyObject
* obj0
= 0 ;
38143 PyObject
* obj1
= 0 ;
38144 PyObject
* obj2
= 0 ;
38145 PyObject
* obj3
= 0 ;
38146 PyObject
* obj4
= 0 ;
38147 PyObject
* obj5
= 0 ;
38148 PyObject
* obj6
= 0 ;
38149 char *kwnames
[] = {
38150 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38154 arg1
= (int)SWIG_As_int(obj0
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38156 arg2
= (int)SWIG_As_int(obj1
);
38157 if (PyErr_Occurred()) SWIG_fail
;
38160 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38164 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38166 arg5
= (int)SWIG_As_int(obj4
);
38167 if (PyErr_Occurred()) SWIG_fail
;
38168 arg6
= (int)SWIG_As_int(obj5
);
38169 if (PyErr_Occurred()) SWIG_fail
;
38174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38175 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38177 wxPyEndAllowThreads(__tstate
);
38178 if (PyErr_Occurred()) SWIG_fail
;
38180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38187 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38188 PyObject
*resultobj
;
38189 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38190 wxGBPosition result
;
38191 PyObject
* obj0
= 0 ;
38192 char *kwnames
[] = {
38193 (char *) "self", NULL
38196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38201 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38203 wxPyEndAllowThreads(__tstate
);
38204 if (PyErr_Occurred()) SWIG_fail
;
38207 wxGBPosition
* resultptr
;
38208 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38217 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38218 PyObject
*resultobj
;
38219 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38221 PyObject
* obj0
= 0 ;
38222 char *kwnames
[] = {
38223 (char *) "self", NULL
38226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38231 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38237 wxGBSpan
* resultptr
;
38238 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38247 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38248 PyObject
*resultobj
;
38249 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38250 wxGBPosition
*arg2
= 0 ;
38252 wxGBPosition temp2
;
38253 PyObject
* obj0
= 0 ;
38254 PyObject
* obj1
= 0 ;
38255 char *kwnames
[] = {
38256 (char *) "self",(char *) "pos", NULL
38259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38264 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38268 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38270 wxPyEndAllowThreads(__tstate
);
38271 if (PyErr_Occurred()) SWIG_fail
;
38274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38282 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38283 PyObject
*resultobj
;
38284 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38285 wxGBSpan
*arg2
= 0 ;
38288 PyObject
* obj0
= 0 ;
38289 PyObject
* obj1
= 0 ;
38290 char *kwnames
[] = {
38291 (char *) "self",(char *) "span", NULL
38294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38299 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38303 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38305 wxPyEndAllowThreads(__tstate
);
38306 if (PyErr_Occurred()) SWIG_fail
;
38309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38317 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38318 PyObject
*resultobj
;
38319 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38320 wxGBSizerItem
*arg2
= 0 ;
38322 PyObject
* obj0
= 0 ;
38323 PyObject
* obj1
= 0 ;
38324 char *kwnames
[] = {
38325 (char *) "self",(char *) "other", NULL
38328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38334 if (arg2
== NULL
) {
38335 PyErr_SetString(PyExc_TypeError
,"null reference");
38339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38340 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38342 wxPyEndAllowThreads(__tstate
);
38343 if (PyErr_Occurred()) SWIG_fail
;
38346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38354 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38355 PyObject
*resultobj
;
38356 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38357 wxGBPosition
*arg2
= 0 ;
38358 wxGBSpan
*arg3
= 0 ;
38360 wxGBPosition temp2
;
38362 PyObject
* obj0
= 0 ;
38363 PyObject
* obj1
= 0 ;
38364 PyObject
* obj2
= 0 ;
38365 char *kwnames
[] = {
38366 (char *) "self",(char *) "pos",(char *) "span", NULL
38369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38374 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38378 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38382 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38384 wxPyEndAllowThreads(__tstate
);
38385 if (PyErr_Occurred()) SWIG_fail
;
38388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38396 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38397 PyObject
*resultobj
;
38398 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38399 wxGBPosition result
;
38400 PyObject
* obj0
= 0 ;
38401 char *kwnames
[] = {
38402 (char *) "self", NULL
38405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38410 result
= wxGBSizerItem_GetEndPos(arg1
);
38412 wxPyEndAllowThreads(__tstate
);
38413 if (PyErr_Occurred()) SWIG_fail
;
38416 wxGBPosition
* resultptr
;
38417 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38426 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38427 PyObject
*resultobj
;
38428 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38429 wxGridBagSizer
*result
;
38430 PyObject
* obj0
= 0 ;
38431 char *kwnames
[] = {
38432 (char *) "self", NULL
38435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38440 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38442 wxPyEndAllowThreads(__tstate
);
38443 if (PyErr_Occurred()) SWIG_fail
;
38445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38452 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38453 PyObject
*resultobj
;
38454 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38455 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38456 PyObject
* obj0
= 0 ;
38457 PyObject
* obj1
= 0 ;
38458 char *kwnames
[] = {
38459 (char *) "self",(char *) "sizer", NULL
38462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38469 (arg1
)->SetGBSizer(arg2
);
38471 wxPyEndAllowThreads(__tstate
);
38472 if (PyErr_Occurred()) SWIG_fail
;
38474 Py_INCREF(Py_None
); resultobj
= Py_None
;
38481 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38484 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38486 return Py_BuildValue((char *)"");
38488 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38489 PyObject
*resultobj
;
38490 int arg1
= (int) 0 ;
38491 int arg2
= (int) 0 ;
38492 wxGridBagSizer
*result
;
38493 PyObject
* obj0
= 0 ;
38494 PyObject
* obj1
= 0 ;
38495 char *kwnames
[] = {
38496 (char *) "vgap",(char *) "hgap", NULL
38499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38501 arg1
= (int)SWIG_As_int(obj0
);
38502 if (PyErr_Occurred()) SWIG_fail
;
38505 arg2
= (int)SWIG_As_int(obj1
);
38506 if (PyErr_Occurred()) SWIG_fail
;
38509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38510 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38512 wxPyEndAllowThreads(__tstate
);
38513 if (PyErr_Occurred()) SWIG_fail
;
38515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38522 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38523 PyObject
*resultobj
;
38524 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38525 PyObject
*arg2
= (PyObject
*) 0 ;
38526 wxGBPosition
*arg3
= 0 ;
38527 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38528 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38529 int arg5
= (int) 0 ;
38530 int arg6
= (int) 0 ;
38531 PyObject
*arg7
= (PyObject
*) NULL
;
38532 wxGBSizerItem
*result
;
38533 wxGBPosition temp3
;
38535 PyObject
* obj0
= 0 ;
38536 PyObject
* obj1
= 0 ;
38537 PyObject
* obj2
= 0 ;
38538 PyObject
* obj3
= 0 ;
38539 PyObject
* obj4
= 0 ;
38540 PyObject
* obj5
= 0 ;
38541 PyObject
* obj6
= 0 ;
38542 char *kwnames
[] = {
38543 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38552 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38557 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38561 arg5
= (int)SWIG_As_int(obj4
);
38562 if (PyErr_Occurred()) SWIG_fail
;
38565 arg6
= (int)SWIG_As_int(obj5
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38573 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38575 wxPyEndAllowThreads(__tstate
);
38576 if (PyErr_Occurred()) SWIG_fail
;
38578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38585 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38586 PyObject
*resultobj
;
38587 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38588 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38589 wxGBSizerItem
*result
;
38590 PyObject
* obj0
= 0 ;
38591 PyObject
* obj1
= 0 ;
38592 char *kwnames
[] = {
38593 (char *) "self",(char *) "item", NULL
38596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38603 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
38605 wxPyEndAllowThreads(__tstate
);
38606 if (PyErr_Occurred()) SWIG_fail
;
38608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38615 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38616 PyObject
*resultobj
;
38617 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38621 PyObject
* obj0
= 0 ;
38622 PyObject
* obj1
= 0 ;
38623 PyObject
* obj2
= 0 ;
38624 char *kwnames
[] = {
38625 (char *) "self",(char *) "row",(char *) "col", NULL
38628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38631 arg2
= (int)SWIG_As_int(obj1
);
38632 if (PyErr_Occurred()) SWIG_fail
;
38633 arg3
= (int)SWIG_As_int(obj2
);
38634 if (PyErr_Occurred()) SWIG_fail
;
38636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38637 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
38639 wxPyEndAllowThreads(__tstate
);
38640 if (PyErr_Occurred()) SWIG_fail
;
38643 wxSize
* resultptr
;
38644 resultptr
= new wxSize((wxSize
&) result
);
38645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38653 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38654 PyObject
*resultobj
;
38655 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38657 PyObject
* obj0
= 0 ;
38658 char *kwnames
[] = {
38659 (char *) "self", NULL
38662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38667 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38669 wxPyEndAllowThreads(__tstate
);
38670 if (PyErr_Occurred()) SWIG_fail
;
38673 wxSize
* resultptr
;
38674 resultptr
= new wxSize((wxSize
&) result
);
38675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38683 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38684 PyObject
*resultobj
;
38685 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38688 PyObject
* obj0
= 0 ;
38689 PyObject
* obj1
= 0 ;
38690 char *kwnames
[] = {
38691 (char *) "self",(char *) "sz", NULL
38694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38699 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38703 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38705 wxPyEndAllowThreads(__tstate
);
38706 if (PyErr_Occurred()) SWIG_fail
;
38708 Py_INCREF(Py_None
); resultobj
= Py_None
;
38715 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38716 PyObject
*resultobj
;
38717 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38718 wxWindow
*arg2
= (wxWindow
*) 0 ;
38719 wxGBPosition result
;
38720 PyObject
* obj0
= 0 ;
38721 PyObject
* obj1
= 0 ;
38723 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38730 result
= (arg1
)->GetItemPosition(arg2
);
38732 wxPyEndAllowThreads(__tstate
);
38733 if (PyErr_Occurred()) SWIG_fail
;
38736 wxGBPosition
* resultptr
;
38737 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38746 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38747 PyObject
*resultobj
;
38748 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38749 wxSizer
*arg2
= (wxSizer
*) 0 ;
38750 wxGBPosition result
;
38751 PyObject
* obj0
= 0 ;
38752 PyObject
* obj1
= 0 ;
38754 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38761 result
= (arg1
)->GetItemPosition(arg2
);
38763 wxPyEndAllowThreads(__tstate
);
38764 if (PyErr_Occurred()) SWIG_fail
;
38767 wxGBPosition
* resultptr
;
38768 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38777 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38778 PyObject
*resultobj
;
38779 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38781 wxGBPosition result
;
38782 PyObject
* obj0
= 0 ;
38783 PyObject
* obj1
= 0 ;
38785 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38788 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38789 if (PyErr_Occurred()) SWIG_fail
;
38791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38792 result
= (arg1
)->GetItemPosition(arg2
);
38794 wxPyEndAllowThreads(__tstate
);
38795 if (PyErr_Occurred()) SWIG_fail
;
38798 wxGBPosition
* resultptr
;
38799 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38808 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38813 argc
= PyObject_Length(args
);
38814 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38815 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38821 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38831 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38839 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38847 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38857 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38865 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38873 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38881 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38883 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38888 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38893 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38894 PyObject
*resultobj
;
38895 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38896 wxWindow
*arg2
= (wxWindow
*) 0 ;
38897 wxGBPosition
*arg3
= 0 ;
38899 wxGBPosition temp3
;
38900 PyObject
* obj0
= 0 ;
38901 PyObject
* obj1
= 0 ;
38902 PyObject
* obj2
= 0 ;
38904 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38911 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38915 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38917 wxPyEndAllowThreads(__tstate
);
38918 if (PyErr_Occurred()) SWIG_fail
;
38921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38929 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38930 PyObject
*resultobj
;
38931 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38932 wxSizer
*arg2
= (wxSizer
*) 0 ;
38933 wxGBPosition
*arg3
= 0 ;
38935 wxGBPosition temp3
;
38936 PyObject
* obj0
= 0 ;
38937 PyObject
* obj1
= 0 ;
38938 PyObject
* obj2
= 0 ;
38940 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38947 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38951 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38953 wxPyEndAllowThreads(__tstate
);
38954 if (PyErr_Occurred()) SWIG_fail
;
38957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38965 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38966 PyObject
*resultobj
;
38967 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38969 wxGBPosition
*arg3
= 0 ;
38971 wxGBPosition temp3
;
38972 PyObject
* obj0
= 0 ;
38973 PyObject
* obj1
= 0 ;
38974 PyObject
* obj2
= 0 ;
38976 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38979 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38980 if (PyErr_Occurred()) SWIG_fail
;
38983 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38987 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38989 wxPyEndAllowThreads(__tstate
);
38990 if (PyErr_Occurred()) SWIG_fail
;
38993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39001 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
39006 argc
= PyObject_Length(args
);
39007 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39008 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39014 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39024 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39033 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39036 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39045 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39055 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39064 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39067 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39076 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39084 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39087 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39090 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39096 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39101 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39102 PyObject
*resultobj
;
39103 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39104 wxWindow
*arg2
= (wxWindow
*) 0 ;
39106 PyObject
* obj0
= 0 ;
39107 PyObject
* obj1
= 0 ;
39109 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39116 result
= (arg1
)->GetItemSpan(arg2
);
39118 wxPyEndAllowThreads(__tstate
);
39119 if (PyErr_Occurred()) SWIG_fail
;
39122 wxGBSpan
* resultptr
;
39123 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39132 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39133 PyObject
*resultobj
;
39134 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39135 wxSizer
*arg2
= (wxSizer
*) 0 ;
39137 PyObject
* obj0
= 0 ;
39138 PyObject
* obj1
= 0 ;
39140 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39147 result
= (arg1
)->GetItemSpan(arg2
);
39149 wxPyEndAllowThreads(__tstate
);
39150 if (PyErr_Occurred()) SWIG_fail
;
39153 wxGBSpan
* resultptr
;
39154 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39163 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39164 PyObject
*resultobj
;
39165 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39168 PyObject
* obj0
= 0 ;
39169 PyObject
* obj1
= 0 ;
39171 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39174 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39175 if (PyErr_Occurred()) SWIG_fail
;
39177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39178 result
= (arg1
)->GetItemSpan(arg2
);
39180 wxPyEndAllowThreads(__tstate
);
39181 if (PyErr_Occurred()) SWIG_fail
;
39184 wxGBSpan
* resultptr
;
39185 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39194 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39199 argc
= PyObject_Length(args
);
39200 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39201 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39207 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39217 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39225 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39233 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39243 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39251 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39259 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39267 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39269 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39274 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39279 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39280 PyObject
*resultobj
;
39281 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39282 wxWindow
*arg2
= (wxWindow
*) 0 ;
39283 wxGBSpan
*arg3
= 0 ;
39286 PyObject
* obj0
= 0 ;
39287 PyObject
* obj1
= 0 ;
39288 PyObject
* obj2
= 0 ;
39290 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39297 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39301 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39303 wxPyEndAllowThreads(__tstate
);
39304 if (PyErr_Occurred()) SWIG_fail
;
39307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39315 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39316 PyObject
*resultobj
;
39317 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39318 wxSizer
*arg2
= (wxSizer
*) 0 ;
39319 wxGBSpan
*arg3
= 0 ;
39322 PyObject
* obj0
= 0 ;
39323 PyObject
* obj1
= 0 ;
39324 PyObject
* obj2
= 0 ;
39326 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39333 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39337 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39339 wxPyEndAllowThreads(__tstate
);
39340 if (PyErr_Occurred()) SWIG_fail
;
39343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39351 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39352 PyObject
*resultobj
;
39353 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39355 wxGBSpan
*arg3
= 0 ;
39358 PyObject
* obj0
= 0 ;
39359 PyObject
* obj1
= 0 ;
39360 PyObject
* obj2
= 0 ;
39362 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39365 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39366 if (PyErr_Occurred()) SWIG_fail
;
39369 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39373 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39375 wxPyEndAllowThreads(__tstate
);
39376 if (PyErr_Occurred()) SWIG_fail
;
39379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39387 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39392 argc
= PyObject_Length(args
);
39393 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39394 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39400 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39410 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39419 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39422 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39431 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39441 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39450 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39453 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39462 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39470 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39473 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39476 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39482 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39487 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39488 PyObject
*resultobj
;
39489 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39490 wxWindow
*arg2
= (wxWindow
*) 0 ;
39491 wxGBSizerItem
*result
;
39492 PyObject
* obj0
= 0 ;
39493 PyObject
* obj1
= 0 ;
39495 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39502 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39504 wxPyEndAllowThreads(__tstate
);
39505 if (PyErr_Occurred()) SWIG_fail
;
39507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39514 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39515 PyObject
*resultobj
;
39516 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39517 wxSizer
*arg2
= (wxSizer
*) 0 ;
39518 wxGBSizerItem
*result
;
39519 PyObject
* obj0
= 0 ;
39520 PyObject
* obj1
= 0 ;
39522 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39529 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39531 wxPyEndAllowThreads(__tstate
);
39532 if (PyErr_Occurred()) SWIG_fail
;
39534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39541 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39546 argc
= PyObject_Length(args
);
39547 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39548 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39554 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39564 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39572 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39580 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39590 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39598 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39603 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39608 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39609 PyObject
*resultobj
;
39610 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39611 wxGBPosition
*arg2
= 0 ;
39612 wxGBSizerItem
*result
;
39613 wxGBPosition temp2
;
39614 PyObject
* obj0
= 0 ;
39615 PyObject
* obj1
= 0 ;
39616 char *kwnames
[] = {
39617 (char *) "self",(char *) "pos", NULL
39620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39625 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39629 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39631 wxPyEndAllowThreads(__tstate
);
39632 if (PyErr_Occurred()) SWIG_fail
;
39634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39641 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39642 PyObject
*resultobj
;
39643 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39644 wxPoint
*arg2
= 0 ;
39645 wxGBSizerItem
*result
;
39647 PyObject
* obj0
= 0 ;
39648 PyObject
* obj1
= 0 ;
39649 char *kwnames
[] = {
39650 (char *) "self",(char *) "pt", NULL
39653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39658 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39662 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39664 wxPyEndAllowThreads(__tstate
);
39665 if (PyErr_Occurred()) SWIG_fail
;
39667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39674 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39675 PyObject
*resultobj
;
39676 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39677 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39678 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39680 PyObject
* obj0
= 0 ;
39681 PyObject
* obj1
= 0 ;
39682 PyObject
* obj2
= 0 ;
39683 char *kwnames
[] = {
39684 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39693 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39698 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39700 wxPyEndAllowThreads(__tstate
);
39701 if (PyErr_Occurred()) SWIG_fail
;
39704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39712 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39713 PyObject
*resultobj
;
39714 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39715 wxGBPosition
*arg2
= 0 ;
39716 wxGBSpan
*arg3
= 0 ;
39717 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39719 wxGBPosition temp2
;
39721 PyObject
* obj0
= 0 ;
39722 PyObject
* obj1
= 0 ;
39723 PyObject
* obj2
= 0 ;
39724 PyObject
* obj3
= 0 ;
39725 char *kwnames
[] = {
39726 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39734 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39738 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39741 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39746 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39748 wxPyEndAllowThreads(__tstate
);
39749 if (PyErr_Occurred()) SWIG_fail
;
39752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39760 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39763 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39765 return Py_BuildValue((char *)"");
39767 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39768 PyObject
*resultobj
;
39769 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39771 wxWindow
*arg3
= (wxWindow
*) 0 ;
39773 int arg5
= (int) 0 ;
39774 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39775 PyObject
* obj0
= 0 ;
39776 PyObject
* obj1
= 0 ;
39777 PyObject
* obj2
= 0 ;
39778 PyObject
* obj3
= 0 ;
39779 PyObject
* obj4
= 0 ;
39780 PyObject
* obj5
= 0 ;
39781 char *kwnames
[] = {
39782 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39788 arg2
= (int)SWIG_As_int(obj1
);
39789 if (PyErr_Occurred()) SWIG_fail
;
39790 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39792 arg4
= (int)SWIG_As_int(obj3
);
39793 if (PyErr_Occurred()) SWIG_fail
;
39795 arg5
= (int)SWIG_As_int(obj4
);
39796 if (PyErr_Occurred()) SWIG_fail
;
39799 arg6
= (int)SWIG_As_int(obj5
);
39800 if (PyErr_Occurred()) SWIG_fail
;
39803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39804 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39806 wxPyEndAllowThreads(__tstate
);
39807 if (PyErr_Occurred()) SWIG_fail
;
39809 Py_INCREF(Py_None
); resultobj
= Py_None
;
39816 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39817 PyObject
*resultobj
;
39818 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39819 wxWindow
*arg2
= (wxWindow
*) 0 ;
39820 int arg3
= (int) 0 ;
39821 PyObject
* obj0
= 0 ;
39822 PyObject
* obj1
= 0 ;
39823 PyObject
* obj2
= 0 ;
39824 char *kwnames
[] = {
39825 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39834 arg3
= (int)SWIG_As_int(obj2
);
39835 if (PyErr_Occurred()) SWIG_fail
;
39838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39839 (arg1
)->LeftOf(arg2
,arg3
);
39841 wxPyEndAllowThreads(__tstate
);
39842 if (PyErr_Occurred()) SWIG_fail
;
39844 Py_INCREF(Py_None
); resultobj
= Py_None
;
39851 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39852 PyObject
*resultobj
;
39853 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39854 wxWindow
*arg2
= (wxWindow
*) 0 ;
39855 int arg3
= (int) 0 ;
39856 PyObject
* obj0
= 0 ;
39857 PyObject
* obj1
= 0 ;
39858 PyObject
* obj2
= 0 ;
39859 char *kwnames
[] = {
39860 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39869 arg3
= (int)SWIG_As_int(obj2
);
39870 if (PyErr_Occurred()) SWIG_fail
;
39873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39874 (arg1
)->RightOf(arg2
,arg3
);
39876 wxPyEndAllowThreads(__tstate
);
39877 if (PyErr_Occurred()) SWIG_fail
;
39879 Py_INCREF(Py_None
); resultobj
= Py_None
;
39886 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39887 PyObject
*resultobj
;
39888 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39889 wxWindow
*arg2
= (wxWindow
*) 0 ;
39890 int arg3
= (int) 0 ;
39891 PyObject
* obj0
= 0 ;
39892 PyObject
* obj1
= 0 ;
39893 PyObject
* obj2
= 0 ;
39894 char *kwnames
[] = {
39895 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39904 arg3
= (int)SWIG_As_int(obj2
);
39905 if (PyErr_Occurred()) SWIG_fail
;
39908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39909 (arg1
)->Above(arg2
,arg3
);
39911 wxPyEndAllowThreads(__tstate
);
39912 if (PyErr_Occurred()) SWIG_fail
;
39914 Py_INCREF(Py_None
); resultobj
= Py_None
;
39921 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39922 PyObject
*resultobj
;
39923 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39924 wxWindow
*arg2
= (wxWindow
*) 0 ;
39925 int arg3
= (int) 0 ;
39926 PyObject
* obj0
= 0 ;
39927 PyObject
* obj1
= 0 ;
39928 PyObject
* obj2
= 0 ;
39929 char *kwnames
[] = {
39930 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39939 arg3
= (int)SWIG_As_int(obj2
);
39940 if (PyErr_Occurred()) SWIG_fail
;
39943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39944 (arg1
)->Below(arg2
,arg3
);
39946 wxPyEndAllowThreads(__tstate
);
39947 if (PyErr_Occurred()) SWIG_fail
;
39949 Py_INCREF(Py_None
); resultobj
= Py_None
;
39956 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39957 PyObject
*resultobj
;
39958 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39959 wxWindow
*arg2
= (wxWindow
*) 0 ;
39961 int arg4
= (int) 0 ;
39962 PyObject
* obj0
= 0 ;
39963 PyObject
* obj1
= 0 ;
39964 PyObject
* obj2
= 0 ;
39965 PyObject
* obj3
= 0 ;
39966 char *kwnames
[] = {
39967 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39975 arg3
= (int)SWIG_As_int(obj2
);
39976 if (PyErr_Occurred()) SWIG_fail
;
39978 arg4
= (int)SWIG_As_int(obj3
);
39979 if (PyErr_Occurred()) SWIG_fail
;
39982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39983 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39985 wxPyEndAllowThreads(__tstate
);
39986 if (PyErr_Occurred()) SWIG_fail
;
39988 Py_INCREF(Py_None
); resultobj
= Py_None
;
39995 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39996 PyObject
*resultobj
;
39997 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39998 wxWindow
*arg2
= (wxWindow
*) 0 ;
40001 PyObject
* obj0
= 0 ;
40002 PyObject
* obj1
= 0 ;
40003 PyObject
* obj2
= 0 ;
40004 PyObject
* obj3
= 0 ;
40005 char *kwnames
[] = {
40006 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40014 arg3
= (int)SWIG_As_int(obj2
);
40015 if (PyErr_Occurred()) SWIG_fail
;
40016 arg4
= (int)SWIG_As_int(obj3
);
40017 if (PyErr_Occurred()) SWIG_fail
;
40019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40020 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40022 wxPyEndAllowThreads(__tstate
);
40023 if (PyErr_Occurred()) SWIG_fail
;
40025 Py_INCREF(Py_None
); resultobj
= Py_None
;
40032 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40033 PyObject
*resultobj
;
40034 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40036 PyObject
* obj0
= 0 ;
40037 PyObject
* obj1
= 0 ;
40038 char *kwnames
[] = {
40039 (char *) "self",(char *) "val", NULL
40042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40045 arg2
= (int)SWIG_As_int(obj1
);
40046 if (PyErr_Occurred()) SWIG_fail
;
40048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40049 (arg1
)->Absolute(arg2
);
40051 wxPyEndAllowThreads(__tstate
);
40052 if (PyErr_Occurred()) SWIG_fail
;
40054 Py_INCREF(Py_None
); resultobj
= Py_None
;
40061 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40062 PyObject
*resultobj
;
40063 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40064 PyObject
* obj0
= 0 ;
40065 char *kwnames
[] = {
40066 (char *) "self", NULL
40069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40074 (arg1
)->Unconstrained();
40076 wxPyEndAllowThreads(__tstate
);
40077 if (PyErr_Occurred()) SWIG_fail
;
40079 Py_INCREF(Py_None
); resultobj
= Py_None
;
40086 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40087 PyObject
*resultobj
;
40088 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40089 PyObject
* obj0
= 0 ;
40090 char *kwnames
[] = {
40091 (char *) "self", NULL
40094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40101 wxPyEndAllowThreads(__tstate
);
40102 if (PyErr_Occurred()) SWIG_fail
;
40104 Py_INCREF(Py_None
); resultobj
= Py_None
;
40111 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40112 PyObject
*resultobj
;
40113 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40115 PyObject
* obj0
= 0 ;
40116 char *kwnames
[] = {
40117 (char *) "self", NULL
40120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40125 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40127 wxPyEndAllowThreads(__tstate
);
40128 if (PyErr_Occurred()) SWIG_fail
;
40131 resultobj
= wxPyMake_wxObject(result
, 0);
40139 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40140 PyObject
*resultobj
;
40141 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40143 PyObject
* obj0
= 0 ;
40144 char *kwnames
[] = {
40145 (char *) "self", NULL
40148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40153 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40155 wxPyEndAllowThreads(__tstate
);
40156 if (PyErr_Occurred()) SWIG_fail
;
40158 resultobj
= SWIG_From_int((int)result
);
40165 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40166 PyObject
*resultobj
;
40167 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40169 PyObject
* obj0
= 0 ;
40170 PyObject
* obj1
= 0 ;
40171 char *kwnames
[] = {
40172 (char *) "self",(char *) "which", NULL
40175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40178 arg2
= (int)SWIG_As_int(obj1
);
40179 if (PyErr_Occurred()) SWIG_fail
;
40181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40182 (arg1
)->SetEdge((wxEdge
)arg2
);
40184 wxPyEndAllowThreads(__tstate
);
40185 if (PyErr_Occurred()) SWIG_fail
;
40187 Py_INCREF(Py_None
); resultobj
= Py_None
;
40194 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40195 PyObject
*resultobj
;
40196 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40198 PyObject
* obj0
= 0 ;
40199 PyObject
* obj1
= 0 ;
40200 char *kwnames
[] = {
40201 (char *) "self",(char *) "v", NULL
40204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40207 arg2
= (int)SWIG_As_int(obj1
);
40208 if (PyErr_Occurred()) SWIG_fail
;
40210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40211 (arg1
)->SetValue(arg2
);
40213 wxPyEndAllowThreads(__tstate
);
40214 if (PyErr_Occurred()) SWIG_fail
;
40216 Py_INCREF(Py_None
); resultobj
= Py_None
;
40223 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40224 PyObject
*resultobj
;
40225 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40227 PyObject
* obj0
= 0 ;
40228 char *kwnames
[] = {
40229 (char *) "self", NULL
40232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40237 result
= (int)(arg1
)->GetMargin();
40239 wxPyEndAllowThreads(__tstate
);
40240 if (PyErr_Occurred()) SWIG_fail
;
40242 resultobj
= SWIG_From_int((int)result
);
40249 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40250 PyObject
*resultobj
;
40251 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40253 PyObject
* obj0
= 0 ;
40254 PyObject
* obj1
= 0 ;
40255 char *kwnames
[] = {
40256 (char *) "self",(char *) "m", NULL
40259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40262 arg2
= (int)SWIG_As_int(obj1
);
40263 if (PyErr_Occurred()) SWIG_fail
;
40265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40266 (arg1
)->SetMargin(arg2
);
40268 wxPyEndAllowThreads(__tstate
);
40269 if (PyErr_Occurred()) SWIG_fail
;
40271 Py_INCREF(Py_None
); resultobj
= Py_None
;
40278 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40279 PyObject
*resultobj
;
40280 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40282 PyObject
* obj0
= 0 ;
40283 char *kwnames
[] = {
40284 (char *) "self", NULL
40287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40292 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40294 wxPyEndAllowThreads(__tstate
);
40295 if (PyErr_Occurred()) SWIG_fail
;
40297 resultobj
= SWIG_From_int((int)result
);
40304 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40305 PyObject
*resultobj
;
40306 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40308 PyObject
* obj0
= 0 ;
40309 char *kwnames
[] = {
40310 (char *) "self", NULL
40313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40318 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40320 wxPyEndAllowThreads(__tstate
);
40321 if (PyErr_Occurred()) SWIG_fail
;
40323 resultobj
= SWIG_From_int((int)result
);
40330 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40331 PyObject
*resultobj
;
40332 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40334 PyObject
* obj0
= 0 ;
40335 char *kwnames
[] = {
40336 (char *) "self", NULL
40339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40344 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40346 wxPyEndAllowThreads(__tstate
);
40347 if (PyErr_Occurred()) SWIG_fail
;
40349 resultobj
= SWIG_From_int((int)result
);
40356 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40357 PyObject
*resultobj
;
40358 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40360 PyObject
* obj0
= 0 ;
40361 char *kwnames
[] = {
40362 (char *) "self", NULL
40365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40370 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40372 wxPyEndAllowThreads(__tstate
);
40373 if (PyErr_Occurred()) SWIG_fail
;
40376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40384 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40385 PyObject
*resultobj
;
40386 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40388 PyObject
* obj0
= 0 ;
40389 PyObject
* obj1
= 0 ;
40390 char *kwnames
[] = {
40391 (char *) "self",(char *) "d", NULL
40394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40397 arg2
= (bool)SWIG_As_bool(obj1
);
40398 if (PyErr_Occurred()) SWIG_fail
;
40400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40401 (arg1
)->SetDone(arg2
);
40403 wxPyEndAllowThreads(__tstate
);
40404 if (PyErr_Occurred()) SWIG_fail
;
40406 Py_INCREF(Py_None
); resultobj
= Py_None
;
40413 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40414 PyObject
*resultobj
;
40415 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40417 PyObject
* obj0
= 0 ;
40418 char *kwnames
[] = {
40419 (char *) "self", NULL
40422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40427 result
= (int)(arg1
)->GetRelationship();
40429 wxPyEndAllowThreads(__tstate
);
40430 if (PyErr_Occurred()) SWIG_fail
;
40432 resultobj
= SWIG_From_int((int)result
);
40439 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40440 PyObject
*resultobj
;
40441 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40443 PyObject
* obj0
= 0 ;
40444 PyObject
* obj1
= 0 ;
40445 char *kwnames
[] = {
40446 (char *) "self",(char *) "r", NULL
40449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40452 arg2
= (int)SWIG_As_int(obj1
);
40453 if (PyErr_Occurred()) SWIG_fail
;
40455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40456 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40458 wxPyEndAllowThreads(__tstate
);
40459 if (PyErr_Occurred()) SWIG_fail
;
40461 Py_INCREF(Py_None
); resultobj
= Py_None
;
40468 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40469 PyObject
*resultobj
;
40470 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40471 wxWindow
*arg2
= (wxWindow
*) 0 ;
40473 PyObject
* obj0
= 0 ;
40474 PyObject
* obj1
= 0 ;
40475 char *kwnames
[] = {
40476 (char *) "self",(char *) "otherW", NULL
40479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40486 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40488 wxPyEndAllowThreads(__tstate
);
40489 if (PyErr_Occurred()) SWIG_fail
;
40492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40500 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40501 PyObject
*resultobj
;
40502 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40503 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40504 wxWindow
*arg3
= (wxWindow
*) 0 ;
40506 PyObject
* obj0
= 0 ;
40507 PyObject
* obj1
= 0 ;
40508 PyObject
* obj2
= 0 ;
40509 char *kwnames
[] = {
40510 (char *) "self",(char *) "constraints",(char *) "win", NULL
40513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40518 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40522 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40524 wxPyEndAllowThreads(__tstate
);
40525 if (PyErr_Occurred()) SWIG_fail
;
40528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40536 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40537 PyObject
*resultobj
;
40538 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40540 wxWindow
*arg3
= (wxWindow
*) 0 ;
40541 wxWindow
*arg4
= (wxWindow
*) 0 ;
40543 PyObject
* obj0
= 0 ;
40544 PyObject
* obj1
= 0 ;
40545 PyObject
* obj2
= 0 ;
40546 PyObject
* obj3
= 0 ;
40547 char *kwnames
[] = {
40548 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40554 arg2
= (int)SWIG_As_int(obj1
);
40555 if (PyErr_Occurred()) SWIG_fail
;
40556 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40558 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40562 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40564 wxPyEndAllowThreads(__tstate
);
40565 if (PyErr_Occurred()) SWIG_fail
;
40567 resultobj
= SWIG_From_int((int)result
);
40574 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40577 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40579 return Py_BuildValue((char *)"");
40581 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40582 PyObject
*resultobj
;
40583 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40584 wxIndividualLayoutConstraint
*result
;
40585 PyObject
* obj0
= 0 ;
40586 char *kwnames
[] = {
40587 (char *) "self", NULL
40590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40593 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40602 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40603 PyObject
*resultobj
;
40604 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40605 wxIndividualLayoutConstraint
*result
;
40606 PyObject
* obj0
= 0 ;
40607 char *kwnames
[] = {
40608 (char *) "self", NULL
40611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40614 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40623 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40624 PyObject
*resultobj
;
40625 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40626 wxIndividualLayoutConstraint
*result
;
40627 PyObject
* obj0
= 0 ;
40628 char *kwnames
[] = {
40629 (char *) "self", NULL
40632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40635 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40644 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40645 PyObject
*resultobj
;
40646 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40647 wxIndividualLayoutConstraint
*result
;
40648 PyObject
* obj0
= 0 ;
40649 char *kwnames
[] = {
40650 (char *) "self", NULL
40653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40656 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40665 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40666 PyObject
*resultobj
;
40667 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40668 wxIndividualLayoutConstraint
*result
;
40669 PyObject
* obj0
= 0 ;
40670 char *kwnames
[] = {
40671 (char *) "self", NULL
40674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40677 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40686 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40687 PyObject
*resultobj
;
40688 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40689 wxIndividualLayoutConstraint
*result
;
40690 PyObject
* obj0
= 0 ;
40691 char *kwnames
[] = {
40692 (char *) "self", NULL
40695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40698 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40707 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40708 PyObject
*resultobj
;
40709 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40710 wxIndividualLayoutConstraint
*result
;
40711 PyObject
* obj0
= 0 ;
40712 char *kwnames
[] = {
40713 (char *) "self", NULL
40716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40719 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40728 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40729 PyObject
*resultobj
;
40730 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40731 wxIndividualLayoutConstraint
*result
;
40732 PyObject
* obj0
= 0 ;
40733 char *kwnames
[] = {
40734 (char *) "self", NULL
40737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40740 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40749 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40750 PyObject
*resultobj
;
40751 wxLayoutConstraints
*result
;
40752 char *kwnames
[] = {
40756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40759 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40761 wxPyEndAllowThreads(__tstate
);
40762 if (PyErr_Occurred()) SWIG_fail
;
40764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40771 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40772 PyObject
*resultobj
;
40773 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40774 wxWindow
*arg2
= (wxWindow
*) 0 ;
40775 int *arg3
= (int *) 0 ;
40779 PyObject
* obj0
= 0 ;
40780 PyObject
* obj1
= 0 ;
40781 char *kwnames
[] = {
40782 (char *) "self",(char *) "win", NULL
40785 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40793 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40795 wxPyEndAllowThreads(__tstate
);
40796 if (PyErr_Occurred()) SWIG_fail
;
40799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40801 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40802 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40809 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40810 PyObject
*resultobj
;
40811 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40813 PyObject
* obj0
= 0 ;
40814 char *kwnames
[] = {
40815 (char *) "self", NULL
40818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40823 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40825 wxPyEndAllowThreads(__tstate
);
40826 if (PyErr_Occurred()) SWIG_fail
;
40829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40837 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40840 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40842 return Py_BuildValue((char *)"");
40844 static PyMethodDef SwigMethods
[] = {
40845 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40846 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40847 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40850 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40857 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40871 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40875 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40879 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40884 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40887 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40899 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40905 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
40951 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40952 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
40979 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
40998 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
41000 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
41008 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41009 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41021 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41033 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41037 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41043 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41053 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41063 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41067 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41140 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41142 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41144 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41146 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41148 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41150 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41152 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41154 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41156 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41158 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41160 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41162 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41164 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41178 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41196 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41199 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41202 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41214 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41219 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41225 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41231 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41294 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41301 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41337 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41347 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41357 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41359 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41361 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41364 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41368 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41371 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41374 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41376 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41381 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41389 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41393 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41396 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41398 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41402 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41419 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41421 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41424 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41426 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41430 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41434 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41443 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41446 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41449 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41453 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41460 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41465 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41470 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41515 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
41533 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41540 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41544 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41554 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41723 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41763 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41777 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41780 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41835 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41862 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41892 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41900 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41917 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41918 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
41955 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
41985 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
41988 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
41992 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
41995 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
42005 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42017 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42027 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42037 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42040 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42041 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42042 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42044 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42046 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42048 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42051 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42058 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42059 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42060 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42061 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42062 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42067 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42071 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42073 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42075 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42094 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42096 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42097 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42102 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42103 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42106 { NULL
, NULL
, 0, NULL
}
42110 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42112 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42113 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42115 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42116 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42118 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42119 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42121 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42122 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42124 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42125 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42127 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42128 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42130 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42131 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42133 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42134 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42136 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42137 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42139 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42140 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42142 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42143 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42145 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42146 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42148 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42149 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42151 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42152 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42154 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42155 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42157 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42160 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42161 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42163 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42164 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42166 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42167 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42169 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42170 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42172 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42173 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42175 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42176 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42178 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42179 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42181 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42182 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42184 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42185 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42187 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42188 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42190 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42191 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42193 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42194 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42196 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42197 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42199 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42200 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42202 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42203 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42205 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42206 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42208 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42209 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42211 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42212 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42214 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42215 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42217 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42218 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42220 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42221 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42223 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42224 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42226 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42227 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42229 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42230 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42232 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42233 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42235 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42236 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42238 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42239 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42241 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42242 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42244 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42245 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42247 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42248 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42250 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42251 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42253 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42254 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42256 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42257 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42259 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42260 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42262 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42265 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42266 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42268 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42269 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42271 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42272 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42274 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42275 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42277 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42278 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42280 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42281 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42283 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42284 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42286 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42287 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42289 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42290 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42292 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42293 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42295 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42296 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42298 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42299 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42301 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42302 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42304 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42305 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42307 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42308 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42310 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42311 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42313 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42314 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42316 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42317 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42319 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42320 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42322 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42323 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42325 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42326 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42328 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42329 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42331 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42332 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42334 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42335 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42337 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42338 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42340 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42341 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42343 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42344 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42346 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42347 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42349 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42350 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42352 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42353 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42355 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42356 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42358 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42359 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42361 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42362 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42364 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42367 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42370 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42371 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42373 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42374 return (void *)((wxObject
*) ((wxSizer
*) x
));
42376 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42377 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42379 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42380 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42382 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42383 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42385 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42386 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42388 static void *_p_wxImageTo_p_wxObject(void *x
) {
42389 return (void *)((wxObject
*) ((wxImage
*) x
));
42391 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42394 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42395 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42397 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42398 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42400 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42403 static void *_p_wxControlTo_p_wxObject(void *x
) {
42404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42406 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42407 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42409 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42410 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42412 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42413 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42415 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42416 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42418 static void *_p_wxEventTo_p_wxObject(void *x
) {
42419 return (void *)((wxObject
*) ((wxEvent
*) x
));
42421 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42422 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42424 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42425 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42427 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42428 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42430 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42431 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42433 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42434 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42436 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42437 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42439 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42442 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42443 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42445 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42448 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42449 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42451 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42454 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42455 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42457 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42460 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42461 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42463 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42464 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42466 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42467 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42469 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42472 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42475 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42476 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42478 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42481 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42482 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42484 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42485 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42487 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42488 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42490 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42491 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42493 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42496 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42497 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42499 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42500 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42502 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42503 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42505 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42506 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42508 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42509 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42511 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42512 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42514 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42517 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42518 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42520 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42521 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42523 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42524 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42526 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42527 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42529 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42530 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42532 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42533 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42535 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42536 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42538 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42541 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42542 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42544 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42545 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42547 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42550 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42551 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42553 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42554 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42556 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42557 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42559 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42560 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42562 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42563 return (void *)((wxWindow
*) ((wxControl
*) x
));
42565 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42566 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42568 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42569 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42571 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42572 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42574 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42575 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42577 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42578 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42580 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42581 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42583 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42584 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42586 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42587 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42589 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42590 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42592 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42593 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42595 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42596 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42598 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}};
42599 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}};
42600 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}};
42601 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}};
42602 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}};
42603 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}};
42604 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}};
42605 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}};
42606 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}};
42607 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}};
42608 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}};
42609 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}};
42610 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}};
42611 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}};
42612 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}};
42613 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}};
42614 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}};
42615 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}};
42616 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}};
42617 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}};
42618 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}};
42619 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}};
42620 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}};
42621 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}};
42622 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}};
42623 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}};
42624 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}};
42625 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}};
42626 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}};
42627 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}};
42628 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}};
42629 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}};
42630 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}};
42631 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}};
42632 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}};
42633 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}};
42634 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}};
42635 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}};
42636 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}};
42637 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}};
42638 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}};
42639 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}};
42640 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}};
42641 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}};
42642 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}};
42643 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}};
42644 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}};
42645 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}};
42646 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}};
42647 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}};
42648 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}};
42649 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}};
42650 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}};
42651 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}};
42652 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}};
42653 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}};
42654 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}};
42655 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}};
42656 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}};
42657 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}};
42658 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}};
42659 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}};
42660 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}};
42661 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}};
42662 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}};
42663 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}};
42664 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}};
42665 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}};
42666 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}};
42667 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}};
42668 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}};
42669 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}};
42670 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}};
42671 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}};
42672 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}};
42673 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}};
42674 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}};
42675 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}};
42676 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}};
42677 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}};
42678 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}};
42679 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}};
42680 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}};
42681 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}};
42682 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}};
42683 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}};
42684 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}};
42685 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}};
42686 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}};
42687 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}};
42688 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}};
42689 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}};
42690 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}};
42691 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}};
42692 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}};
42693 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}};
42694 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}};
42695 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}};
42696 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}};
42697 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}};
42698 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}};
42699 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}};
42700 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}};
42701 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}};
42702 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}};
42703 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}};
42704 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}};
42705 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}};
42706 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}};
42707 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}};
42708 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}};
42709 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}};
42710 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}};
42711 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}};
42712 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}};
42713 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}};
42714 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}};
42716 static swig_type_info
*swig_types_initial
[] = {
42717 _swigt__p_wxLayoutConstraints
,
42718 _swigt__p_wxRealPoint
,
42719 _swigt__p_wxSizerItem
,
42720 _swigt__p_wxGBSizerItem
,
42721 _swigt__p_wxScrollEvent
,
42722 _swigt__p_wxEventLoop
,
42723 _swigt__p_wxIndividualLayoutConstraint
,
42725 _swigt__p_wxBoxSizer
,
42726 _swigt__p_wxStaticBoxSizer
,
42727 _swigt__p_wxGridBagSizer
,
42728 _swigt__p_wxAcceleratorEntry
,
42729 _swigt__p_wxUpdateUIEvent
,
42732 _swigt__p_wxGridSizer
,
42733 _swigt__p_wxFlexGridSizer
,
42734 _swigt__p_wxInitDialogEvent
,
42735 _swigt__p_wxItemContainer
,
42736 _swigt__p_wxNcPaintEvent
,
42737 _swigt__p_wxPaintEvent
,
42738 _swigt__p_wxSysColourChangedEvent
,
42739 _swigt__p_wxMouseCaptureChangedEvent
,
42740 _swigt__p_wxDisplayChangedEvent
,
42741 _swigt__p_wxPaletteChangedEvent
,
42742 _swigt__p_wxControl
,
42744 _swigt__p_wxMenuBarBase
,
42745 _swigt__p_wxSetCursorEvent
,
42746 _swigt__p_wxFSFile
,
42748 _swigt__p_wxRegion
,
42749 _swigt__p_wxPoint2D
,
42753 _swigt__p_wxPySizer
,
42754 _swigt__p_wxVisualAttributes
,
42755 _swigt__p_wxNotifyEvent
,
42756 _swigt__p_wxPyEvent
,
42757 _swigt__p_wxPropagationDisabler
,
42758 _swigt__p_wxAppTraits
,
42759 _swigt__p_wxArrayString
,
42760 _swigt__p_wxShowEvent
,
42761 _swigt__p_wxToolTip
,
42762 _swigt__p_wxIconizeEvent
,
42763 _swigt__p_wxActivateEvent
,
42764 _swigt__p_wxMoveEvent
,
42765 _swigt__p_wxSizeEvent
,
42766 _swigt__p_wxMaximizeEvent
,
42767 _swigt__p_wxQueryNewPaletteEvent
,
42768 _swigt__p_wxWindowCreateEvent
,
42769 _swigt__p_wxIdleEvent
,
42770 _swigt__p_wxMenuItem
,
42771 _swigt__p_wxStaticBox
,
42773 _swigt__p_wxTIFFHandler
,
42774 _swigt__p_wxXPMHandler
,
42775 _swigt__p_wxPNMHandler
,
42776 _swigt__p_wxJPEGHandler
,
42777 _swigt__p_wxPCXHandler
,
42778 _swigt__p_wxGIFHandler
,
42779 _swigt__p_wxPNGHandler
,
42780 _swigt__p_wxANIHandler
,
42781 _swigt__p_wxMemoryFSHandler
,
42782 _swigt__p_wxEvtHandler
,
42783 _swigt__p_wxCURHandler
,
42784 _swigt__p_wxICOHandler
,
42785 _swigt__p_wxBMPHandler
,
42786 _swigt__p_wxImageHandler
,
42787 _swigt__p_wxFileSystemHandler
,
42788 _swigt__p_wxPyFileSystemHandler
,
42789 _swigt__p_wxInternetFSHandler
,
42790 _swigt__p_wxZipFSHandler
,
42792 _swigt__p_wxGBSpan
,
42793 _swigt__p_wxPropagateOnce
,
42794 _swigt__p_wxAcceleratorTable
,
42796 _swigt__p_wxGBPosition
,
42799 _swigt__p_wxScrollWinEvent
,
42800 _swigt__p_wxImageHistogram
,
42803 _swigt__p_wxCursor
,
42804 _swigt__p_wxObject
,
42805 _swigt__p_wxPyInputStream
,
42806 _swigt__p_wxOutputStream
,
42807 _swigt__p_wxInputStream
,
42808 _swigt__p_wxDateTime
,
42809 _swigt__p_wxKeyEvent
,
42810 _swigt__p_wxNavigationKeyEvent
,
42811 _swigt__p_wxWindowDestroyEvent
,
42812 _swigt__p_wxWindow
,
42813 _swigt__p_wxMenuBar
,
42814 _swigt__p_wxFileSystem
,
42815 _swigt__p_wxBitmap
,
42816 _swigt__p_wxMenuEvent
,
42817 _swigt__p_wxContextMenuEvent
,
42818 _swigt__p_unsigned_char
,
42819 _swigt__p_wxCloseEvent
,
42820 _swigt__p_wxEraseEvent
,
42821 _swigt__p_wxMouseEvent
,
42823 _swigt__p_wxCommandEvent
,
42824 _swigt__p_wxPyCommandEvent
,
42825 _swigt__p_wxPyDropTarget
,
42826 _swigt__p_wxQuantize
,
42827 _swigt__p_wxChildFocusEvent
,
42828 _swigt__p_wxFocusEvent
,
42829 _swigt__p_wxDropFilesEvent
,
42830 _swigt__p_wxControlWithItems
,
42831 _swigt__p_wxColour
,
42832 _swigt__p_wxValidator
,
42833 _swigt__p_wxPyValidator
,
42838 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42840 static swig_const_info swig_const_table
[] = {
42841 {0, 0, 0, 0.0, 0, 0}};
42850 SWIGEXPORT(void) SWIG_init(void) {
42851 static PyObject
*SWIG_globals
= 0;
42852 static int typeinit
= 0;
42855 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42856 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42857 d
= PyModule_GetDict(m
);
42860 for (i
= 0; swig_types_initial
[i
]; i
++) {
42861 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42865 SWIG_InstallConstants(d
,swig_const_table
);
42868 #ifndef wxPyUSE_EXPORT
42869 // Make our API structure a CObject so other modules can import it
42870 // from this module.
42871 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42872 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42876 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42877 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42878 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42879 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42880 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42881 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42882 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42883 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42884 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42885 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42886 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42887 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42888 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42889 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42890 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42891 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42892 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42893 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42894 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42895 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42896 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42897 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42898 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42899 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42900 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42901 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42902 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42903 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42904 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42905 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42906 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42907 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42908 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42909 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42910 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42911 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42912 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42913 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42914 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42915 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42916 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42917 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42918 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42919 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42920 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42921 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42922 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42923 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42924 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42925 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42926 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42927 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42928 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42929 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42930 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42931 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42932 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42933 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42934 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42935 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42936 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42937 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42938 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42939 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42940 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42941 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42942 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42943 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
42944 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
42945 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
42946 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
42947 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
42948 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
42949 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
42950 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
42951 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
42952 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
42953 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
42954 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
42955 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
42956 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
42957 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
42958 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
42959 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
42960 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
42961 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
42962 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
42963 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
42964 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
42965 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
42966 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
42967 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
42968 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
42969 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
42970 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
42971 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
42972 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
42973 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
42974 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
42975 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
42976 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
42977 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
42978 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
42979 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
42980 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
42981 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
42982 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
42983 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
42984 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
42985 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
42986 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
42987 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
42988 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
42989 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
42990 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
42991 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
42992 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
42993 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
42994 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
42995 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
42996 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
42997 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
42998 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
42999 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
43000 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
43001 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
43002 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
43003 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
43004 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
43005 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
43006 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
43007 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
43008 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
43009 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
43010 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
43011 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
43012 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
43013 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43014 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43015 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43016 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43017 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43018 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43019 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43020 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43021 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43022 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43023 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43024 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43025 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43026 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43027 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43028 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43029 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43030 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43031 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43032 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43033 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43034 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43035 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43036 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43037 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43038 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43039 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43040 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43041 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43042 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43043 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43044 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43045 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43046 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43047 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43048 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43049 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43050 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43051 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43052 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43053 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43054 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43055 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43056 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43057 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43058 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43059 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43060 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43061 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43062 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43063 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43064 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43065 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43066 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43067 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43068 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43069 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43070 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43071 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43072 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43073 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43074 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43075 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43076 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43077 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43078 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43079 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43080 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43081 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43082 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43083 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43084 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43085 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43086 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43087 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43088 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43089 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43090 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43091 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43092 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43093 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43094 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43095 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43096 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43097 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43098 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43099 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43100 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43101 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43102 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43103 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43104 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43105 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43106 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43107 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43108 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43109 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43110 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43111 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43112 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43113 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43114 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43115 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43116 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43117 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43118 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43119 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43120 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43121 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43122 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43123 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43124 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43125 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43126 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43127 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43128 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43129 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43130 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43131 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43132 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43133 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43134 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43135 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43136 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43137 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43138 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43139 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43140 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43141 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43142 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43143 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43144 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43145 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43146 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43147 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43148 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43149 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43150 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43151 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43152 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43153 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43154 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43155 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43156 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43157 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43158 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43159 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43160 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43161 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43162 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43163 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43164 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43165 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43166 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43167 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43168 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43169 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43170 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43171 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43172 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43173 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43174 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43175 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43176 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43177 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43178 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43179 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43180 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43181 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43182 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43183 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43184 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43185 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43186 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43187 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43188 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43189 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43190 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43191 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43192 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43193 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43194 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43195 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43196 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43197 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43198 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43199 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43200 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43201 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43202 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43203 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43204 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43205 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43206 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43207 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43208 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43209 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43210 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43211 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43212 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43213 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43214 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43215 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43216 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43217 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43218 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43219 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43220 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43221 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43222 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43223 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43224 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43225 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43226 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43227 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43228 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43229 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43230 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43231 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43232 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43233 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43234 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43235 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43236 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43237 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43238 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43239 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43240 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43241 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43242 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43243 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43244 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43245 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43246 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43247 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43248 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43249 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43250 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43251 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43252 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43253 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43254 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43255 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43256 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43257 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43258 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43259 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43260 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43261 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43262 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43263 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43264 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43265 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43266 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43267 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43268 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43269 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43270 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43271 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43272 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43273 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43274 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43275 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43276 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43277 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43278 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43279 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43280 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43281 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43282 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43283 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43284 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43285 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43286 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43287 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43288 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43289 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43290 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43291 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43292 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43293 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43294 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43295 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43296 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43297 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43298 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43299 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43300 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43301 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43302 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43303 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43304 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43305 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43306 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43307 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43308 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43309 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43310 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43311 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43312 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43313 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43314 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43315 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43316 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43317 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43318 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43319 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43320 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43321 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43322 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43323 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43324 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43325 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43326 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43327 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43328 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43329 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43330 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43331 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43332 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43333 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43334 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43335 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43336 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43337 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43338 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43339 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43340 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43341 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43342 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43343 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43344 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43345 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43346 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43347 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43348 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43349 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43350 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43351 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43352 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43353 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43354 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43355 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43356 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43357 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43358 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43359 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43360 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43361 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43362 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43363 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43364 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43365 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43366 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43367 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43368 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43369 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43370 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43371 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43372 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43373 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43374 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43375 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43376 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43377 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43378 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43379 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43380 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43381 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43382 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43383 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43384 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43385 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43386 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43387 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43388 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43389 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43390 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43391 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43392 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43393 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43394 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43395 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43396 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43397 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43398 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43399 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43400 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43401 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43402 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43403 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43404 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43405 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43406 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43407 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43408 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43409 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43410 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43411 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43412 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43413 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43414 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43415 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43416 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43417 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43418 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43419 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43420 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43421 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43422 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43423 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43424 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43425 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43426 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43427 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43428 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43429 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43430 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43431 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43432 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43433 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43434 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43435 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43436 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43437 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43438 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43439 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43440 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43441 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43442 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43443 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43444 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43445 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43446 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43447 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43448 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43449 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43450 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43451 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43452 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43453 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43454 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43455 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43456 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43457 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43458 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43459 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43460 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43461 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43462 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43463 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43464 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43465 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43466 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43467 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43468 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43469 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43470 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43471 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43472 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43473 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43474 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43476 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43479 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43481 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43482 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43483 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43484 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43485 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43486 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43487 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43488 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43489 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43490 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43491 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43492 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43493 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43494 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43495 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43496 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43497 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43498 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43499 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43500 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43501 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43502 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43503 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43504 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43505 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43506 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43507 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43508 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43509 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43510 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43511 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43512 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43513 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43514 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43515 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43516 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43517 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43518 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43519 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43520 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43521 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43522 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43523 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43524 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43525 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43526 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43527 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43528 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43529 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43530 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43531 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43532 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43533 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43534 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43535 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43536 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43537 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43538 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43539 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43540 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43541 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43542 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43543 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43544 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43545 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43546 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43547 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43548 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43549 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43550 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43551 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43552 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43553 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43554 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43555 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43556 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43557 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43558 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43559 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43560 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43561 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43562 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43563 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43564 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43565 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43566 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43567 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43568 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43569 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43570 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43571 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43572 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43573 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43574 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43575 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43576 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43577 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43578 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43579 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43580 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43581 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43582 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43583 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43584 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43585 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43586 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43587 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43588 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43589 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43590 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43591 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43592 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43593 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43594 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43595 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43596 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43597 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43598 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43599 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43600 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43601 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43602 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43603 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43604 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43605 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43606 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43607 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43608 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43609 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43610 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43611 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43612 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43613 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43614 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43615 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43616 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43617 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43618 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43619 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43620 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43621 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43622 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43623 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43624 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43625 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43626 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43627 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43628 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43629 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43630 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43631 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43632 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43633 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43634 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43635 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43636 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43637 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43638 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43639 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43640 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43641 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43642 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43643 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43644 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43645 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43646 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43647 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43648 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43649 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43650 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43651 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43652 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43653 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43654 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43655 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43656 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43657 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43658 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43659 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43660 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43661 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43662 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43663 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43664 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43665 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43667 // Initialize threading, some globals and such
43671 // Although these are defined in __version__ they need to be here too so
43672 // that an assert can be done to ensure that the wxPython and the wxWindows
43674 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43675 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43676 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));